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:
authormano-wii <germano.costa@ig.com.br>2018-01-19 09:14:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-01-19 09:15:45 +0300
commitebf01d44ee0e034da169efc0aca81f99966ebde6 (patch)
treeb9b93e24af4c60ec8d296bc0c1590a20e5c08020 /source/blender/makesdna/DNA_windowmanager_types.h
parent7a24e0d175827824d139f7627de2a5af34d687fb (diff)
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).
Diffstat (limited to 'source/blender/makesdna/DNA_windowmanager_types.h')
-rw-r--r--source/blender/makesdna/DNA_windowmanager_types.h3
1 files changed, 3 insertions, 0 deletions
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