Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/GHOST_ISystem.h
| Show All 30 Lines | |||||
| * class. | * class. | ||||
| * Contains the doxygen documentation main page. | * Contains the doxygen documentation main page. | ||||
| */ | */ | ||||
| #ifndef __GHOST_ISYSTEM_H__ | #ifndef __GHOST_ISYSTEM_H__ | ||||
| #define __GHOST_ISYSTEM_H__ | #define __GHOST_ISYSTEM_H__ | ||||
| #include "GHOST_Types.h" | #include "GHOST_Types.h" | ||||
| #include "GHOST_IContext.h" | |||||
| #include "GHOST_ITimerTask.h" | #include "GHOST_ITimerTask.h" | ||||
| #include "GHOST_IWindow.h" | #include "GHOST_IWindow.h" | ||||
| class GHOST_IEventConsumer; | class GHOST_IEventConsumer; | ||||
| /** | /** | ||||
| * \page GHOSTPage GHOST | * \page GHOSTPage GHOST | ||||
| * | * | ||||
| ▲ Show 20 Lines • Show All 210 Lines • ▼ Show 20 Lines | public: | ||||
| /** | /** | ||||
| * Dispose a window. | * Dispose a window. | ||||
| * \param window Pointer to the window to be disposed. | * \param window Pointer to the window to be disposed. | ||||
| * \return Indication of success. | * \return Indication of success. | ||||
| */ | */ | ||||
| virtual GHOST_TSuccess disposeWindow(GHOST_IWindow *window) = 0; | virtual GHOST_TSuccess disposeWindow(GHOST_IWindow *window) = 0; | ||||
| /** | /** | ||||
| * Create a new offscreen context. | |||||
| * Never explicitly delete the context, use disposeContext() instead. | |||||
| * \return The new context (or 0 if creation failed). | |||||
| */ | |||||
| virtual GHOST_IContext *createOffscreenContext() = 0; | |||||
| /** | |||||
| * Dispose of a context. | |||||
| * \param context Pointer to the context to be disposed. | |||||
| * \return Indication of success. | |||||
| */ | |||||
| virtual GHOST_TSuccess disposeContext(GHOST_IContext *context) = 0; | |||||
| /** | |||||
| * Returns whether a window is valid. | * Returns whether a window is valid. | ||||
| * \param window Pointer to the window to be checked. | * \param window Pointer to the window to be checked. | ||||
| * \return Indication of validity. | * \return Indication of validity. | ||||
| */ | */ | ||||
| virtual bool validWindow(GHOST_IWindow *window) = 0; | virtual bool validWindow(GHOST_IWindow *window) = 0; | ||||
| /** | /** | ||||
| * Begins full screen mode. | * Begins full screen mode. | ||||
| ▲ Show 20 Lines • Show All 172 Lines • Show Last 20 Lines | |||||