minor improvement to image info color sample drawing, draw a grey outline.
This commit is contained in:
@@ -265,6 +265,16 @@ void ED_image_draw_info(ARegion *ar, int color_manage, int channels, int x, int
|
||||
glVertex2f(dx+30, 17);
|
||||
glVertex2f(dx+30, 3);
|
||||
glEnd();
|
||||
|
||||
/* draw outline */
|
||||
glColor3ub(128, 128, 128);
|
||||
glBegin(GL_LINE_LOOP);
|
||||
glVertex2f(dx, 3);
|
||||
glVertex2f(dx, 17);
|
||||
glVertex2f(dx+30, 17);
|
||||
glVertex2f(dx+30, 3);
|
||||
glEnd();
|
||||
|
||||
dx += 35;
|
||||
|
||||
glColor3ub(255, 255, 255);
|
||||
|
||||
Reference in New Issue
Block a user