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>2008-11-17 21:54:03 +0300
committerTon Roosendaal <ton@blender.org>2008-11-17 21:54:03 +0300
commit8c84a4338597b8b17bca5b1ffbe819f6d71fbf83 (patch)
tree94939c5adcfde1f3e32e661db892a9ca48520e3e /source/blender/editors/screen/screen_intern.h
parent623421d580277f6e1f5404c019d4f807cf1645e9 (diff)
2.5 getting-back-into-coding commit :)
- cleaned up join and split operations. Most noticable is operator callback design, which should make a design based on user-less exec() first, then wrap invoke() and modal() around it. The exec() should be callable with only Context and properties. - split now works again; and inversed as previously, if you drag from a triangle (action zone) inside area it subdivides area as expected. - dragging from triangle outside area, over an edge, joins areas - split has been simplified, it had too many options... it could just work simpler (now) - 'action zone' now is an operator itself, a widget sending an ACTIONZONE event, which can be handled by others (so other gestures can be added in action zone too) Still evaluating: - context gets set where? - code structure confuses... what are proper functions for operators? - what is WM... should low level screen stuff more there? - when do you send event, notifier? - files grow to large, will clean Oh yeah and docs, docs, docs. Coming! :)
Diffstat (limited to 'source/blender/editors/screen/screen_intern.h')
-rw-r--r--source/blender/editors/screen/screen_intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/screen/screen_intern.h b/source/blender/editors/screen/screen_intern.h
index bf44e3c4a01..8f9a9877c89 100644
--- a/source/blender/editors/screen/screen_intern.h
+++ b/source/blender/editors/screen/screen_intern.h
@@ -42,6 +42,7 @@ int area_cursor_test(bContext *C, wmOperator *op, wmEvent *event);
void ED_SCR_OT_move_areas(wmOperatorType *ot);
void ED_SCR_OT_split_area(wmOperatorType *ot);
void ED_SCR_OT_join_areas(wmOperatorType *ot);
+void ED_SCR_OT_actionzone(wmOperatorType *ot);
#endif /* ED_SCREEN_INTERN_H */