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/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/interface.h')
-rw-r--r--source/blender/include/interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/include/interface.h b/source/blender/include/interface.h
index 0a277299f8c..b9cbbbc5332 100644
--- a/source/blender/include/interface.h
+++ b/source/blender/include/interface.h
@@ -189,11 +189,15 @@ struct uiBlock {
float xofs, yofs; // offset to parent button
rctf parentrct; // for pulldowns, rect the mouse is allowed outside of menu (parent button)
+
+ int handler; // for panels in other windows than buttonswin... just event code
};
/* interface.c */
extern void ui_check_but(uiBut *but);
extern void ui_autofill(uiBlock *block);
+extern void ui_graphics_to_window(int win, float *x, float *y);
+extern void ui_window_to_graphics(int win, float *x, float *y);
/* interface_panel.c */
extern void ui_draw_panel(uiBlock *block);