50 #ifndef TERMDEVICESCREEN_H_
51 #define TERMDEVICESCREEN_H_
53 #include "mb/interface/IDeviceScreen.h"
68 set<string> windowPool;
69 set<string> surfacePool;
73 int numArgs,
char** args,
74 GingaWindowID embedId,
75 bool externalRenderer);
82 void clearWidgetPools();
84 string getScreenName();
85 GingaWindowID getScreenUnderlyingWindow(){
return NULL;};
86 void setBackgroundImage(
string uri);
88 unsigned int getWidthResolution();
89 void setWidthResolution(
unsigned int wRes);
90 unsigned int getHeightResolution();
91 void setHeightResolution(
unsigned int hRes);
93 void setColorKey(
int r,
int g,
int b);
95 IWindow* getIWindowFromId(GingaWindowID winId) {
return NULL;};
96 bool mergeIds(GingaWindowID destId, vector<GingaWindowID>* srcIds);
97 void blitScreen(
ISurface* destination);
98 void blitScreen(
string fileUri);
99 void refreshScreen(){};
103 IWindow* createWindow(
int x,
int y,
int w,
int h,
float z);
105 GingaWindowID createUnderlyingSubWindow(
106 int x,
int y,
int w,
int h,
float z) {
return NULL;};
108 IWindow* createWindowFrom(GingaWindowID underlyingWindow);
110 void releaseWindow(
IWindow* win);
113 ISurface* createSurface(
int w,
int h);
114 ISurface* createSurfaceFrom(
void* underlyingSurface);
122 const char* mrl,
bool* hasVisual,
bool isRemote);
124 void releaseContinuousMediaProvider(
128 const char* mrl,
int fontSize);
135 ISurface* createRenderedSurfaceFromImageFile(
const char* mrl);
142 IInputEvent* createInputEvent(
void* event,
const int symbol);
143 IInputEvent* createApplicationEvent(
int type,
void* data);
144 int fromMBToGinga(
int keyCode);
145 int fromGingaToMB(
int keyCode);
Definition: IContinuousMediaProvider.h:71
Definition: IDeviceScreen.h:73
Definition: TermDeviceScreen.h:66
Definition: IEventBuffer.h:63
Definition: IInputEvent.h:61
Definition: IInputManager.h:67
Definition: IImageProvider.h:64
Definition: ISurface.h:64
Definition: IFontProvider.h:62