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-10-16 04:17:24 +0400
committerTon Roosendaal <ton@blender.org>2003-10-16 04:17:24 +0400
commitc7618783fbfd7636adbd8df14ddc0feb563fa58e (patch)
treef0db4365d529fdecec5d44ece8f60c85edcd4cca /source/blender/include/BIF_interface.h
parentd518ca6bc60e99aa556ba2810a46a023752954d6 (diff)
- further work on view3d panels:
- you can close them (x icon) or press ESC - option to open panel at mouse location (try Nkey) - using 'collapse' (triangle icon) stows header in bottom - opening again restores at old location - dragging panels or zooming clips nicely with window evaluate: an 'auto close' when mouse goes outside panel Warning: vertex selecting still broken! :) It's 2 am now, bedtime...
Diffstat (limited to 'source/blender/include/BIF_interface.h')
-rw-r--r--source/blender/include/BIF_interface.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/source/blender/include/BIF_interface.h b/source/blender/include/BIF_interface.h
index 3d85a56ce43..77cdcaec9a7 100644
--- a/source/blender/include/BIF_interface.h
+++ b/source/blender/include/BIF_interface.h
@@ -82,9 +82,13 @@ struct ScrArea;
#define UI_HELV 0
#define UI_HELVB 1
-/* panel style */
-#define UI_PNL_TRANSP 0
-#define UI_PNL_SOLID 1
+/* panel controls */
+#define UI_PNL_TRANSP 1
+#define UI_PNL_SOLID 2
+
+#define UI_PNL_CLOSE 32
+#define UI_PNL_STOW 64
+#define UI_PNL_TO_MOUSE 128
/* definitions for icons (and their alignment) in buttons */
@@ -251,8 +255,8 @@ void uiPanelPush(uiBlock *block);
void uiPanelPop(uiBlock *block);
extern uiBlock *uiFindOpenPanelBlockName(ListBase *lb, char *name);
extern int uiAlignPanelStep(struct ScrArea *sa, float fac);
-extern void uiSetPanelStyle(int);
-
+extern void uiPanelControl(int);
+extern void uiSetPanelHandler(int);
#endif /* BIF_INTERFACE_H */