22 #ifndef NUVIE_GUI_GUI_FONT_H 23 #define NUVIE_GUI_GUI_FONT_H 25 #include "ultima/nuvie/core/nuvie_defs.h" 43 DisposeAfterUse::Flag _disposeFont;
51 GUI_Font(uint8 fontType = GUI_FONT_DEFAULT);
64 virtual void setTransparency(
bool on);
67 virtual void setColoring(uint8 fr, uint8 fg, uint8 fb, uint8 br = 255, uint8 bg = 255, uint8 bb = 255);
69 virtual void setColoring(uint8 fr, uint8 fg, uint8 fb, uint8 fr1, uint8 fg1, uint8 fb1, uint8 br, uint8 bg, uint8 bb);
72 inline virtual int charHeight()
const {
77 inline virtual int charWidth()
const {
85 void textExtent(
const char *text,
int *w,
int *h,
int line_wrap = 0);
88 uint16 getCenter(
const char *text, uint16 width);
Definition: managed_surface.h:51
Definition: gui_font.h:36
Definition: detection.h:27