Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ht_statictext Class Reference

#include <htdialog.h>

Inheritance diagram for ht_statictext:

ht_text ht_view Object AnalyInfoline AnalyserInformation ht_finfo_text ht_listpopup List of all members.

Public Member Functions

void init (bounds *b, const char *text, statictext_align align, bool breaklines=true, bool transparent=false)
virtual void done ()
virtual void draw ()
virtual char * gettext ()
virtual vcp gettextcolor ()
virtual void settext (const char *text)

Protected Member Functions

virtual char * defaultpalette ()

Protected Attributes

char * text
statictext_align align
bool breaklines
bool transparent

Member Function Documentation

char * ht_statictext::defaultpalette  )  [protected, virtual]
 

Reimplemented from ht_view.

Definition at line 2356 of file htdialog.cc.

References palkey_generic_dialog_default.

void ht_statictext::done  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in AnalyserInformation, AnalyInfoline, ht_listpopup, and ht_finfo_text.

Definition at line 2350 of file htdialog.cc.

References ht_view::done(), and text.

Referenced by ht_finfo_text::done(), AnalyInfoline::done(), and AnalyserInformation::done().

void ht_statictext::draw  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_listpopup.

Definition at line 2375 of file htdialog.cc.

References align, align_center, ALIGN_CHAR_CENTER, ALIGN_CHAR_ESCAPE, ALIGN_CHAR_LEFT, ALIGN_CHAR_RIGHT, align_custom, align_left, align_right, breaklines, ht_view::buf_lprint(), ht_view::buf_print(), ht_view::clear(), get_ssst(), gettext(), gettextcolor(), ht_statictext_align(), ht_statictext_linedesc::len, len, malloc(), ht_statictext_linedesc::ofs, ssst_separator, statictext_align, STATICTEXT_MIN_LINE_FILL, ht_statictext_linedesc::text, and transparent.

Referenced by ht_listpopup::draw().

char * ht_statictext::gettext  )  [virtual]
 

Reimplemented in AnalyserInformation, AnalyInfoline, ht_listpopup, and ht_finfo_text.

Definition at line 2462 of file htdialog.cc.

References text.

Referenced by draw().

vcp ht_statictext::gettextcolor  )  [virtual]
 

Reimplemented in ht_listpopup.

Definition at line 2456 of file htdialog.cc.

References ht_view::getcolor(), palidx_generic_body, and vcp.

Referenced by draw().

void ht_statictext::init bounds *  b,
const char *  text,
statictext_align  align,
bool  breaklines = true,
bool  transparent = false
 

Definition at line 2339 of file htdialog.cc.

References align, breaklines, ht_strdup(), Object::init(), text, transparent, VIEW_DEBUG_NAME, VO_OWNBUFFER, and VO_RESIZE.

Referenced by ht_app::create_window_clipboard(), ht_app::create_window_file_bin(), ht_app::create_window_file_text(), ht_app::create_window_help(), ht_app::create_window_term(), eval_dialog(), htpefimports_init(), imsgbox(), ht_expr_search_form::init(), ht_progress_indicator::init(), ht_blockop_dialog::init(), and ht_aviewer::showCallChain().

void ht_statictext::settext const char *  text  )  [virtual]
 

Reimplemented from ht_text.

Definition at line 2467 of file htdialog.cc.

References ht_view::dirtyview(), ht_strdup(), and text.

Referenced by eval_dialog(), and ht_progress_indicator::settext().


Member Data Documentation

statictext_align ht_statictext::align [protected]
 

Definition at line 434 of file htdialog.h.

Referenced by draw(), and init().

bool ht_statictext::breaklines [protected]
 

Definition at line 435 of file htdialog.h.

Referenced by draw(), and init().

char* ht_statictext::text [protected]
 

Definition at line 433 of file htdialog.h.

Referenced by done(), gettext(), init(), and settext().

bool ht_statictext::transparent [protected]
 

Definition at line 436 of file htdialog.h.

Referenced by draw(), and init().


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:16:03 2004 by doxygen 1.3.5