gwenhywfar  5.11.1beta
htmlfont_be.h
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Sat Feb 20 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 
11 #ifndef HTMLFONT_BE_H
12 #define HTMLFONT_BE_H
13 
14 #include <gwenhywfar/list1.h>
15 #include <gwenhywfar/inherit.h>
16 
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 
23 typedef struct HTML_FONT HTML_FONT;
26 
27 
28 #define HTML_FONT_FLAGS_NONE 0x00000000
29 #define HTML_FONT_FLAGS_STRONG 0x00000001
30 #define HTML_FONT_FLAGS_ITALIC 0x00000002
31 #define HTML_FONT_FLAGS_UNDERLINE 0x00000004
32 
33 
36 
39 
42 
43 
45 const char *HtmlFont_GetFontName(const HTML_FONT *fnt);
46 
48 void HtmlFont_SetFontName(HTML_FONT *fnt, const char *s);
49 
52 
54 void HtmlFont_SetFontSize(HTML_FONT *fnt, int i);
55 
56 
58 uint32_t HtmlFont_GetFontFlags(const HTML_FONT *fnt);
59 
61 void HtmlFont_SetFontFlags(HTML_FONT *fnt, uint32_t i);
62 
64 void HtmlFont_AddFontFlags(HTML_FONT *fnt, uint32_t i);
65 
67 void HtmlFont_SubFontFlags(HTML_FONT *fnt, uint32_t i);
68 
69 #ifdef __cplusplus
70 }
71 #endif
72 
73 
74 #endif
75 
#define GWENHYWFAR_API
Definition: gwenhywfarapi.h:67
GWENHYWFAR_API uint32_t HtmlFont_GetFontFlags(const HTML_FONT *fnt)
GWENHYWFAR_API void HtmlFont_SetFontName(HTML_FONT *fnt, const char *s)
GWENHYWFAR_API void HtmlFont_SubFontFlags(HTML_FONT *fnt, uint32_t i)
GWENHYWFAR_API void HtmlFont_SetFontSize(HTML_FONT *fnt, int i)
GWENHYWFAR_API void HtmlFont_Attach(HTML_FONT *fnt)
GWENHYWFAR_API const char * HtmlFont_GetFontName(const HTML_FONT *fnt)
GWENHYWFAR_API void HtmlFont_free(HTML_FONT *fnt)
GWENHYWFAR_API void HtmlFont_AddFontFlags(HTML_FONT *fnt, uint32_t i)
struct HTML_FONT HTML_FONT
Definition: htmlfont_be.h:23
GWENHYWFAR_API HTML_FONT * HtmlFont_new(void)
GWENHYWFAR_API void HtmlFont_SetFontFlags(HTML_FONT *fnt, uint32_t i)
GWENHYWFAR_API int HtmlFont_GetFontSize(const HTML_FONT *fnt)
#define GWEN_INHERIT_FUNCTION_LIB_DEFS(t, decl)
Definition: inherit.h:125
#define GWEN_LIST_FUNCTION_LIB_DEFS(t, pr, decl)
Definition: list1.h:348