Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/GHOST_Types.h
| Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | |||||
| } GHOST_GLSettings; | } GHOST_GLSettings; | ||||
| typedef enum { | typedef enum { | ||||
| GHOST_glStereoVisual = (1 << 0), | GHOST_glStereoVisual = (1 << 0), | ||||
| GHOST_glDebugContext = (1 << 1), | GHOST_glDebugContext = (1 << 1), | ||||
| GHOST_glAlphaBackground = (1 << 2), | GHOST_glAlphaBackground = (1 << 2), | ||||
| } GHOST_GLFlags; | } GHOST_GLFlags; | ||||
| typedef enum GHOST_PlatformSupportDialogOptions { | |||||
| GHOST_DialogNoDialog = 0, | |||||
| GHOST_DialogShow = (1 << 0), | |||||
| GHOST_DialogExit = (1 << 1), | |||||
| } GHOST_PlatformSupportDialogOptions; | |||||
| #ifdef _MSC_VER | #ifdef _MSC_VER | ||||
| typedef __int64 GHOST_TInt64; | typedef __int64 GHOST_TInt64; | ||||
| typedef unsigned __int64 GHOST_TUns64; | typedef unsigned __int64 GHOST_TUns64; | ||||
| #else | #else | ||||
| typedef long long GHOST_TInt64; | typedef long long GHOST_TInt64; | ||||
| typedef unsigned long long GHOST_TUns64; | typedef unsigned long long GHOST_TUns64; | ||||
| #endif | #endif | ||||
| ▲ Show 20 Lines • Show All 461 Lines • ▼ Show 20 Lines | typedef struct { | ||||
| /** Number of lines. */ | /** Number of lines. */ | ||||
| GHOST_TUns32 yPixels; | GHOST_TUns32 yPixels; | ||||
| /** Numberof bits per pixel. */ | /** Numberof bits per pixel. */ | ||||
| GHOST_TUns32 bpp; | GHOST_TUns32 bpp; | ||||
| /** Refresh rate (in Hertz). */ | /** Refresh rate (in Hertz). */ | ||||
| GHOST_TUns32 frequency; | GHOST_TUns32 frequency; | ||||
| } GHOST_DisplaySetting; | } GHOST_DisplaySetting; | ||||
| typedef GHOST_PlatformSupportDialogOptions (*GHOST_PlatformSupportCallbackPtr)(char *message, | |||||
| char *link); | |||||
| #ifdef _WIN32 | #ifdef _WIN32 | ||||
| typedef void *GHOST_TEmbedderWindowID; | typedef void *GHOST_TEmbedderWindowID; | ||||
| #endif // _WIN32 | #endif // _WIN32 | ||||
| #ifndef _WIN32 | #ifndef _WIN32 | ||||
| // I can't use "Window" from "<X11/Xlib.h>" because it conflits with Window defined in winlay.h | // I can't use "Window" from "<X11/Xlib.h>" because it conflits with Window defined in winlay.h | ||||
| typedef int GHOST_TEmbedderWindowID; | typedef int GHOST_TEmbedderWindowID; | ||||
| #endif // _WIN32 | #endif // _WIN32 | ||||
| Show All 15 Lines | |||||