2.5
[blender-staging.git] / source / blender / windowmanager / wm_event_types.h
index a3bf0ca728f658c6790ea6cc8faf129836864502..275d8d99810d243e2e7dd6d8933b8391e40302e7 100644 (file)
 #define ISKEYBOARD(event)      (event >='a' && event <=255)
 
 
-/* **************** BLENDER QUEUE EVENTS ********************* */
+/* **************** XXX depricated! BLENDER QUEUE EVENTS ********************* */
 
 #define CHANGED                                0x4000
 #define DRAWEDGES                      0x4001
 #define AUTOSAVE_FILE          0x4009
 #define UNDOPUSH                       0x400A
 
-/* REDRAWVIEW3D has to be the first one (lowest number) for buttons! */
 #define REDRAWVIEW3D           0x4010
 #define REDRAWVIEWCAM          0x4011
 #define REDRAWVIEW3D_Z         0x4012
 #define EVT_GESTURE_W_S                15
 #define EVT_GESTURE_W_N                16
 
+/* **************** OTHER BLENDER EVENTS ********************* */
+
+/* event->type */
+#define EVT_FILESELECT 0x5020
+
+/* event->val */
+#define EVT_FILESELECT_OPEN                    1
+#define EVT_FILESELECT_FULL_OPEN       2
+#define EVT_FILESELECT_EXEC                    3
+#define EVT_FILESELECT_CANCEL          4       
+
+
 #endif /* WM_EVENT_TYPES_H */