gwenhywfar  4.7.0beta
Macros | Functions
htmlprops.c File Reference
#include "htmlprops_p.h"
#include <gwenhywfar/misc.h>
#include <assert.h>

Go to the source code of this file.

Macros

#define DISABLE_DEBUGLOG
 

Functions

void HtmlProps_Attach (HTML_PROPS *pr)
 
HTML_PROPSHtmlProps_dup (const HTML_PROPS *pro)
 
void HtmlProps_free (HTML_PROPS *pr)
 
uint32_t HtmlProps_GetBackgroundColor (const HTML_PROPS *pr)
 
HTML_FONTHtmlProps_GetFont (const HTML_PROPS *pr)
 
uint32_t HtmlProps_GetForegroundColor (const HTML_PROPS *pr)
 
HTML_PROPSHtmlProps_new (void)
 
void HtmlProps_SetBackgroundColor (HTML_PROPS *pr, uint32_t c)
 
void HtmlProps_SetFont (HTML_PROPS *pr, HTML_FONT *fnt)
 
void HtmlProps_SetForegroundColor (HTML_PROPS *pr, uint32_t c)
 

Macro Definition Documentation

#define DISABLE_DEBUGLOG

Definition at line 14 of file htmlprops.c.

Function Documentation

void HtmlProps_Attach ( HTML_PROPS pr)
HTML_PROPS* HtmlProps_dup ( const HTML_PROPS pro)

Definition at line 55 of file htmlprops.c.

References HtmlFont_Attach(), and HtmlProps_new().

Referenced by HtmlGroup_Box_StartTag(), and HtmlGroup_TableRow_StartTag().

void HtmlProps_free ( HTML_PROPS pr)
uint32_t HtmlProps_GetBackgroundColor ( const HTML_PROPS pr)

Definition at line 112 of file htmlprops.c.

Referenced by FOX16_HtmlCtx::_paint(), FOX16_HtmlCtx::_paintAt(), and dumpObject().

HTML_FONT* HtmlProps_GetFont ( const HTML_PROPS pr)
uint32_t HtmlProps_GetForegroundColor ( const HTML_PROPS pr)

Definition at line 96 of file htmlprops.c.

Referenced by FOX16_HtmlCtx::_paint(), FOX16_HtmlCtx::_paintAt(), and dumpObject().

HTML_PROPS* HtmlProps_new ( void  )

Definition at line 26 of file htmlprops.c.

References GWEN_NEW_OBJECT, and HTML_PROPS_NOCOLOR.

Referenced by FOX16_HtmlCtx::FOX16_HtmlCtx(), and HtmlProps_dup().

void HtmlProps_SetBackgroundColor ( HTML_PROPS pr,
uint32_t  c 
)

Definition at line 120 of file htmlprops.c.

void HtmlProps_SetFont ( HTML_PROPS pr,
HTML_FONT fnt 
)
void HtmlProps_SetForegroundColor ( HTML_PROPS pr,
uint32_t  c 
)

Definition at line 104 of file htmlprops.c.

Referenced by HtmlGroup_Box_StartTag().