gwenhywfar
5.10.1
gui
fox16
fox16_htmlctx_p.hpp
Go to the documentation of this file.
1
/***************************************************************************
2
begin : Mon Feb 22 2010
3
copyright : (C) 2010 by Martin Preuss
4
email : martin@libchipcard.de
5
6
***************************************************************************
7
* Please see toplevel file COPYING for license details *
8
***************************************************************************/
9
10
#ifndef FOX16_HTMLCTX_P_HPP
11
#define FOX16_HTMLCTX_P_HPP
12
13
14
#include "
fox16_htmlctx.hpp
"
15
16
17
class
FOX16_HtmlCtxLinker
{
18
friend
class
FOX16_HtmlCtx
;
19
20
static
int
GetTextWidth(
GWEN_XML_CONTEXT
*ctx,
21
HTML_FONT
*fnt,
22
const
char
*s);
23
24
static
int
GetTextHeight(
GWEN_XML_CONTEXT
*ctx,
25
HTML_FONT
*fnt,
26
const
char
*s);
27
28
static
uint32_t GetColorFromName(
const
GWEN_XML_CONTEXT
*ctx,
29
const
char
*name);
30
31
static
HTML_FONT
*GetFont(
GWEN_XML_CONTEXT
*ctx,
32
const
char
*fontName,
33
int
fontSize,
34
uint32_t fontFlags);
35
36
static
HTML_IMAGE
*GetImage(
GWEN_XML_CONTEXT
*ctx,
37
const
char
*imageName);
38
39
static
GWENHYWFAR_CB
void
freeData(
void
*bp,
void
*p);
40
static
GWENHYWFAR_CB
void
freeFontData(
void
*bp,
void
*p);
41
static
GWENHYWFAR_CB
void
freeImageData(
void
*bp,
void
*p);
42
43
};
44
45
46
47
48
#endif
49
50
FOX16_HtmlCtxLinker
Definition:
fox16_htmlctx_p.hpp:17
FOX16_HtmlCtx
Definition:
fox16_htmlctx.hpp:22
fox16_htmlctx.hpp
GWENHYWFAR_CB
#define GWENHYWFAR_CB
Definition:
gwenhywfarapi.h:89
HTML_FONT
struct HTML_FONT HTML_FONT
Definition:
htmlfont_be.h:23
HTML_IMAGE
struct HTML_IMAGE HTML_IMAGE
Definition:
htmlimage_be.h:23
GWEN_XML_CONTEXT
struct GWEN_XML_CONTEXT GWEN_XML_CONTEXT
Definition:
xmlctx.h:39
Generated by
1.9.5