11 #ifndef FOX16_HTMLLABEL_HPP 12 #define FOX16_HTMLLABEL_HPP 31 FLAGS_NO_WORDWRAP = 0x00080000,
35 FLAGS_USE_FULL_WIDTH = 0x00040000
40 FXint x=0, FXint y=0, FXint w=0, FXint h=0,
41 FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD,
42 FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD);
46 void setText(
const FXString& text);
49 FXString
getText()
const {
return m_text; }
51 FXIcon *
getIcon()
const {
return m_icon;};
52 void setIcon(FXIcon *ic);
54 void addMediaPath(
const char *s);
57 virtual FXint getDefaultWidth();
60 virtual FXint getDefaultHeight();
67 long onPaint(FXObject*, FXSelector,
void*);
87 void calcDefaultDims();
void setMinimumWidth(int i)
GWEN_STRINGLIST * m_mediaPaths
FXString getText() const
Get the text for this label.
struct GWEN_STRINGLISTSTRUCT GWEN_STRINGLIST
void setMaxDefaultWidth(int i)
FOX16_HtmlCtx * m_htmlCtx