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_filesel.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_filesel.c')
-rw-r--r-- | source/blender/src/header_filesel.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/source/blender/src/header_filesel.c b/source/blender/src/header_filesel.c index 13598d46a8b..abef906a1e4 100644 --- a/source/blender/src/header_filesel.c +++ b/source/blender/src/header_filesel.c @@ -109,12 +109,16 @@ void file_buttons(void) uiBlockSetCol(block, BUTGREY); curarea->butspacetype= SPACE_FILE; - 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)"); /* SORT TYPE */ xco+=XIC; |