Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_SystemSDL.h
| Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | private: | ||||
| GHOST_TSuccess init(); | GHOST_TSuccess init(); | ||||
| GHOST_IWindow *createWindow(const char *title, | GHOST_IWindow *createWindow(const char *title, | ||||
| int32_t left, | int32_t left, | ||||
| int32_t top, | int32_t top, | ||||
| uint32_t width, | uint32_t width, | ||||
| uint32_t height, | uint32_t height, | ||||
| GHOST_TWindowState state, | GHOST_TWindowState state, | ||||
| GHOST_TDrawingContextType type, | |||||
| GHOST_GLSettings glSettings, | GHOST_GLSettings glSettings, | ||||
| const bool exclusive = false, | const bool exclusive = false, | ||||
| const bool is_dialog = false, | const bool is_dialog = false, | ||||
| const GHOST_IWindow *parentWindow = NULL); | const GHOST_IWindow *parentWindow = NULL); | ||||
| /* SDL specific */ | /* SDL specific */ | ||||
| GHOST_WindowSDL *findGhostWindow(SDL_Window *sdl_win); | GHOST_WindowSDL *findGhostWindow(SDL_Window *sdl_win); | ||||
| bool generateWindowExposeEvents(); | bool generateWindowExposeEvents(); | ||||
| void processEvent(SDL_Event *sdl_event); | void processEvent(SDL_Event *sdl_event); | ||||
| /** The vector of windows that need to be updated. */ | /** The vector of windows that need to be updated. */ | ||||
| std::vector<GHOST_WindowSDL *> m_dirty_windows; | std::vector<GHOST_WindowSDL *> m_dirty_windows; | ||||
| }; | }; | ||||