Adonthell
0.4
|
Screen access is made through this class. More...
#include <screen.h>
Static Public Member Functions | |
static void | set_video_mode (u_int16 nl, u_int16 nh, u_int8 depth=0, bool dbl=false, bool fscreen=false) |
Sets the video mode. More... | |
static u_int16 | length () |
Returns the length of the screen. More... | |
static u_int16 | height () |
Returns the height of the screen. More... | |
static u_int8 | bytes_per_pixel () |
Returns the screen depth, in bytes per pixel. More... | |
static u_int32 | trans_col () |
Returns the translucent color in screen's depth format. More... | |
static void | clear () |
Totally clears the screen with black. More... | |
static void | show () |
Ensure the framebuffer is copied to the physical screen. More... | |
static bool | is_fullscreen () |
Returns whether the current mode is fullscreen or windowed. More... | |
static bool | set_fullscreen (bool m) |
Sets fullscreen/windowed mode. More... | |
static string | info () |
Returns information about the current screen settings, suitable for being displayed to the user. More... | |
static bool | dbl_mode () |
static void | transition (u_int16 i) |
Make a nice transition effect. More... | |
Static Public Attributes | |
static surface | display |
The actual screen surface. More... | |
Screen access is made through this class.
This static class sets video modes, flush the frame buffer to the physical screen and make abstraction of the real screen depth to ease the graphic programmer's task.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
|
inlinestatic |
|
static |
|
static |
|
static |
Make a nice transition effect.
i | advancement of the transition (finished when i == screen::length () / 2) |
|
static |