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

ht_search_dialog Class Reference

#include <htsearch.h>

Inheritance diagram for ht_search_dialog:

ht_dialog ht_window ht_group ht_view Object ht_replace_dialog List of all members.

Public Member Functions

void init (bounds *b, const char *title)
virtual void done ()
virtual void handlemsg (htmsg *msg)
void insert_search_mode (int id, char *desc, ht_view *v)
void select_search_mode (int id)
ht_viewget_search_modeform ()
int get_search_modeid ()

Public Attributes

ht_xgroupsearch_mode_xgroup

Protected Member Functions

int find_search_mode (int id)
void select_search_mode_bymodeidx ()

Protected Attributes

ht_listpopupsearch_mode_popup
int smodeidx
int smodecount
ht_search_dialog_mode smodes [MAX_SEARCH_DIALOG_MODES]

Member Function Documentation

void ht_search_dialog::done  )  [virtual]
 

Reimplemented from ht_dialog.

Reimplemented in ht_replace_dialog.

Definition at line 1321 of file htsearch.cc.

References ht_dialog::done().

Referenced by search_dialog(), and text_search_dialog().

int ht_search_dialog::find_search_mode int  id  )  [protected]
 

Definition at line 1326 of file htsearch.cc.

References ht_search_dialog_mode::id, smodecount, and smodes.

Referenced by select_search_mode().

ht_view * ht_search_dialog::get_search_modeform  ) 
 

Definition at line 1354 of file htsearch.cc.

References smodeidx, and smodes.

Referenced by replace_dialog(), search_dialog(), and text_search_dialog().

int ht_search_dialog::get_search_modeid  ) 
 

Definition at line 1349 of file htsearch.cc.

References smodeidx, and smodes.

Referenced by replace_dialog(), search_dialog(), and text_search_dialog().

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

Reimplemented from ht_dialog.

Reimplemented in ht_replace_dialog.

Definition at line 1336 of file htsearch.cc.

References ht_view::databuf_get(), ht_dialog::handlemsg(), ht_listpopup_data, msg_keypressed, search_mode_popup, select_search_mode_bymodeidx(), and smodeidx.

Referenced by ht_replace_dialog::handlemsg().

void ht_search_dialog::init bounds *  b,
const char *  title
 

Definition at line 1286 of file htsearch.cc.

References FS_KILLER, FS_MOVE, FS_TITLE, ht_xgroup::init(), ht_label::init(), ht_listpopup::init(), Object::init(), ht_window::insert(), MIN, search_mode_popup, search_mode_xgroup, smodecount, smodeidx, VIEW_DEBUG_NAME, and VO_SELECTABLE.

Referenced by search_dialog(), and text_search_dialog().

void ht_search_dialog::insert_search_mode int  id,
char *  desc,
ht_view v
 

Definition at line 1359 of file htsearch.cc.

References ht_group::focus(), ht_group::insert(), ht_listpopup::insertstring(), MAX_SEARCH_DIALOG_MODES, search_mode_popup, search_mode_xgroup, smodecount, and smodes.

Referenced by replace_dialog(), search_dialog(), and text_search_dialog().

void ht_search_dialog::select_search_mode int  id  ) 
 

Definition at line 1371 of file htsearch.cc.

References find_search_mode(), select_search_mode_bymodeidx(), and smodeidx.

Referenced by replace_dialog(), and search_dialog().

void ht_search_dialog::select_search_mode_bymodeidx  )  [protected]
 

Definition at line 1380 of file htsearch.cc.

References ht_view::databuf_set(), ht_group::focus(), ht_listpopup_data, msg_dirtyview, search_mode_popup, ht_view::sendmsg(), smodeidx, and smodes.

Referenced by handlemsg(), and select_search_mode().


Member Data Documentation

ht_listpopup* ht_search_dialog::search_mode_popup [protected]
 

Definition at line 230 of file htsearch.h.

Referenced by handlemsg(), init(), insert_search_mode(), and select_search_mode_bymodeidx().

ht_xgroup* ht_search_dialog::search_mode_xgroup
 

Definition at line 239 of file htsearch.h.

Referenced by init(), insert_search_mode(), replace_dialog(), search_dialog(), and text_search_dialog().

int ht_search_dialog::smodecount [protected]
 

Definition at line 233 of file htsearch.h.

Referenced by find_search_mode(), init(), and insert_search_mode().

int ht_search_dialog::smodeidx [protected]
 

Definition at line 232 of file htsearch.h.

Referenced by get_search_modeform(), get_search_modeid(), handlemsg(), init(), select_search_mode(), and select_search_mode_bymodeidx().

ht_search_dialog_mode ht_search_dialog::smodes[MAX_SEARCH_DIALOG_MODES] [protected]
 

Definition at line 234 of file htsearch.h.

Referenced by find_search_mode(), get_search_modeform(), get_search_modeid(), insert_search_mode(), and select_search_mode_bymodeidx().


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