openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
gfont.h
Go to the documentation of this file.
1 #ifndef __lib_gdi_gfont_h
2 #define __lib_gdi_gfont_h
3 
4 #include <lib/base/object.h>
5 #include <string>
6 
13 class gFont: public iObject
14 {
15  DECLARE_REF(gFont);
16 public:
17 
18  std::string family;
19  int pointSize;
20 
26  gFont(const std::string &family, int pointSize):
28  {
29  }
30 
31  virtual ~gFont()
32  {
33  }
34 
36  :pointSize(0)
37  {
38  }
39 };
40 
41 #endif
A softreference to a font.
Definition: gfont.h:14
std::string family
Definition: gfont.h:18
virtual ~gFont()
Definition: gfont.h:31
int pointSize
Definition: gfont.h:19
gFont(const std::string &family, int pointSize)
Constructs a font with the given name and size.
Definition: gfont.h:26
gFont()
Definition: gfont.h:35
Definition: object.h:15