Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_SystemX11.cpp
| Context not available. | |||||
| } | } | ||||
| } | } | ||||
| /** | |||||
| * Returns the dimensions of the given display number on this system. | |||||
| * \param num The display number. Must be between 0 and getNumDisplays()-1 inclusive. | |||||
| * \return The dimension and coordinates of the display. | |||||
| */ | |||||
| void | |||||
| GHOST_SystemX11:: | |||||
| getDisplayDimensions( | |||||
| GHOST_TUns32& x, GHOST_TUns32& y, | |||||
| GHOST_TUns32& width, GHOST_TUns32& height, GHOST_TUns8 _X_UNUSED(num)) const | |||||
| { | |||||
| // requires Xinerama? | |||||
| x = 0; | |||||
| y = 0; | |||||
| getMainDisplayDimensions(width, height); | |||||
| } | |||||
| /** | /** | ||||
| * Create a new window. | * Create a new window. | ||||
| * The new window is added to the list of windows managed. | * The new window is added to the list of windows managed. | ||||
| Context not available. | |||||