#include <cvideo.h>
Inheritance diagram for CVideoSystem:

Public Member Functions | |
| virtual CScreen & | get_screen ()=0 |
Protected Member Functions | |
| virtual CSurfaceImpl * | make_csurface_impl (int w, int h)=0 |
| virtual CSurfaceImpl * | make_csurface_impl (const char *filename)=0 |
| virtual uint32 | make_color (uint8 r, uint8 g, uint8 b)=0 |
Friends | |
| class | CColor |
| class | CSurface |
| class | CSurfaceImpl |
Definition at line 142 of file cvideo.h.
|
|
Return a CScreen surface that represents the video screen of the surface. See the CScreen object for more information on the nature of the screen as a singleton. Implemented in SDLDriver::CVideoSystemSDL. |
|
||||||||||||||||
|
Return the 32-bit integer representing the given color with (red, green, blue). It should be in the video system's architecture-dependent pixel format. Implemented in SDLDriver::CVideoSystemSDL. |
|
|
Return a bitmap surface that represents the given image file name (usually a Windows BMP file). Note that the pixel format used will be the image file's, NOT the screen's. Implemented in SDLDriver::CVideoSystemSDL. |
|
||||||||||||
|
Create a CSurfaceImpl with the given width and height. The screen's pixel format is used. Implemented in SDLDriver::CVideoSystemSDL. |
1.3.3