53 #include "util/IColor.h"
54 using namespace ::br::pucrio::telemidia::util;
56 #include "mb/interface/IWindow.h"
79 IDirectFBSurface* winSur;
87 GingaScreenID myScreen;
95 int transparencyValue;
104 pthread_mutex_t mutex;
105 pthread_mutex_t mutexC;
109 GingaWindowID underlyingWindowID,
110 GingaWindowID parentWindowID,
111 GingaScreenID screenId,
112 int x,
int y,
int width,
int height);
118 GingaWindowID underlyingWindowID,
119 GingaWindowID parentWindowID,
120 GingaScreenID screenId,
121 int x,
int y,
int width,
int height);
123 void releaseBGColor();
124 void releaseWinColor();
125 void releaseColorKey();
126 void releaseBorderColor();
131 void setBgColor(
int r,
int g,
int b,
int alpha);
133 void setColorKey(
int r,
int g,
int b);
135 void setWindowColor(
int r,
int g,
int b,
int alpha);
137 void setBorder(
int r,
int g,
int b,
int alpha=255,
int bWidth=0);
138 void getBorder(
int* r,
int* g,
int* b,
int* alpha,
int* bWidth);
140 GingaScreenID getScreen();
141 void revertContent();
142 void setChildSurface(
ISurface* iSur);
143 int getCap(
string cap);
144 void setCaps(
int caps);
145 void addCaps(
int capability);
149 void setBounds(
int x,
int y,
int width,
int height);
150 void moveTo(
int x,
int y);
151 void resize(
int width,
int height);
153 void lowerToBottom();
154 void setCurrentTransparency(
int alpha);
155 int getTransparencyValue();
156 GingaWindowID getId();
164 float getZ(){
return -1.0;};
170 void setZ(
float z){};
174 bool isGhostWindow();
175 void setGhostWindow(
bool ghost);
180 void unprotectedValidate();
183 void setStretch(
bool stretchTo);
185 void setFit(
bool fitTo);
193 void renderImgFile(
string serializedImageUrl);
197 void renderFrom(IDirectFBSurface* contentSurface);
201 void stretchBlit(
IWindow* src);
202 string getDumpFileUri(
int quality,
int dumpW,
int dumpH);
Definition: DFBWindow.h:76
Definition: ISurface.h:64