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:
authorCampbell Barton <ideasman42@gmail.com>2006-01-15 16:30:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2006-01-15 16:30:56 +0300
commit93904a476efad8d30f4d11265baa19cc4d159456 (patch)
tree597bde238ae639f8ae4684addbd1fd0fe3fc1ee5 /source/blender/src/header_ipo.c
parent6f3e5931052727358201e6648bd6011d99085414 (diff)
Aligned all remaining non-aligned header buttons, (was looking yuck with rounded theme, hope this doesn't mess you up Broken)
Aligned filesel buttons|text entry- looked arse also. Added tooltips for filesel text entry- "Type in dir to create" and "+/- increment" or somthing like that. - Cam
Diffstat (limited to 'source/blender/src/header_ipo.c')
-rw-r--r--source/blender/src/header_ipo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/src/header_ipo.c b/source/blender/src/header_ipo.c
index 90670d02094..8c2bfc302ac 100644
--- a/source/blender/src/header_ipo.c
+++ b/source/blender/src/header_ipo.c
@@ -1183,6 +1183,7 @@ void ipo_buttons(void)
/* COPY PASTE */
xco-= XIC/2;
+ uiBlockBeginAlign(block);
if(curarea->headertype==HEADERTOP) {
uiDefIconBut(block, BUT, B_IPOCOPY, ICON_COPYUP, xco+=XIC,0,XIC,YIC, 0, 0, 0, 0, 0, "Copies the selected curves to the buffer");
uiSetButLock(G.sipo->ipo && G.sipo->ipo->id.lib, "Can't edit library data");
@@ -1193,14 +1194,18 @@ void ipo_buttons(void)
uiSetButLock(G.sipo->ipo && G.sipo->ipo->id.lib, "Can't edit library data");
uiDefIconBut(block, BUT, B_IPOPASTE, ICON_PASTEDOWN, xco+=XIC,0,XIC,YIC, 0, 0, 0, 0, 0, "Pastes the curves from the buffer");
}
+ uiBlockEndAlign(block);
xco+=XIC/2;
uiClearButLock();
+
/* ZOOMBORDER */
+ uiBlockBeginAlign(block);
uiDefIconBut(block, BUT, B_IPOBORDER, ICON_BORDERMOVE, xco+=XIC,0,XIC,YIC, 0, 0, 0, 0, 0, "Zooms view to area");
/* draw LOCK */
uiDefIconButS(block, ICONTOG, 1, ICON_UNLOCKED, xco+=XIC,0,XIC,YIC, &(G.sipo->lock), 0, 0, 0, 0, "Toggles forced redraw of other windows to reflect changes in real time");
+ uiBlockEndAlign(block);
/* always do as last */
curarea->headbutlen= xco+2*XIC;