gwenhywfar 5.12.0
htmlprops.c File Reference
#include "htmlprops_p.h"
#include <gwenhywfar/misc.h>
#include <assert.h>
Include dependency graph for htmlprops.c:

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

◆ DISABLE_DEBUGLOG

#define DISABLE_DEBUGLOG

Definition at line 14 of file htmlprops.c.

Function Documentation

◆ HtmlProps_Attach()

void HtmlProps_Attach ( HTML_PROPS * pr)

Definition at line 73 of file htmlprops.c.

Referenced by HtmlCtx_SetStandardProps(), HtmlGroup_SetProperties(), and HtmlObject_SetProperties().

Here is the caller graph for this function:

◆ HtmlProps_dup()

HTML_PROPS * HtmlProps_dup ( const HTML_PROPS * pro)

Definition at line 57 of file htmlprops.c.

References HtmlFont_Attach(), and HtmlProps_new().

Referenced by HtmlGroup_Box_StartTag(), and HtmlGroup_TableRow_StartTag().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HtmlProps_free()

void HtmlProps_free ( HTML_PROPS * pr)

Definition at line 40 of file htmlprops.c.

References GWEN_FREE_OBJECT, and HtmlFont_free().

Referenced by FOX16_HtmlCtx::FOX16_HtmlCtx(), HtmlCtx_FreeData(), HtmlCtx_SetStandardProps(), HtmlGroup_Box_StartTag(), HtmlGroup_free(), HtmlGroup_SetProperties(), HtmlGroup_TableRow_StartTag(), HtmlObject_free(), and HtmlObject_SetProperties().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HtmlProps_GetBackgroundColor()

uint32_t HtmlProps_GetBackgroundColor ( const HTML_PROPS * pr)

Definition at line 120 of file htmlprops.c.

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

Here is the caller graph for this function:

◆ HtmlProps_GetFont()

HTML_FONT * HtmlProps_GetFont ( const HTML_PROPS * pr)

◆ HtmlProps_GetForegroundColor()

uint32_t HtmlProps_GetForegroundColor ( const HTML_PROPS * pr)

Definition at line 102 of file htmlprops.c.

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

Here is the caller graph for this function:

◆ HtmlProps_new()

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().

Here is the caller graph for this function:

◆ HtmlProps_SetBackgroundColor()

void HtmlProps_SetBackgroundColor ( HTML_PROPS * pr,
uint32_t c )

Definition at line 129 of file htmlprops.c.

◆ HtmlProps_SetFont()

void HtmlProps_SetFont ( HTML_PROPS * pr,
HTML_FONT * fnt )

Definition at line 91 of file htmlprops.c.

References HtmlFont_Attach(), and HtmlFont_free().

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HtmlProps_SetForegroundColor()

void HtmlProps_SetForegroundColor ( HTML_PROPS * pr,
uint32_t c )

Definition at line 111 of file htmlprops.c.

Referenced by HtmlGroup_Box_StartTag().

Here is the caller graph for this function: