Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_image/image_draw.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/editors/space_image/image_draw.c b/source/blender/editors/space_image/image_draw.c
index e91a44e0358..46de1254f41 100644
--- a/source/blender/editors/space_image/image_draw.c
+++ b/source/blender/editors/space_image/image_draw.c
@@ -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);