Defines | Functions

htmlobject.c File Reference

#include "htmlobject_p.h"
#include <gwenhywfar/misc.h>
#include <gwenhywfar/debug.h>
#include <assert.h>
#include <string.h>

Go to the source code of this file.

Defines

#define DISABLE_DEBUGLOG

Functions

void HtmlObject_AddFlags (HTML_OBJECT *o, uint32_t fl)
void HtmlObject_Attach (HTML_OBJECT *o)
void HtmlObject_free (HTML_OBJECT *o)
int HtmlObject_GetConfiguredHeight (const HTML_OBJECT *o)
int HtmlObject_GetConfiguredWidth (const HTML_OBJECT *o)
uint32_t HtmlObject_GetFlags (const HTML_OBJECT *o)
int HtmlObject_GetHeight (const HTML_OBJECT *o)
HTML_OBJECT_TYPE HtmlObject_GetObjectType (const HTML_OBJECT *o)
HTML_PROPSHtmlObject_GetProperties (const HTML_OBJECT *o)
const char * HtmlObject_GetText (const HTML_OBJECT *o)
int HtmlObject_GetWidth (const HTML_OBJECT *o)
int HtmlObject_GetX (const HTML_OBJECT *o)
GWEN_XML_CONTEXTHtmlObject_GetXmlCtx (const HTML_OBJECT *o)
int HtmlObject_GetY (const HTML_OBJECT *o)
int HtmlObject_Layout (HTML_OBJECT *o)
HTML_OBJECTHtmlObject_new (GWEN_XML_CONTEXT *ctx, HTML_OBJECT_TYPE t)
void HtmlObject_SetConfiguredHeight (HTML_OBJECT *o, int i)
void HtmlObject_SetConfiguredWidth (HTML_OBJECT *o, int i)
void HtmlObject_SetFlags (HTML_OBJECT *o, uint32_t fl)
void HtmlObject_SetHeight (HTML_OBJECT *o, int i)
HTML_OBJECT_LAYOUT_FN HtmlObject_SetLayoutFn (HTML_OBJECT *o, HTML_OBJECT_LAYOUT_FN fn)
void HtmlObject_SetObjectType (HTML_OBJECT *o, HTML_OBJECT_TYPE t)
void HtmlObject_SetProperties (HTML_OBJECT *o, HTML_PROPS *pr)
void HtmlObject_SetText (HTML_OBJECT *o, const char *s)
void HtmlObject_SetWidth (HTML_OBJECT *o, int i)
void HtmlObject_SetX (HTML_OBJECT *o, int i)
void HtmlObject_SetY (HTML_OBJECT *o, int i)
void HtmlObject_SubFlags (HTML_OBJECT *o, uint32_t fl)

Define Documentation

#define DISABLE_DEBUGLOG

Definition at line 14 of file htmlobject.c.


Function Documentation

void HtmlObject_AddFlags ( HTML_OBJECT o,
uint32_t  fl 
)
void HtmlObject_Attach ( HTML_OBJECT o  ) 

Definition at line 66 of file htmlobject.c.

void HtmlObject_free ( HTML_OBJECT o  ) 

Definition at line 46 of file htmlobject.c.

References GWEN_FREE_OBJECT, GWEN_INHERIT_FINI, GWEN_TREE_FINI, and HtmlProps_free().

int HtmlObject_GetConfiguredHeight ( const HTML_OBJECT o  ) 

Definition at line 197 of file htmlobject.c.

int HtmlObject_GetConfiguredWidth ( const HTML_OBJECT o  ) 

Definition at line 181 of file htmlobject.c.

uint32_t HtmlObject_GetFlags ( const HTML_OBJECT o  ) 

Definition at line 231 of file htmlobject.c.

Referenced by dumpObject(), and HtmlObject_Box_Layout().

int HtmlObject_GetHeight ( const HTML_OBJECT o  ) 
HTML_OBJECT_TYPE HtmlObject_GetObjectType ( const HTML_OBJECT o  ) 
HTML_PROPS* HtmlObject_GetProperties ( const HTML_OBJECT o  ) 
const char* HtmlObject_GetText ( const HTML_OBJECT o  ) 
int HtmlObject_GetWidth ( const HTML_OBJECT o  ) 
int HtmlObject_GetX ( const HTML_OBJECT o  ) 
GWEN_XML_CONTEXT* HtmlObject_GetXmlCtx ( const HTML_OBJECT o  ) 

Definition at line 74 of file htmlobject.c.

Referenced by HtmlObject_Box_Layout(), and HtmlObject_Word_Layout().

int HtmlObject_GetY ( const HTML_OBJECT o  ) 

Definition at line 133 of file htmlobject.c.

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

int HtmlObject_Layout ( HTML_OBJECT o  ) 

Definition at line 267 of file htmlobject.c.

Referenced by HtmlCtx_Layout(), HtmlObject_Box_Layout(), and HtmlObject_Grid_Layout().

HTML_OBJECT* HtmlObject_new ( GWEN_XML_CONTEXT ctx,
HTML_OBJECT_TYPE  t 
)
void HtmlObject_SetConfiguredHeight ( HTML_OBJECT o,
int  i 
)

Definition at line 205 of file htmlobject.c.

void HtmlObject_SetConfiguredWidth ( HTML_OBJECT o,
int  i 
)

Definition at line 189 of file htmlobject.c.

void HtmlObject_SetFlags ( HTML_OBJECT o,
uint32_t  fl 
)

Definition at line 240 of file htmlobject.c.

void HtmlObject_SetHeight ( HTML_OBJECT o,
int  i 
)
HTML_OBJECT_LAYOUT_FN HtmlObject_SetLayoutFn ( HTML_OBJECT o,
HTML_OBJECT_LAYOUT_FN  fn 
)
void HtmlObject_SetObjectType ( HTML_OBJECT o,
HTML_OBJECT_TYPE  t 
)

Definition at line 90 of file htmlobject.c.

Referenced by HtmlObject_GridEntry_new().

void HtmlObject_SetProperties ( HTML_OBJECT o,
HTML_PROPS pr 
)
void HtmlObject_SetText ( HTML_OBJECT o,
const char *  s 
)

Definition at line 221 of file htmlobject.c.

Referenced by HtmlObject_Word_new().

void HtmlObject_SetWidth ( HTML_OBJECT o,
int  i 
)
void HtmlObject_SetX ( HTML_OBJECT o,
int  i 
)

Definition at line 125 of file htmlobject.c.

Referenced by HtmlObject_Box_Layout(), and HtmlObject_Grid_Layout().

void HtmlObject_SetY ( HTML_OBJECT o,
int  i 
)

Definition at line 141 of file htmlobject.c.

Referenced by HtmlObject_Box_Layout(), and HtmlObject_Grid_Layout().

void HtmlObject_SubFlags ( HTML_OBJECT o,
uint32_t  fl 
)

Definition at line 258 of file htmlobject.c.