Commit f98f2815 authored by Pascal Noisette's avatar Pascal Noisette

regle_interface

parent 11507c6d
......@@ -127,7 +127,10 @@ class Render
* \brief Set Statistics and Informations about input trace
*/
virtual void set_total_time(Times t) = 0;
/*!
* \brief display the scale
*/
virtual void display_time_scale() = 0;
};
......
......@@ -702,3 +702,4 @@ void Render_area::create_rule(){
void Render_area::set_total_width(Element_pos w){}
void Render_area::set_total_time(Times t){}
void Render_area::display_time_scale(){}
......@@ -550,7 +550,10 @@ class Render_area : public QGLWidget, public Render
* \brief Set Statistics and Informations about input trace
*/
void set_total_time(Times t);
/*!
* \brief display the scale
*/
void display_time_scale();
};
......
......@@ -132,14 +132,17 @@ private:
inline void print();
void display_time_scale();
inline void rectangle(const char* name,Element_pos w, Element_pos h,Element_pos x1,Element_pos y1, unsigned int r, unsigned int g, unsigned int b );
inline void line(const char* name, Element_pos x1, Element_pos y1, Element_pos x2, Element_pos y2);
inline void triangle(const char* name,Element_pos x1,Element_pos y1,Element_pos x2,Element_pos y2, Element_pos x3,Element_pos y3);
public:
/*!
* \brief display the scale
*/
void display_time_scale();
/*!
* \brief Set Statistics and Informations about input trace
*/
......@@ -148,7 +151,7 @@ public:
/*!
* \brief Set Statistics and Informations about input trace
*/
void set_total_time(Element_pos x1);
void set_total_time(Times t);
/*!
* \brief SVG header buiding
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment