diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-17 09:34:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-18 07:10:07 +0300 |
commit | 506d8448cc006a0c1c51947999a50addbfedcb15 (patch) | |
tree | bec2390fcca2b7914ea2a5b022685e9248e6b3da /source/blender/windowmanager/WM_api.h | |
parent | db8ca0f17a9d9f44c63c76c79925019a2d5e1a00 (diff) |
WM: app-template command line override
Without this, there was no simple way to have
launchers for different app-templates.
Also allows force-disabling the app-template stored in the preferences.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 2ae2a65e2c9..dd2f9b4c450 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -72,6 +72,9 @@ struct wmNDOFMotionData; typedef struct wmJob wmJob; /* general API */ +void WM_init_state_app_template_set(const char *app_template); +const char *WM_init_state_app_template_get(void); + void WM_init_state_size_set (int stax, int stay, int sizx, int sizy); void WM_init_state_fullscreen_set(void); void WM_init_state_normal_set(void); |