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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-12-23 05:07:13 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-12-23 05:07:13 +0300
commit76c035bd11ac6dc07796566aa2ebce9acf799d68 (patch)
treeef5a60d6e43e33850b190e3d47af2fcd5918c9e8 /source/blender/editors/screen/screen_intern.h
parent8d6c2e6ec0adb0e9beeee7f49111962245a0c278 (diff)
2.5: Data Context
* Worked out data context implementation more, now with initial context callbacks implemented for the screen and 3d view. * For collections, switch from iterators to simpler ListBase. Though that still means it uses LinkData* rather than the actual Object* for example, since those can only be part of one list. So I added a macro as well to make iteration easier when possible. CTX_DATA_BEGIN(C, Object*, ob, selected_objects) { printf("object name: %s\n", ob->id.name); } CTX_DATA_END;
Diffstat (limited to 'source/blender/editors/screen/screen_intern.h')
-rw-r--r--source/blender/editors/screen/screen_intern.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/screen/screen_intern.h b/source/blender/editors/screen/screen_intern.h
index 3ccf3991236..a4da1e4813f 100644
--- a/source/blender/editors/screen/screen_intern.h
+++ b/source/blender/editors/screen/screen_intern.h
@@ -55,6 +55,9 @@ AZone *is_in_area_actionzone(ScrArea *sa, int x, int y);
void ed_screen_set(bContext *C, bScreen *sc);
void ed_screen_fullarea(bContext *C);
+/* screen_context.c */
+void ed_screen_context(const bContext *C, const bContextDataMember *member, bContextDataResult *result);
+
#endif /* ED_SCREEN_INTERN_H */