Class hierarchy Compound list File list Compound Members File Members
Screen Class Reference
This is an abstract class representing the 2D Screen. More...
Inherits Drawable.
List of all members.
Public Members
- virtual long flip () = 0
- Flips the pages at the end of rendering.
- virtual int isModeAvailable (int Width, int Height) = 0
- Check if a display mode is available Returns a non-zero value if the mode is available.
- virtual int getFreeVideoMemory () = 0
- Returns the available video memory for bitmaps.
Related Functions
(Note that these are not member functions.)
- DLLExport Screen* newWindowScreen (void* hWnd_, int Width, int Height, int NoAccel=0)
- Used to create a screen for console (non graphic) apps batch processing.
Detailed Description
This is an abstract class representing the 2D Screen.
One of the subclasses: FullScreen , WindowScreen should be created.
Console automatically creates this object.
Member Function Documentation
virtual long Screen::flip() = 0 [pure virtual]
Flips the pages at the end of rendering.
virtual int Screen::isModeAvailable(int Width, int Height) = 0 [pure virtual]
Check if a display mode is available Returns a non-zero value if the mode is available.
virtual int Screen::getFreeVideoMemory() = 0 [pure virtual]
Returns the available video memory for bitmaps.
DLLExport Screen* newWindowScreen(void* hWnd_, int Width, int Height, int NoAccel=0)
Used to create a screen for console (non graphic) apps batch processing.
For a usual graphics game, it shouldn't be used.
The documentation for this class was generated from the following files: