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
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2004-04-05 16:42:23 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2004-04-05 16:42:23 +0400
commitbce11908741eae71725549db740fa445e29c1952 (patch)
treefe18dd262a4d0679727ff168adffe1a17abe576f /source/blender/src/drawimage.c
parentbcb7e33813e0ff76c7744ed80b0a6ae53c518e8f (diff)
New icons for the sticky / face select state in the UV editor / Image Window.
The png file containing the icons, 'blenderbuttons', was updated to contain these new icons. It now also contains the icons from the 2.30 ui makeover. The file had not been updated since then.
Diffstat (limited to 'source/blender/src/drawimage.c')
-rw-r--r--source/blender/src/drawimage.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/source/blender/src/drawimage.c b/source/blender/src/drawimage.c
index c7dfa62d614..a2702d40a72 100644
--- a/source/blender/src/drawimage.c
+++ b/source/blender/src/drawimage.c
@@ -543,16 +543,18 @@ static void draw_image_view_icon(void)
glRasterPos2f(5.0, 5.0);
- if(G.sima->flag & SI_STICKYUVS || G.sima->flag & SI_LOCALSTICKY)
- BIF_draw_icon(ICON_A_WACKY_VERT_AND_SOME_LINES);
- else
- BIF_draw_icon(ICON_SOME_WACKY_VERTS_AND_LINES);
-
- glRasterPos2f(25.0, 5.0);
- if(G.sima->flag & SI_SELACTFACE)
- BIF_draw_icon(ICON_CLIPUV_HLT);
- else
- BIF_draw_icon(ICON_CLIPUV_DEHLT);
+ if(G.sima->flag & SI_STICKYUVS) {
+ BIF_draw_icon(ICON_STICKY2_UVS);
+ glRasterPos2f(25.0, 5.0);
+ }
+ else if(G.sima->flag & SI_LOCALSTICKY) {
+ BIF_draw_icon(ICON_STICKY_UVS);
+ glRasterPos2f(25.0, 5.0);
+ }
+
+ if(G.sima->flag & SI_SELACTFACE) {
+ BIF_draw_icon(ICON_DRAW_UVFACES);
+ }
glBlendFunc(GL_ONE, GL_ZERO);
glDisable(GL_BLEND);