Commit d2bd1d36 authored by Olivier Lagrasse's avatar Olivier Lagrasse

Taille fleches et evenements + fleche en blanc

parent 40531fd7
...@@ -534,9 +534,9 @@ inline void Render_area::draw_stored_arrows(std::vector<Arrow_> &arrows){ ...@@ -534,9 +534,9 @@ inline void Render_area::draw_stored_arrows(std::vector<Arrow_> &arrows){
glBegin(GL_TRIANGLES);/* create an arrow */ glBegin(GL_TRIANGLES);/* create an arrow */
{ {
glColor3d(1.0, 0.7, 0.7);glVertex2d(0.5, 0.0); glColor3d(1.0, 1.0, 1.0);glVertex2d(0.4, 0.0);
glColor3d(0.9, 0.6, 0.6);glVertex2d(-0.5, -0.5); glColor3d(0.9, 0.9, 0.9);glVertex2d(-0.4, -0.4);
glColor3d(0.9, 0.6, 0.6);glVertex2d(-0.5, 0.5); glColor3d(0.9, 0.9, 0.9);glVertex2d(-0.4, 0.4);
} }
glEnd(); glEnd();
...@@ -545,11 +545,11 @@ inline void Render_area::draw_stored_arrows(std::vector<Arrow_> &arrows){ ...@@ -545,11 +545,11 @@ inline void Render_area::draw_stored_arrows(std::vector<Arrow_> &arrows){
glPushMatrix(); glPushMatrix();
glTranslated(0, 0, _z_arrow); glTranslated(0, 0, _z_arrow);
glLineWidth(2.5f); glLineWidth(1.5f);
glBegin(GL_LINES); glBegin(GL_LINES);
{ {
glColor3d(1.0, 0.7, 0.7);glVertex2d(start_time, start_height); glColor3d(1.0, 1.0, 1.0);glVertex2d(start_time, start_height);
glColor3d(0.9, 0.6, 0.6);glVertex2d(end_time, end_height); glColor3d(0.9, 0.9, 0.9);glVertex2d(end_time, end_height);
} }
glEnd(); glEnd();
glLineWidth(1.0f);/* 1 is the default value */ glLineWidth(1.0f);/* 1 is the default value */
...@@ -607,7 +607,7 @@ inline void Render_area::draw_stored_events(std::vector<Event_> &events){ ...@@ -607,7 +607,7 @@ inline void Render_area::draw_stored_events(std::vector<Event_> &events){
/* draw a circle */ /* draw a circle */
radius = 2.0f; radius = 1.0f;
angle = PI/2.0f; angle = PI/2.0f;
step = 20;/* 20 polygons for the circle */ step = 20;/* 20 polygons for the circle */
...@@ -625,7 +625,7 @@ inline void Render_area::draw_stored_events(std::vector<Event_> &events){ ...@@ -625,7 +625,7 @@ inline void Render_area::draw_stored_events(std::vector<Event_> &events){
glEnd(); glEnd();
/* draw line */ /* draw line */
glLineWidth(2.5f); glLineWidth(1.5f);
glBegin(GL_LINES); glBegin(GL_LINES);
{ {
......
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