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:
authorTon Roosendaal <ton@blender.org>2003-11-14 18:49:26 +0300
committerTon Roosendaal <ton@blender.org>2003-11-14 18:49:26 +0300
commitd8f860509835710187dd3d17e1fbc574b8d16295 (patch)
tree32921cf1e88bc247f5ac0f410715910c93104d72 /source/blender/include/BIF_interface.h
parent4d1b1545f2e8da3070812b43936a7f44e9c332a0 (diff)
- Bug fix: at osx, default AA font couldnt be written in .b.blend
(unless you manually install font) - Bug fix: string for AA font was only 64 chars... made 256. - Changed API for buttons aligning... it now detects automatic what rows are, or collums, and aligns buttons. This makes call easier: uiBlockBeginAlign(block); ... defBut.... uiBlockEndAlign(block); Only works when you provide buttons in row order! - made sure only 'rounded' theme uses this align stuff - still work in progress.. I commit now because I leave to denmark for 2 days! http://www.blender.org/bf/rt.jpg <- now also groups with rows+collums
Diffstat (limited to 'source/blender/include/BIF_interface.h')
-rw-r--r--source/blender/include/BIF_interface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/include/BIF_interface.h b/source/blender/include/BIF_interface.h
index 3340aec5c4a..e2a2517f144 100644
--- a/source/blender/include/BIF_interface.h
+++ b/source/blender/include/BIF_interface.h
@@ -175,7 +175,8 @@ void uiFreeBlocksWin(struct ListBase *lb, int win);
uiBlock *uiNewBlock(struct ListBase *lb, char *name, short dt, short font, short win);
uiBlock *uiGetBlock(char *name, struct ScrArea *sa);
-void uiBlockBeginAlign(uiBlock *block, char dir);
+/* automatic aligning, horiz or verical */
+void uiBlockBeginAlign(uiBlock *block);
void uiBlockEndAlign(uiBlock *block);
uiBut *uiDefBut(uiBlock *block,