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
):
27
family
(
family
),
pointSize
(
pointSize
)
28
{
29
}
30
31
virtual
~gFont
()
32
{
33
}
34
35
gFont
()
36
:
pointSize
(0)
37
{
38
}
39
};
40
41
#endif
gFont
A softreference to a font.
Definition:
gfont.h:14
gFont::family
std::string family
Definition:
gfont.h:18
gFont::~gFont
virtual ~gFont()
Definition:
gfont.h:31
gFont::pointSize
int pointSize
Definition:
gfont.h:19
gFont::gFont
gFont(const std::string &family, int pointSize)
Constructs a font with the given name and size.
Definition:
gfont.h:26
gFont::gFont
gFont()
Definition:
gfont.h:35
iObject
Definition:
object.h:15
object.h
lib
gdi
gfont.h
Generated by
1.9.1