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

ht_inputfield Class Reference

#include <htdialog.h>

Inheritance diagram for ht_inputfield:

ht_view Object ht_hexinputfield ht_strinputfield List of all members.

Public Member Functions

void init (bounds *b, int maxtextlen, ht_list *history=0)
virtual void done ()
virtual int datasize ()
virtual void getdata (ht_object_stream *s)
virtual void setdata (ht_object_stream *s)
void attach (ht_inputfield *inputfield)
void query (byte ***curchar, byte ***text, byte ***selstart, byte ***selend, int **textlen, int **maxtextlen)
void isetcursor (UINT pos)

Protected Member Functions

void freebuf ()
int insertbyte (byte *pos, byte b)
void select_add (byte *start, byte *end)
virtual char * defaultpalette ()

Protected Attributes

byte ** text
byte * textv
byte ** curchar
byte * curcharv
byte ** selstart
byte * selstartv
byte ** selend
byte * selendv
int * textlen
int textlenv
int * maxtextlen
int maxtextlenv
int insert
int ofs
ht_inputfieldattachedto
ht_listhistory

Member Function Documentation

void ht_inputfield::attach ht_inputfield inputfield  ) 
 

Definition at line 601 of file htdialog.cc.

References attachedto, curchar, freebuf(), insert, maxtextlen, ofs, query(), selend, selstart, text, and textlen.

Referenced by ht_replace_hexascii_search_form::init(), and ht_hexascii_search_form::init().

int ht_inputfield::datasize  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 610 of file htdialog.cc.

Referenced by ht_uformat_viewer::address_input(), getdata(), inputboxrect(), and setdata().

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

Reimplemented from ht_view.

Definition at line 615 of file htdialog.cc.

References palkey_generic_dialog_default.

void ht_inputfield::done  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_strinputfield, and ht_hexinputfield.

Definition at line 595 of file htdialog.cc.

References ht_view::done(), and freebuf().

Referenced by ht_hexinputfield::done(), and ht_strinputfield::done().

void ht_inputfield::freebuf  )  [protected]
 

Definition at line 620 of file htdialog.cc.

References attachedto, and text.

Referenced by attach(), and done().

void ht_inputfield::getdata ht_object_stream s  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 625 of file htdialog.cc.

References attachedto, datasize(), NULL, ht_object_stream::putBinary(), ht_object_stream::putIntDec(), ht_object_stream::recordEnd(), ht_object_stream::recordStart(), text, textlen, and UINT.

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

Reimplemented in ht_strinputfield.

Definition at line 569 of file htdialog.cc.

References attachedto, byte, curchar, curcharv, history, Object::init(), insert, malloc(), maxtextlen, maxtextlenv, ofs, selend, selendv, selstart, selstartv, text, textlen, textlenv, textv, VIEW_DEBUG_NAME, and VO_SELECTABLE.

int ht_inputfield::insertbyte byte *  pos,
byte  b
[protected]
 

Definition at line 635 of file htdialog.cc.

References ht_view::dirtyview(), maxtextlen, selend, selstart, text, and textlen.

Referenced by ht_strinputfield::setbyte(), and ht_hexinputfield::setnibble().

void ht_inputfield::isetcursor UINT  pos  ) 
 

Definition at line 655 of file htdialog.cc.

References curchar, text, textlen, and UINT.

void ht_inputfield::query byte ***  curchar,
byte ***  text,
byte ***  selstart,
byte ***  selend,
int **  textlen,
int **  maxtextlen
 

Definition at line 660 of file htdialog.cc.

References curchar, maxtextlen, selend, selstart, text, and textlen.

Referenced by attach().

void ht_inputfield::select_add byte *  start,
byte *  end
[protected]
 

Definition at line 670 of file htdialog.cc.

References byte, selend, and selstart.

Referenced by ht_strinputfield::handlemsg().

void ht_inputfield::setdata ht_object_stream s  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 696 of file htdialog.cc.

References attachedto, curchar, curcharv, datasize(), ht_view::dirtyview(), ht_object_stream::getBinary(), ht_object_stream::getIntDec(), maxtextlen, NULL, ofs, ht_object_stream::recordEnd(), ht_object_stream::recordStart(), selend, selstart, text, textlen, textlenv, and UINT.


Member Data Documentation

ht_inputfield* ht_inputfield::attachedto [protected]
 

Definition at line 156 of file htdialog.h.

Referenced by attach(), freebuf(), getdata(), init(), and setdata().

byte** ht_inputfield::curchar [protected]
 

Definition at line 149 of file htdialog.h.

Referenced by attach(), init(), isetcursor(), query(), and setdata().

byte * ht_inputfield::curcharv [protected]
 

Definition at line 149 of file htdialog.h.

Referenced by init(), and setdata().

ht_list* ht_inputfield::history [protected]
 

Definition at line 157 of file htdialog.h.

Referenced by init().

int ht_inputfield::insert [protected]
 

Definition at line 154 of file htdialog.h.

Referenced by attach(), and init().

int* ht_inputfield::maxtextlen [protected]
 

Definition at line 153 of file htdialog.h.

Referenced by attach(), init(), insertbyte(), query(), and setdata().

int ht_inputfield::maxtextlenv [protected]
 

Definition at line 153 of file htdialog.h.

Referenced by init().

int ht_inputfield::ofs [protected]
 

Definition at line 155 of file htdialog.h.

Referenced by attach(), init(), and setdata().

byte** ht_inputfield::selend [protected]
 

Definition at line 151 of file htdialog.h.

Referenced by attach(), init(), insertbyte(), query(), select_add(), and setdata().

byte * ht_inputfield::selendv [protected]
 

Definition at line 151 of file htdialog.h.

Referenced by init().

byte** ht_inputfield::selstart [protected]
 

Definition at line 150 of file htdialog.h.

Referenced by attach(), init(), insertbyte(), query(), select_add(), and setdata().

byte * ht_inputfield::selstartv [protected]
 

Definition at line 150 of file htdialog.h.

Referenced by init().

byte** ht_inputfield::text [protected]
 

Definition at line 148 of file htdialog.h.

Referenced by attach(), freebuf(), getdata(), init(), insertbyte(), isetcursor(), query(), and setdata().

int* ht_inputfield::textlen [protected]
 

Definition at line 152 of file htdialog.h.

Referenced by attach(), getdata(), init(), insertbyte(), isetcursor(), query(), and setdata().

int ht_inputfield::textlenv [protected]
 

Definition at line 152 of file htdialog.h.

Referenced by init(), and setdata().

byte * ht_inputfield::textv [protected]
 

Definition at line 148 of file htdialog.h.

Referenced by init().


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