1 /*************************************************************************** 2 begin : Sat Feb 20 2010 3 copyright : (C) 2010 by Martin Preuss 4 email : martin@libchipcard.de 5 6 *************************************************************************** 7 * Please see toplevel file COPYING for license details * 8 ***************************************************************************/ 9 10 11 #ifndef HTMLOBJECT_P_H 12 #define HTMLOBJECT_P_H 13 14 15 #include "htmlobject_be.h" 16 17 18 struct HTML_OBJECT { 19 GWEN_TREE_ELEMENT(HTML_OBJECT) 20 GWEN_INHERIT_ELEMENT(HTML_OBJECT) 21 22 GWEN_XML_CONTEXT *xmlCtx; 23 HTML_OBJECT_TYPE objectType; 24 25 HTML_PROPS *properties; 26 int x; 27 int y; 28 int width; 29 int height; 30 31 uint32_t flags; 32 33 int configuredWidth; 34 int configuredHeight; 35 36 char *text; 37 38 HTML_OBJECT_LAYOUT_FN layoutFn; 39 40 uint32_t refCount; 41 }; 42 43 44 45 #endif 46 47