diff options
author | Matt Ebb <matt@mke3.net> | 2003-10-15 17:47:15 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2003-10-15 17:47:15 +0400 |
commit | c2c7bb6648e3727fa24ac58d540c5bd146d02c4f (patch) | |
tree | 46d2aacfb28269c99a782bf2d35801927f831235 /source/blender/src/header_text.c | |
parent | 3bf09a5447b755bbb5e2a71ca108f2f16625ce7a (diff) |
- Modified drawing of ICONROW controls to be clearer,
more consistent and logical. (ICONROWs haven't
scrolled left/right in years!
More detailed tweaking of headerbuttons positions can come when
more menus are finished
- added text labels to the drawtype menu in 3d view header
Diffstat (limited to 'source/blender/src/header_text.c')
-rw-r--r-- | source/blender/src/header_text.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source/blender/src/header_text.c b/source/blender/src/header_text.c index 0c77bde5777..33833534d55 100644 --- a/source/blender/src/header_text.c +++ b/source/blender/src/header_text.c @@ -198,12 +198,15 @@ void text_buttons(void) curarea->butspacetype= SPACE_TEXT; - uiDefIconTextButC(block, ICONTEXTROW,B_NEWSPACE, ICON_VIEW3D, windowtype_pup(), 6,0,XIC,YIC, &(curarea->butspacetype), 1.0, SPACEICONMAX, 0, 0, "Displays Current Window Type. Click for menu of available types."); + xco = 8; + + uiDefIconTextButC(block, ICONTEXTROW,B_NEWSPACE, ICON_VIEW3D, windowtype_pup(), xco,0,XIC+10,YIC, &(curarea->butspacetype), 1.0, SPACEICONMAX, 0, 0, "Displays Current Window Type. Click for menu of available types."); + xco+= XIC+22; + /* FULL WINDOW */ - xco= 25; - if(curarea->full) uiDefIconBut(block, BUT,B_FULL, ICON_SPLITSCREEN, xco+=XIC,0,XIC,YIC, 0, 0, 0, 0, 0, "Returns to multiple views window (CTRL+Up arrow)"); - else uiDefIconBut(block, BUT,B_FULL, ICON_FULLSCREEN, xco+=XIC,0,XIC,YIC, 0, 0, 0, 0, 0, "Makes current window full screen (CTRL+Down arrow)"); + if(curarea->full) uiDefIconBut(block, BUT,B_FULL, ICON_SPLITSCREEN, xco,0,XIC,YIC, 0, 0, 0, 0, 0, "Returns to multiple views window (CTRL+Up arrow)"); + else uiDefIconBut(block, BUT,B_FULL, ICON_FULLSCREEN, xco,0,XIC,YIC, 0, 0, 0, 0, 0, "Makes current window full screen (CTRL+Down arrow)"); if(st->showlinenrs) uiDefIconBut(block, BUT, B_TEXTLINENUM, ICON_SHORTDISPLAY, xco+=XIC,0,XIC,YIC, 0, 0, 0, 0, 0, "Hides line numbers"); |