53 #include "mb/interface/IWindow.h"
54 #include "mb/interface/IFontProvider.h"
72 IDirectFBSurface* sur;
73 GingaScreenID myScreen;
85 DFBSurface(GingaScreenID screenId,
int w,
int h);
86 DFBSurface(GingaScreenID screenId,
void* underlyingSurface);
91 void releaseChromaColor();
92 void releaseBgColor();
93 void releaseBorderColor();
94 void releaseSurfaceColor();
98 void initialize(GingaScreenID screenId);
101 void setExternalHandler(
bool extHandler);
102 bool hasExternalHandler();
104 void addCaps(
int caps);
105 void setCaps(
int caps);
106 int getCap(
string cap);
108 bool setParentWindow(
void* parentWindow);
109 void* getParentWindow();
110 void* getSurfaceContent();
111 void setSurfaceContent(
void* surface);
114 void drawLine(
int x1,
int y1,
int x2,
int y2);
115 void drawRectangle(
int x,
int y,
int w,
int h);
116 void fillRectangle(
int x,
int y,
int w,
int h);
117 void drawString(
int x,
int y,
const char* txt);
118 void setChromaColor(
int r,
int g,
int b,
int alpha);
120 void setBorderColor(
int r,
int g,
int b,
int alpha);
122 void setBgColor(
int r,
int g,
int b,
int alpha);
124 void setColor(
int r,
int g,
int b,
int alpha);
126 void setSurfaceFont(
void* font);
127 void getStringExtents(
const char* text,
int* w,
int* h);
129 void scale(
double x,
double y);
134 int srcX=-1,
int srcY=-1,
int srcW=-1,
int srcH=-1);
136 void setClip(
int x,
int y,
int w,
int h);
137 void getSize(
int* width,
int* height);
138 string getDumpFileUri();
139 void setMatrix(
void*
matrix);
Definition: DFBSurface.h:70
Definition: ISurface.h:64
Definition: IFontProvider.h:62