diff options
author | Ton Roosendaal <ton@blender.org> | 2003-11-14 18:49:26 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-11-14 18:49:26 +0300 |
commit | d8f860509835710187dd3d17e1fbc574b8d16295 (patch) | |
tree | 32921cf1e88bc247f5ac0f410715910c93104d72 /source/blender/include/BIF_interface.h | |
parent | 4d1b1545f2e8da3070812b43936a7f44e9c332a0 (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.h | 3 |
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, |