|
gwenhywfar
5.10.1
|
#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_PROPS * | HtmlProps_dup (const HTML_PROPS *pro) |
| void | HtmlProps_free (HTML_PROPS *pr) |
| uint32_t | HtmlProps_GetBackgroundColor (const HTML_PROPS *pr) |
| HTML_FONT * | HtmlProps_GetFont (const HTML_PROPS *pr) |
| uint32_t | HtmlProps_GetForegroundColor (const HTML_PROPS *pr) |
| HTML_PROPS * | HtmlProps_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) |
| #define DISABLE_DEBUGLOG |
Definition at line 14 of file htmlprops.c.
| void HtmlProps_Attach | ( | HTML_PROPS * | pr | ) |
Definition at line 73 of file htmlprops.c.
Referenced by HtmlCtx_SetStandardProps(), HtmlGroup_SetProperties(), and HtmlObject_SetProperties().

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


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


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

| HTML_FONT* HtmlProps_GetFont | ( | const HTML_PROPS * | pr | ) |
Definition at line 82 of file htmlprops.c.
Referenced by FOX16_HtmlCtx::_paint(), FOX16_HtmlCtx::_paintAt(), dumpObject(), HtmlGroup_Box_StartTag(), HtmlGroup_TableRow_StartTag(), HtmlObject_Box_Layout(), and HtmlObject_Word_Layout().

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

| 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 129 of file htmlprops.c.
| 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().


| void HtmlProps_SetForegroundColor | ( | HTML_PROPS * | pr, |
| uint32_t | c | ||
| ) |
Definition at line 111 of file htmlprops.c.
Referenced by HtmlGroup_Box_StartTag().

1.8.14