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)
void HtmlFont_free(HTML_FONT *fnt)
struct HTML_FONT HTML_FONT
HTML_PROPS * HtmlProps_dup(const HTML_PROPS *pro)
HTML_FONT * HtmlProps_GetFont(const HTML_PROPS *pr)
void HtmlProps_SetBackgroundColor(HTML_PROPS *pr, uint32_t c)
uint32_t HtmlProps_GetBackgroundColor(const HTML_PROPS *pr)
void HtmlProps_SetFont(HTML_PROPS *pr, HTML_FONT *fnt)
void HtmlProps_free(HTML_PROPS *pr)
void HtmlProps_SetForegroundColor(HTML_PROPS *pr, uint32_t c)
void HtmlProps_Attach(HTML_PROPS *pr)
uint32_t HtmlProps_GetForegroundColor(const HTML_PROPS *pr)
HTML_PROPS * HtmlProps_new(void)
struct HTML_PROPS HTML_PROPS
#define HTML_PROPS_NOCOLOR
#define GWEN_FREE_OBJECT(varname)
#define GWEN_NEW_OBJECT(typ, varname)