|
Public Member Functions |
| | Display () |
| | ~Display () |
| SDL_Surface * | GetScreen () |
| SDL_Surface * | CreateSurface (int w, int h) |
| SDL_Surface * | CreateSurfaceFromFile (string filename, int alpha) |
| SDL_Surface * | LoadImage (string filename) |
| void | SetFullScreen (bool) |
| void | DrawText (int x, int y, string text_str, int font_color) |
| void | DrawTextCentered (int y, string text_str, int font_color) |
| void | DrawGameMessage (string text, int alpha) |
| void | DrawTitlePlane () |
| void | DrawRect (int x, int y, int w, int h, Uint8 r, Uint8 g, Uint8 b, int alpha) |
| void | DrawBlackPlane (int alpha) |
| void | DrawInfo (list< string > info) |
| void | Flip () |
| int | Width () |
| int | Height () |
| int | WidthHalf () |
| int | HeightHalf () |
| int | WidthInTiles () |
| int | HeightInTiles () |
| void | SetWidthHeightInTiles (int w, int h) |
Private Member Functions |
| void | SetVideoMode () |
| void | SetFonts () |
Private Attributes |
| bool | fullscreen |
| int | width |
| int | height |
| SDL_Surface * | screen |
| SDL_Surface * | font |
| SFont_FontInfo * | font_sel |
| SDL_Surface * | title_plane |