From c2c7bb6648e3727fa24ac58d540c5bd146d02c4f Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Wed, 15 Oct 2003 13:47:15 +0000 Subject: - 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 --- source/blender/src/header_oops.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'source/blender/src/header_oops.c') diff --git a/source/blender/src/header_oops.c b/source/blender/src/header_oops.c index 79f2e238c87..80b9f7d5ce8 100644 --- a/source/blender/src/header_oops.c +++ b/source/blender/src/header_oops.c @@ -117,12 +117,15 @@ void oops_buttons(void) curarea->butspacetype= SPACE_OOPS; - 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, (short)(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)"); /* HOME */ uiDefIconBut(block, BUT, B_OOPSHOME, ICON_HOME, (short)(xco+=XIC),0,XIC,YIC, 0, 0, 0, 0, 0, "Zooms window to home view showing all items (HOMEKEY)"); -- cgit v1.2.3