#include <fox16_htmllabel.hpp>
|
void | addMediaPath (const char *s) |
|
void | create () |
|
| FOX16_HtmlLabel (FXComposite *p, const FXString &text, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD) |
|
virtual FXint | getDefaultHeight () |
| Return default height.
|
|
virtual FXint | getDefaultWidth () |
| Return default width.
|
|
FXIcon * | getIcon () const |
|
FXString | getText () const |
| Get the text for this label.
|
|
void | layout () |
|
long | onPaint (FXObject *, FXSelector, void *) |
|
void | setIcon (FXIcon *ic) |
|
void | setMaxDefaultWidth (int i) |
|
void | setMinimumWidth (int i) |
|
void | setText (const FXString &text) |
| Set the text for this label.
|
|
| ~FOX16_HtmlLabel () |
|
Definition at line 22 of file fox16_htmllabel.hpp.
◆ anonymous enum
Enumerator |
---|
FLAGS_NO_WORDWRAP | don't wrap the text. If this flag is given as parameter to the constructor then you'll have to insert line-breaks into the text yourself.
|
FLAGS_USE_FULL_WIDTH | when wrapping words use the full widget width to layout the text. Otherwise the wordwrapping occurrs at the width set by setMaxDefaultWidth().
|
Definition at line 27 of file fox16_htmllabel.hpp.
◆ FOX16_HtmlLabel() [1/2]
FOX16_HtmlLabel |
( |
FXComposite * | p, |
|
|
const FXString & | text, |
|
|
FXuint | opts = 0, |
|
|
FXint | x = 0, |
|
|
FXint | y = 0, |
|
|
FXint | w = 0, |
|
|
FXint | h = 0, |
|
|
FXint | pl = DEFAULT_PAD, |
|
|
FXint | pr = DEFAULT_PAD, |
|
|
FXint | pt = DEFAULT_PAD, |
|
|
FXint | pb = DEFAULT_PAD ) |
◆ ~FOX16_HtmlLabel()
◆ FOX16_HtmlLabel() [2/2]
◆ addMediaPath()
void addMediaPath |
( |
const char * | s | ) |
|
◆ calcDefaultDims()
◆ create()
◆ getDefaultHeight()
virtual FXint getDefaultHeight |
( |
| ) |
|
|
virtual |
◆ getDefaultWidth()
virtual FXint getDefaultWidth |
( |
| ) |
|
|
virtual |
◆ getIcon()
FXIcon * getIcon |
( |
| ) |
const |
|
inline |
◆ getText()
FXString getText |
( |
| ) |
const |
|
inline |
◆ layout()
◆ onPaint()
long onPaint |
( |
FXObject * | , |
|
|
FXSelector | , |
|
|
void * | ) |
◆ setIcon()
void setIcon |
( |
FXIcon * | ic | ) |
|
◆ setMaxDefaultWidth()
void setMaxDefaultWidth |
( |
int | i | ) |
|
|
inline |
◆ setMinimumWidth()
void setMinimumWidth |
( |
int | i | ) |
|
|
inline |
◆ setText()
void setText |
( |
const FXString & | text | ) |
|
Set the text for this label.
◆ updateHtml()
◆ m_defaultHeight
◆ m_defaultWidth
◆ m_haveDefaultDims
◆ m_htmlCtx
◆ m_icon
◆ m_maxDefaultWidth
◆ m_mediaPaths
◆ m_minWidth
◆ m_text
The documentation for this class was generated from the following file: