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

ht_strinputfield Class Reference

#include <htdialog.h>

Inheritance diagram for ht_strinputfield:

ht_inputfield ht_view Object List of all members.

Public Member Functions

void init (bounds *b, int maxtextlen, ht_list *history=0)
virtual void done ()
virtual void draw ()
virtual void handlemsg (htmsg *msg)
virtual void receivefocus ()

Protected Member Functions

void correct_viewpoint ()
void history_dialog ()
bool inputbyte (byte a)
bool setbyte (byte a)

Protected Attributes

bool is_virgin
bool selectmode

Member Function Documentation

void ht_strinputfield::correct_viewpoint  )  [protected]
 

Definition at line 742 of file htdialog.cc.

Referenced by handlemsg(), inputbyte(), and receivefocus().

void ht_strinputfield::done  )  [virtual]
 

Reimplemented from ht_inputfield.

Definition at line 737 of file htdialog.cc.

References ht_inputfield::done().

void ht_strinputfield::draw  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 748 of file htdialog.cc.

References ht_view::buf_printchar(), byte, CHAR_ARROW_DOWN, cm_normal, cm_overwrite, ht_list::count(), ht_view::fill(), ht_view::getcolor(), palidx_generic_input_clip, palidx_generic_input_focused, palidx_generic_input_selected, palidx_generic_input_unfocused, and ht_view::setcursor().

void ht_strinputfield::handlemsg htmsg *  msg  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 787 of file htdialog.cc.

References buf, byte, clearmsg(), clipboard_copy(), clipboard_getsize(), clipboard_paste(), correct_viewpoint(), ht_view::dirtyview(), ht_view::handlemsg(), history_dialog(), inputbyte(), is_virgin, K_Alt_C, K_Alt_D, K_Alt_S, K_Alt_V, K_Alt_X, K_Backspace, K_Control_Delete, K_Control_Insert, K_Delete, K_Down, K_End, K_Home, K_Insert, K_Left, K_Right, K_Shift_Delete, K_Shift_End, K_Shift_Home, K_Shift_Insert, K_Shift_Left, K_Shift_Right, K_Up, malloc(), MIN, msg_keypressed, mt_empty, ht_inputfield::select_add(), selectmode, and setbyte().

void ht_strinputfield::history_dialog  )  [protected]
 

Definition at line 988 of file htdialog.cc.

References byte, ht_list::count(), ht_history_entry::data, ht_view::databuf_get(), ht_view::databuf_set(), ht_history_entry::datafile, ht_listpopup_dialog::done(), ht_list::get(), ht_view::getbounds(), ht_history_popup_dialog::init(), is_virgin, ht_dialog::run(), ht_mem_file::seek(), and ht_group::setdata().

Referenced by handlemsg().

void ht_strinputfield::init bounds *  b,
int  maxtextlen,
ht_list history = 0
 

Reimplemented from ht_inputfield.

Definition at line 729 of file htdialog.cc.

References Object::init(), is_virgin, selectmode, and VIEW_DEBUG_NAME.

Referenced by ht_uformat_viewer::address_input(), eval_dialog(), ht_replace_hexascii_search_form::init(), ht_expr_search_form::init(), ht_vregex_search_form::init(), ht_evalstr_search_form::init(), ht_hexascii_search_form::init(), FileBrowser::init(), ht_blockop_dialog::init(), and inputboxrect().

bool ht_strinputfield::inputbyte byte  a  )  [protected]
 

Definition at line 1026 of file htdialog.cc.

References correct_viewpoint(), is_virgin, and setbyte().

Referenced by handlemsg().

void ht_strinputfield::receivefocus  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 1020 of file htdialog.cc.

References correct_viewpoint(), and ht_view::receivefocus().

bool ht_strinputfield::setbyte byte  a  )  [protected]
 

Definition at line 1037 of file htdialog.cc.

References ht_inputfield::insertbyte().

Referenced by handlemsg(), and inputbyte().


Member Data Documentation

bool ht_strinputfield::is_virgin [protected]
 

Definition at line 185 of file htdialog.h.

Referenced by handlemsg(), history_dialog(), init(), and inputbyte().

bool ht_strinputfield::selectmode [protected]
 

Definition at line 186 of file htdialog.h.

Referenced by handlemsg(), 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