diff options
author | Ton Roosendaal <ton@blender.org> | 2003-10-10 21:29:01 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-10-10 21:29:01 +0400 |
commit | 0d03929b9b2cb05936a62e84fecfff18fca2fa7b (patch) | |
tree | 921c8ec7c8e451538b10a00037cf550bfcd5f6d4 /source/blender/include/BIF_interface.h | |
parent | 952cd8260eb20f42c3c23306c89b2eb68f5a112f (diff) |
Another huge commit!!!
First, check on the new files, which are listed below.
The new butspace.h is a local include, only to be used for the buttons
drawn in the buttonswindow.
- editbuts, animbuts, gamebuts, displaybuts, paintbuts, work now
- i quite completely reorganized it, it's now nicely telling you what
context it is in
- sorting error in panel align fixed (tabs were flipping)
- align works correctly automatic when you click around in Blender
- editsca.c renamed to buttons_logic.h
- button names are truncated from the right for allmost all buttons
(except text buttons and number buttons)
- while dragging panels, you cannot move them outside window anymore
And of course fixed loads of little bugs I encountered while testing
it all. This is a version I really need good test & feedback for.
Next step: restoring material/lamp/texture/world
Diffstat (limited to 'source/blender/include/BIF_interface.h')
-rw-r--r-- | source/blender/include/BIF_interface.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/include/BIF_interface.h b/source/blender/include/BIF_interface.h index c8471a5c01f..578ee41020e 100644 --- a/source/blender/include/BIF_interface.h +++ b/source/blender/include/BIF_interface.h @@ -141,11 +141,14 @@ short pupmenu(char *instr); short pupmenu_col(char *instr, int maxrow); extern void uiFreePanels(struct ListBase *lb); -extern void uiNewPanel(struct ScrArea *sa, struct uiBlock *block, char *panelname, char *tabname, int ofsx, int ofsy, int sizex, int sizey); +extern int uiNewPanel(struct ScrArea *sa, struct uiBlock *block, char *panelname, char *tabname, int ofsx, int ofsy, int sizex, int sizey); extern void uiScalePanelBlock(struct uiBlock *block); extern int uiIsPanelClosed(struct uiBlock *block); extern void uiAnimatePanels(struct ScrArea *sa); extern void uiSetPanel_view2d(struct ScrArea *sa); +extern void uiDrawBlocksPanels(struct ScrArea *sa, int re_align); +extern void uiNewPanelHeight(struct uiBlock *block, int sizey); + #endif /* BIF_INTERFACE_H */ |