58 static void set_video_mode (
u_int16 nl,
u_int16 nh,
u_int8 depth = 0,
bool dbl =
false,
bool fscreen =
false);
65 return display.length ();
73 return display.height ();
81 return bytes_per_pixel_;
100 display.fillrect (0, 0, display.length (), display.height (), 0x0);
126 static bool set_fullscreen (
bool m);
135 static string info ();
137 static bool dbl_mode () {
return dblmode; }
144 static void transition (
u_int16 i);
148 static u_int8 bytes_per_pixel_;
154 static bool fullscreen_;
#define u_int16
16 bits long unsigned integer
Class where drawables can actually be drawn to.
static u_int16 length()
Returns the length of the screen.
#define u_int32
32 bits long unsigned integer
#define u_int8
8 bits long unsigned integer
static void clear()
Totally clears the screen with black.
Screen access is made through this class.
static u_int8 bytes_per_pixel()
Returns the screen depth, in bytes per pixel.
Declares the surface class.
static bool is_fullscreen()
Returns whether the current mode is fullscreen or windowed.
static surface display
The actual screen surface.
static u_int32 trans_col()
Returns the translucent color in screen's depth format.
static u_int16 height()
Returns the height of the screen.