50 #ifndef IDEVICESCREEN_H_
51 #define IDEVICESCREEN_H_
53 #include "mb/IMBDefs.h"
54 #include "mb/IInputManager.h"
56 #include "IContinuousMediaProvider.h"
57 #include "IFontProvider.h"
58 #include "IImageProvider.h"
84 virtual void releaseScreen()=0;
85 virtual void releaseMB()=0;
86 virtual void clearWidgetPools()=0;
88 virtual string getScreenName()=0;
89 virtual GingaWindowID getScreenUnderlyingWindow()=0;
91 virtual void setBackgroundImage(
string uri)=0;
93 virtual unsigned int getWidthResolution()=0;
94 virtual void setWidthResolution(
unsigned int wRes)=0;
95 virtual unsigned int getHeightResolution()=0;
96 virtual void setHeightResolution(
unsigned int hRes)=0;
98 virtual void setColorKey(
int r,
int g,
int b)=0;
100 virtual IWindow* getIWindowFromId(GingaWindowID winId)=0;
102 virtual bool mergeIds(
103 GingaWindowID destId, vector<GingaWindowID>* srcIds)=0;
105 virtual void blitScreen(
ISurface* destination)=0;
106 virtual void blitScreen(
string fileUri)=0;
108 virtual void refreshScreen()=0;
114 int x,
int y,
int w,
int h,
float z)=0;
116 virtual GingaWindowID createUnderlyingSubWindow(
117 int x,
int y,
int w,
int h,
float z)=0;
119 virtual IWindow* createWindowFrom(GingaWindowID underlyingWindow)=0;
120 virtual bool hasWindow(
IWindow* win)=0;
121 virtual void releaseWindow(
IWindow* win)=0;
123 virtual ISurface* createSurface()=0;
124 virtual ISurface* createSurface(
int w,
int h)=0;
125 virtual ISurface* createSurfaceFrom(
void* underlyingSurface)=0;
126 virtual bool hasSurface(
ISurface* sur)=0;
127 virtual bool releaseSurface(
ISurface* sur)=0;
133 const char* mrl,
bool* hasVisual,
bool isRemote)=0;
135 virtual void releaseContinuousMediaProvider(
139 const char* mrl,
int fontSize)=0;
146 virtual ISurface* createRenderedSurfaceFromImageFile(
156 void* event,
const int symbol)=0;
158 virtual IInputEvent* createApplicationEvent(
int type,
void* data)=0;
159 virtual int fromMBToGinga(
int keyCode)=0;
160 virtual int fromGingaToMB(
int keyCode)=0;
165 virtual void* getGfxRoot()=0;
174 typedef ::br::pucrio::telemidia::ginga::core::mb::IDeviceScreen*
176 int numArgs,
char** args,
177 GingaScreenID myId, GingaWindowID embedId,
178 bool externalRenderer);
180 typedef void ScreenDestroyer(
Definition: IContinuousMediaProvider.h:71
Definition: IDeviceScreen.h:73
Definition: IEventBuffer.h:63
Definition: IInputEvent.h:61
Definition: IInputManager.h:67
Definition: IImageProvider.h:64
Definition: ISurface.h:64
Definition: IFontProvider.h:62