50 #ifndef DFBFONTPROVIDER_H_
51 #define DFBFONTPROVIDER_H_
53 #include "util/functions.h"
55 #include "system/compat/SystemCompat.h"
56 using namespace ::br::pucrio::telemidia::ginga::core::system::compat;
58 #include "mb/interface/IFontProvider.h"
59 #include "mb/interface/ISurface.h"
65 #include "directfb/direct/interface.h"
83 GingaScreenID myScreen;
90 static const short A_LEFT;
91 static const short A_CENTER;
92 static const short A_RIGHT;
94 static const short A_TOP;
95 static const short A_TOP_CENTER;
96 static const short A_TOP_LEFT;
97 static const short A_TOP_RIGHT;
99 static const short A_BOTTOM;
100 static const short A_BOTTOM_CENTER;
101 static const short A_BOTTOM_LEFT;
102 static const short A_BOTTOM_RIGHT;
105 GingaScreenID screenId,
111 string getLoadSymbol() {
return "DFBFontProvider";};
112 void* getFontProviderContent();
113 int getStringWidth(
const char* text,
int textLength=0);
114 void getStringExtents(
const char* text,
int* w,
int* h);
119 int x=0,
int y=0,
short align=A_TOP_LEFT);
Definition: DFBFontProvider.h:79
Definition: ISurface.h:64
Definition: IFontProvider.h:62