From ebf01d44ee0e034da169efc0aca81f99966ebde6 Mon Sep 17 00:00:00 2001 From: mano-wii Date: Fri, 19 Jan 2018 17:14:27 +1100 Subject: WM: window draw callbacks and split preview snap This moves window overlay from hard coded flags into drawing callbacks. It also supports snapping (holding Ctrl). --- source/blender/makesdna/DNA_windowmanager_types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/makesdna/DNA_windowmanager_types.h') diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h index 16116036e86..06185a583bb 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -220,6 +220,9 @@ typedef struct wmWindow { ListBase gesture; /* gesture stuff */ struct Stereo3dFormat *stereo3d_format; /* properties for stereoscopic displays */ + + /* custom drawing callbacks */ + ListBase drawcalls; } wmWindow; #ifdef ime_data -- cgit v1.2.3