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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-09-27 15:51:33 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-09-27 15:51:33 +0300
commit4de1e673a411d14c5ab980d37cc3e1bb8b3d99ea (patch)
treef4f84a3813247e9b8ba07ade7fbce3e52fd4d48d /intern/ghost/GHOST_C-api.h
parent1472550ba195a3278ee3eb2977515c2c3b62c9ce (diff)
parent8f9a6b1bab89b9af821b3996514af7de7c8cce7c (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'intern/ghost/GHOST_C-api.h')
-rw-r--r--intern/ghost/GHOST_C-api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_C-api.h b/intern/ghost/GHOST_C-api.h
index a911c4560e4..1ce051d2660 100644
--- a/intern/ghost/GHOST_C-api.h
+++ b/intern/ghost/GHOST_C-api.h
@@ -940,6 +940,11 @@ extern int GHOST_SupportsNativeDialogs(void);
extern int GHOST_UseNativePixels(void);
/**
+ * Focus window after opening, or put them in the background.
+ */
+extern void GHOST_UseWindowFocus(int use_focus);
+
+/**
* If window was opened using native pixel size, it returns scaling factor.
*/
extern float GHOST_GetNativePixelSize(GHOST_WindowHandle windowhandle);