MMSFB Class Reference
The lowest layer to the backends like DFB, X11(XSHM/XVSHM) or FBDEV.
More...
#include <mmsfb.h>
List of all members.
|
Public Member Functions |
| MMSFB () |
virtual | ~MMSFB () |
bool | init (int argc, char **argv, MMSFBBackend backend, MMSFBRectangle x11_win_rect, bool extendedaccel, MMSFBFullScreenMode fullscreen, MMSFBPointerMode pointer, string appl_name="Disko Application", string appl_icon_name="Disko Application", bool hidden=false) |
bool | release () |
bool | isInitialized () |
MMSFBBackend | getBackend () |
bool | lock () |
bool | unlock () |
bool | getLayer (int id, MMSFBLayer **layer, MMSFBOutputType outputtype, bool virtual_console) |
bool | getLayer (int id, MMSFBLayer **layer) |
void * | getX11Window () |
void * | getX11Display () |
bool | refresh () |
bool | createSurface (MMSFBSurface **surface, int w, int h, MMSFBSurfacePixelFormat pixelformat, int backbuffer=0, bool systemonly=false) |
bool | createImageProvider (IDirectFBImageProvider **provider, string filename) |
bool | createFont (MMSFBFont **font, string filename, int width=0, int height=0) |
void | realignLayer () |
Private Member Functions |
bool | resizeWindow () |
Private Attributes |
int | argc |
char ** | argv |
string | applname |
string | appliconname |
bool | hidden |
MMSFBPointerMode | pointer |
string | bin |
| name of binary
|
bool | initialized |
| is initialized?
|
MMSFBFullScreenMode | fullscreen |
IDirectFB * | dfb |
MMSFBDev * | mmsfbdev |
Display * | x_display |
| connection to the x-server
|
int | x_screen |
Window | x_window |
Window | input_window |
GC | x_gc |
Visual * | x_visual |
int | x_depth |
MMSMutex | xlock |
int | display_w |
int | display_h |
int | target_window_w |
int | target_window_h |
bool | resized |
Window | x_windows [MMSFBLAYER_MAXNUM] |
XImage * | rootimage |
MMSFBBackEndInterface * | bei |
MMSFBLayer * | layer [MMSFBLAYER_MAXNUM] |
MMSFBBackend | backend |
MMSFBRectangle | x11_win_rect |
MMSMutex | Lock |
| to make it thread-safe
|
Friends |
class | MMSFBLayer |
class | MMSFBSurface |
class | MMSFBFont |
class | MMSInputX11Handler |
class | MMSInputLISHandler |
class | MMSFBBuffer |
Detailed Description
The lowest layer to the backends like DFB, X11(XSHM/XVSHM) or FBDEV.
- Author:
- Jens Schneider
Definition at line 60 of file mmsfb.h.
Constructor & Destructor Documentation
MMSFB::~MMSFB |
( |
|
) |
[virtual] |
Member Function Documentation
bool MMSFB::resizeWindow |
( |
|
) |
[private] |
bool MMSFB::isInitialized |
( |
|
) |
|
bool MMSFB::getLayer |
( |
int |
id, |
|
|
MMSFBLayer ** |
layer | |
|
) |
| | |
void * MMSFB::getX11Window |
( |
|
) |
|
void * MMSFB::getX11Display |
( |
|
) |
|
bool MMSFB::createImageProvider |
( |
IDirectFBImageProvider ** |
provider, |
|
|
string |
filename | |
|
) |
| | |
bool MMSFB::createFont |
( |
MMSFBFont ** |
font, |
|
|
string |
filename, |
|
|
int |
width = 0 , |
|
|
int |
height = 0 | |
|
) |
| | |
void MMSFB::realignLayer |
( |
|
) |
|
Friends And Related Function Documentation
Member Data Documentation
name of binary
Definition at line 70 of file mmsfb.h.
is initialized?
Definition at line 73 of file mmsfb.h.
connection to the x-server
Definition at line 94 of file mmsfb.h.
to make it thread-safe
Definition at line 127 of file mmsfb.h.
The documentation for this class was generated from the following files: