gwenhywfar  4.14.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
FOX16_HtmlText Class Reference

#include <fox16_htmltext.hpp>

Inheritance diagram for FOX16_HtmlText:

Public Types

enum  { FLAGS_NO_WORDWRAP = 0x00080000 }
 

Public Member Functions

 FOX16_HtmlText (FXComposite *p, const FXString &text, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
 
virtual FXint getContentHeight ()
 
virtual FXint getContentWidth ()
 
FXString getText () const
 Get the text for this label. More...
 
void layout ()
 
void makePositionVisible (FXint pos)
 
long onPaint (FXObject *, FXSelector, void *)
 
void setMinimumWidth (int i)
 
void setText (const FXString &text)
 Set the text for this label. More...
 
 ~FOX16_HtmlText ()
 

Protected Member Functions

void calcDefaultDims ()
 
 FOX16_HtmlText ()
 
void updateHtml ()
 

Protected Attributes

FXint barwidth
 
FXint m_defaultHeight
 
FXint m_defaultWidth
 
bool m_haveDefaultDims
 
FOX16_HtmlCtxm_htmlCtx
 
int m_maxDefaultWidth
 
int m_minWidth
 
FXString m_text
 
FXint marginbottom
 
FXint marginleft
 
FXint marginright
 
FXint margintop
 

Detailed Description

Definition at line 22 of file fox16_htmltext.hpp.

Member Enumeration Documentation

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.

Definition at line 27 of file fox16_htmltext.hpp.

Constructor & Destructor Documentation

FOX16_HtmlText ( FXComposite *  p,
const FXString &  text,
FXuint  opts = 0,
FXint  x = 0,
FXint  y = 0,
FXint  w = 0,
FXint  h = 0 
)
FOX16_HtmlText ( )
protected

Member Function Documentation

void calcDefaultDims ( )
protected
virtual FXint getContentHeight ( )
virtual
virtual FXint getContentWidth ( )
virtual
FXString getText ( ) const
inline

Get the text for this label.

Definition at line 43 of file fox16_htmltext.hpp.

void layout ( )
void makePositionVisible ( FXint  pos)
long onPaint ( FXObject *  ,
FXSelector  ,
void *   
)
void setMinimumWidth ( int  i)
inline

Definition at line 49 of file fox16_htmltext.hpp.

void setText ( const FXString &  text)

Set the text for this label.

void updateHtml ( )
protected

Field Documentation

FXint barwidth
protected

Definition at line 71 of file fox16_htmltext.hpp.

FXint m_defaultHeight
protected

Definition at line 65 of file fox16_htmltext.hpp.

FXint m_defaultWidth
protected

Definition at line 64 of file fox16_htmltext.hpp.

bool m_haveDefaultDims
protected

Definition at line 63 of file fox16_htmltext.hpp.

FOX16_HtmlCtx* m_htmlCtx
protected

Definition at line 58 of file fox16_htmltext.hpp.

int m_maxDefaultWidth
protected

Definition at line 61 of file fox16_htmltext.hpp.

int m_minWidth
protected

Definition at line 60 of file fox16_htmltext.hpp.

FXString m_text
protected

Definition at line 59 of file fox16_htmltext.hpp.

FXint marginbottom
protected

Definition at line 68 of file fox16_htmltext.hpp.

FXint marginleft
protected

Definition at line 69 of file fox16_htmltext.hpp.

FXint marginright
protected

Definition at line 70 of file fox16_htmltext.hpp.

FXint margintop
protected

Definition at line 67 of file fox16_htmltext.hpp.


The documentation for this class was generated from the following file: