diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-04 20:45:54 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-04 20:45:54 +0300 |
commit | 3aeb63cad2340d92c17df375bbe55629299661c0 (patch) | |
tree | 026caa458a44d8c6478040faa1568647c2fff7af /source/blender/makesdna/DNA_screen_types.h | |
parent | f7cb86df3a9ceccc4d649e42735732a608169157 (diff) |
2.5
WM: added area-listener, which can be used to tag refreshes for
either the drawing call, or use the new ED_area_tag_refresh()
function which will automatically call, after all notifiers
were handled, an the spacetype->refresh() you provided.
Added for Joshua, after reviewing Action/Dopesheet requirements.
Joshua: I've made two dummy functions in space_action.c:
- action_listener()
- action_refresh()
Wich now does a printf on activating a new object.
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index 9de835da9f1..353bacf7a43 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -106,7 +106,8 @@ typedef struct ScrArea { short winx, winy; /* size */ short headertype; /* OLD! 0=no header, 1= down, 2= up */ - int pad; + short pad; + short do_refresh; /* private, for spacetype refresh callback */ short cursor, flag; ScriptLink scriptlink; @@ -134,7 +135,7 @@ typedef struct ARegion { float fsize; /* current split size in float */ - short do_draw; /* cached notifier events */ + short do_draw; /* private, cached notifier events */ short pad; int pad1; |