14 #define DISABLE_DEBUGLOG 17 #include "htmlprops_p.h" 19 #include <gwenhywfar/misc.h> 65 pr->foregroundColor=pro->foregroundColor;
66 pr->backgroundColor=pro->backgroundColor;
105 assert(pr->refCount);
106 return pr->foregroundColor;
114 assert(pr->refCount);
115 pr->foregroundColor=c;
123 assert(pr->refCount);
124 return pr->backgroundColor;
132 assert(pr->refCount);
133 pr->backgroundColor=c;
void HtmlFont_Attach(HTML_FONT *fnt)
uint32_t HtmlProps_GetBackgroundColor(const HTML_PROPS *pr)
void HtmlProps_free(HTML_PROPS *pr)
HTML_PROPS * HtmlProps_new(void)
void HtmlProps_SetFont(HTML_PROPS *pr, HTML_FONT *fnt)
uint32_t HtmlProps_GetForegroundColor(const HTML_PROPS *pr)
#define GWEN_FREE_OBJECT(varname)
#define HTML_PROPS_NOCOLOR
void HtmlFont_free(HTML_FONT *fnt)
void HtmlProps_Attach(HTML_PROPS *pr)
void HtmlProps_SetBackgroundColor(HTML_PROPS *pr, uint32_t c)
#define GWEN_NEW_OBJECT(typ, varname)
HTML_PROPS * HtmlProps_dup(const HTML_PROPS *pro)
struct HTML_FONT HTML_FONT
void HtmlProps_SetForegroundColor(HTML_PROPS *pr, uint32_t c)
struct HTML_PROPS HTML_PROPS
HTML_FONT * HtmlProps_GetFont(const HTML_PROPS *pr)