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:
authorDamien Plisson <damien.plisson@yahoo.fr>2009-10-05 16:55:16 +0400
committerDamien Plisson <damien.plisson@yahoo.fr>2009-10-05 16:55:16 +0400
commita3449771476955fd4a27eadd17ff4dce2655cc16 (patch)
tree4ad3ce6af88dc733d21fe1bd1ea02f611fea1376 /intern/ghost/GHOST_Types.h
parent3ec79d79e9f07346136fed4ead210c0d127ce00e (diff)
Cocoa port :
- Window creation at preferred size Implement in Ghost the use of Cocoa functions to get the maximum visible rect (size and position) for the window contents (all screen excluding dock, top menu, and window title bar) Thus Apple specific code in window creation (wm_window.c & wm_apple.c) is no more needed => removed in case of Cocoa build - Alert on exiting despite unsaved changes Add to GHOST method to maintain an all platforms (not apple specific anymore) status on unsaved changes Update GHOST_SystemCocoa to use this for asking or not user to confirm exit without saving changes
Diffstat (limited to 'intern/ghost/GHOST_Types.h')
-rw-r--r--intern/ghost/GHOST_Types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_Types.h b/intern/ghost/GHOST_Types.h
index 31819f341a0..14e3c4bb5f7 100644
--- a/intern/ghost/GHOST_Types.h
+++ b/intern/ghost/GHOST_Types.h
@@ -116,6 +116,12 @@ typedef enum {
} GHOST_TWindowState;
+/** Constants for the answer to the blender exit request */
+typedef enum {
+ GHOST_kExitCancel = 0,
+ GHOST_kExitNow
+} GHOST_TExitRequestResponse;
+
typedef enum {
GHOST_kWindowOrderTop = 0,
GHOST_kWindowOrderBottom