Defines | Typedefs | Functions

htmlfont_be.h File Reference

#include <gwenhywfar/list1.h>
#include <gwenhywfar/inherit.h>

Go to the source code of this file.

Defines

#define HTML_FONT_FLAGS_ITALIC   0x00000002
#define HTML_FONT_FLAGS_NONE   0x00000000
#define HTML_FONT_FLAGS_STRONG   0x00000001
#define HTML_FONT_FLAGS_UNDERLINE   0x00000004

Typedefs

typedef struct HTML_FONT HTML_FONT

Functions

GWENHYWFAR_API void HtmlFont_AddFontFlags (HTML_FONT *fnt, uint32_t i)
GWENHYWFAR_API void HtmlFont_Attach (HTML_FONT *fnt)
GWENHYWFAR_API void HtmlFont_free (HTML_FONT *fnt)
GWENHYWFAR_API uint32_t HtmlFont_GetFontFlags (const HTML_FONT *fnt)
GWENHYWFAR_API const char * HtmlFont_GetFontName (const HTML_FONT *fnt)
GWENHYWFAR_API int HtmlFont_GetFontSize (const HTML_FONT *fnt)
GWENHYWFAR_API HTML_FONTHtmlFont_new (void)
GWENHYWFAR_API void HtmlFont_SetFontFlags (HTML_FONT *fnt, uint32_t i)
GWENHYWFAR_API void HtmlFont_SetFontName (HTML_FONT *fnt, const char *s)
GWENHYWFAR_API void HtmlFont_SetFontSize (HTML_FONT *fnt, int i)
GWENHYWFAR_API void HtmlFont_SubFontFlags (HTML_FONT *fnt, uint32_t i)

Define Documentation

#define HTML_FONT_FLAGS_ITALIC   0x00000002

Definition at line 30 of file htmlfont_be.h.

Referenced by FOX16_HtmlCtx::_getFoxFont(), and HtmlGroup_Box_StartTag().

#define HTML_FONT_FLAGS_NONE   0x00000000

Definition at line 28 of file htmlfont_be.h.

#define HTML_FONT_FLAGS_STRONG   0x00000001
#define HTML_FONT_FLAGS_UNDERLINE   0x00000004

Definition at line 31 of file htmlfont_be.h.

Referenced by HtmlGroup_Box_StartTag().


Typedef Documentation

typedef struct HTML_FONT HTML_FONT

Definition at line 23 of file htmlfont_be.h.


Function Documentation

GWENHYWFAR_API void HtmlFont_AddFontFlags ( HTML_FONT fnt,
uint32_t  i 
)

Definition at line 114 of file htmlfont.c.

GWENHYWFAR_API void HtmlFont_Attach ( HTML_FONT fnt  ) 

Definition at line 56 of file htmlfont.c.

Referenced by HtmlProps_dup(), and HtmlProps_SetFont().

GWENHYWFAR_API void HtmlFont_free ( HTML_FONT fnt  ) 

Definition at line 38 of file htmlfont.c.

References GWEN_FREE_OBJECT, GWEN_INHERIT_FINI, and GWEN_LIST_FINI.

Referenced by HtmlProps_free(), and HtmlProps_SetFont().

GWENHYWFAR_API uint32_t HtmlFont_GetFontFlags ( const HTML_FONT fnt  ) 
GWENHYWFAR_API const char* HtmlFont_GetFontName ( const HTML_FONT fnt  ) 
GWENHYWFAR_API int HtmlFont_GetFontSize ( const HTML_FONT fnt  ) 
GWENHYWFAR_API HTML_FONT* HtmlFont_new ( void   ) 

Definition at line 25 of file htmlfont.c.

References GWEN_INHERIT_INIT, GWEN_LIST_INIT, and GWEN_NEW_OBJECT.

Referenced by FOX16_Gui::getFont().

GWENHYWFAR_API void HtmlFont_SetFontFlags ( HTML_FONT fnt,
uint32_t  i 
)

Definition at line 106 of file htmlfont.c.

Referenced by FOX16_Gui::getFont().

GWENHYWFAR_API void HtmlFont_SetFontName ( HTML_FONT fnt,
const char *  s 
)

Definition at line 72 of file htmlfont.c.

Referenced by FOX16_Gui::getFont().

GWENHYWFAR_API void HtmlFont_SetFontSize ( HTML_FONT fnt,
int  i 
)

Definition at line 90 of file htmlfont.c.

Referenced by FOX16_Gui::getFont().

GWENHYWFAR_API void HtmlFont_SubFontFlags ( HTML_FONT fnt,
uint32_t  i 
)

Definition at line 122 of file htmlfont.c.