Ginga  0.13.6
 All Classes Namespaces Functions Variables
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
br::pucrio::telemidia::ginga::core::mb::SDLDeviceScreen Class Reference
Inheritance diagram for br::pucrio::telemidia::ginga::core::mb::SDLDeviceScreen:
Inheritance graph
[legend]
Collaboration diagram for br::pucrio::telemidia::ginga::core::mb::SDLDeviceScreen:
Collaboration graph
[legend]

Public Member Functions

 SDLDeviceScreen (int numArgs, char **args, GingaScreenID myId, GingaWindowID embedId, bool externalRenderer)
 
void releaseScreen ()
 
void releaseMB ()
 
void clearWidgetPools ()
 
string getScreenName ()
 
void setBackgroundImage (string uri)
 
unsigned int getWidthResolution ()
 
void setWidthResolution (unsigned int wRes)
 
unsigned int getHeightResolution ()
 
void setHeightResolution (unsigned int hRes)
 
void setColorKey (int r, int g, int b)
 
IWindowgetIWindowFromId (GingaWindowID winId)
 
bool mergeIds (GingaWindowID destId, vector< GingaWindowID > *srcIds)
 
void blitScreen (ISurface *destination)
 
void blitScreen (string fileUri)
 
void refreshScreen ()
 
IWindowcreateWindow (int x, int y, int w, int h, float z)
 
GingaWindowID createUnderlyingSubWindow (int x, int y, int w, int h, float z)
 
GingaWindowID getScreenUnderlyingWindow ()
 
IWindowcreateWindowFrom (GingaWindowID underlyingWindow)
 
bool hasWindow (IWindow *win)
 
void releaseWindow (IWindow *win)
 
ISurfacecreateSurface ()
 
ISurfacecreateSurface (int w, int h)
 
ISurfacecreateSurfaceFrom (void *underlyingSurface)
 
bool hasSurface (ISurface *sur)
 
bool releaseSurface (ISurface *sur)
 
IContinuousMediaProvidercreateContinuousMediaProvider (const char *mrl, bool *hasVisual, bool isRemote)
 
void releaseContinuousMediaProvider (IContinuousMediaProvider *provider)
 
IFontProvidercreateFontProvider (const char *mrl, int fontSize)
 
void releaseFontProvider (IFontProvider *provider)
 
IImageProvidercreateImageProvider (const char *mrl)
 
void releaseImageProvider (IImageProvider *provider)
 
ISurfacecreateRenderedSurfaceFromImageFile (const char *mrl)
 
IInputManagergetInputManager ()
 
IEventBuffercreateEventBuffer ()
 
IInputEventcreateInputEvent (void *event, const int symbol)
 
IInputEventcreateApplicationEvent (int type, void *data)
 
int fromMBToGinga (int keyCode)
 
int fromGingaToMB (int keyCode)
 
void * getGfxRoot ()
 

Static Public Member Functions

static void lockSDL ()
 
static void unlockSDL ()
 
static void updateRenderMap (GingaScreenID screenId, IWindow *window, float oldZIndex, float newZIndex)
 
static void addCMPToRendererList (IContinuousMediaProvider *cmp)
 
static void removeCMPToRendererList (IContinuousMediaProvider *cmp)
 
static void createReleaseContainer (SDL_Surface *uSur, SDL_Texture *uTex, IMediaProvider *iDec)
 
static void renderMapInsertWindow (GingaScreenID screenId, IWindow *iWin, float z)
 
static void renderMapRemoveWindow (GingaScreenID screenId, IWindow *iWin, float z)
 
static SDL_Window * getUnderlyingWindow (GingaWindowID winId)
 
static SDL_Texture * createTextureFromSurface (SDL_Renderer *renderer, SDL_Surface *surface)
 
static bool hasTexture (SDL_Texture *uTex)
 
static void releaseTexture (SDL_Texture *uTex)
 
static void addUnderlyingSurface (SDL_Surface *uSur)
 
static SDL_Surface * createUnderlyingSurface (int width, int height)
 
static SDL_Surface * createUnderlyingSurfaceFromTexture (SDL_Texture *texture)
 
static bool hasUnderlyingSurface (SDL_Surface *uSur)
 

Static Public Attributes

static const unsigned int DSA_UNKNOWN = 0
 
static const unsigned int DSA_4x3 = 1
 
static const unsigned int DSA_16x9 = 2
 
static const short SUW_SHOW = 0
 
static const short SUW_HIDE = 1
 
static const short SUW_RAISETOTOP = 2
 
static const short SUW_LOWERTOBOTTOM = 3
 
static const short SDS_FPS = 35
 
static const int uSleepTime = (int)(1000000/SDS_FPS)
 

The documentation for this class was generated from the following files: