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

ht_dialog Class Reference

#include <htdialog.h>

Inheritance diagram for ht_dialog:

ht_window ht_group ht_view Object FileBrowser ht_app ht_blockop_dialog ht_listpopup_dialog ht_menu_window ht_search_dialog ht_history_popup_dialog ht_replace_dialog List of all members.

Public Member Functions

void init (bounds *b, const char *desc, UINT framestyle)
virtual void done ()
virtual int alone ()
virtual void draw ()
virtual void handlemsg (htmsg *msg)
void queuemsg (ht_view *target, htmsg *msg)
virtual int getstate (int *return_val)
virtual int run (bool modal)
virtual void setstate (int state, int return_val)

Protected Member Functions

virtual char * defaultpalette ()
ht_queued_msgdequeuemsg ()

Protected Attributes

int state
int return_val
ht_queuemsgqueue

Member Function Documentation

int ht_dialog::alone  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 55 of file htdialog.cc.

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

Reimplemented from ht_view.

Reimplemented in ht_app, and ht_listpopup_dialog.

Definition at line 60 of file htdialog.cc.

References palkey_generic_dialog_default.

ht_queued_msg * ht_dialog::dequeuemsg  )  [protected]
 

Definition at line 65 of file htdialog.cc.

References ht_queue::dequeue(), and msgqueue.

Referenced by run(), and ht_app::run().

void ht_dialog::done  )  [virtual]
 

Reimplemented from ht_window.

Reimplemented in ht_blockop_dialog, ht_app, ht_listpopup_dialog, ht_menu_window, ht_search_dialog, and ht_replace_dialog.

Definition at line 48 of file htdialog.cc.

References ht_window::done(), ht_clist::done(), and msgqueue.

Referenced by ht_uformat_viewer::address_input(), dialog_assemble(), ht_replace_dialog::done(), ht_search_dialog::done(), ht_menu_window::done(), ht_listpopup_dialog::done(), ht_app::done(), ht_blockop_dialog::done(), ht_registry_data_raw::editdialog(), palette_entry::editdialog(), eval_dialog(), ht_aviewer::exportFileDialog(), file_chooser(), file_new_dialog(), file_open_dialog(), ht_aviewer::generateOutputDialog(), imsgbox(), inputboxrect(), ht_text_viewer::popup_change_highlight(), ht_app::popup_view_list(), ht_app::popup_window_list(), ht_uformat_viewer::ref_desc(), ht_uformat_viewer::ref_flags(), ht_text_editor::show_protocol(), ht_aviewer::showCallChain(), ht_aviewer::showComments(), ht_aviewer::showInfo(), ht_aviewer::showSymbols(), ht_aviewer::showXRefs(), and srt_x86().

void ht_dialog::draw  )  [virtual]
 

Reimplemented from ht_window.

Reimplemented in ht_app.

Definition at line 70 of file htdialog.cc.

References ht_view::clear(), ht_view::draw(), ht_view::getcolor(), and palidx_generic_body.

int ht_dialog::getstate int *  return_val  )  [virtual]
 

Definition at line 76 of file htdialog.cc.

References return_val, and state.

Referenced by run().

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

Reimplemented from ht_window.

Reimplemented in ht_app, ht_menu_window, ht_search_dialog, and ht_replace_dialog.

Definition at line 82 of file htdialog.cc.

References button_cancel, button_ok, clearmsg(), ds_term_cancel, ds_term_ok, ht_window::handlemsg(), K_Control_O, K_Escape, K_Return, msg_button_pressed, msg_keypressed, ht_view::sendmsg(), and setstate().

Referenced by ht_search_dialog::handlemsg(), and ht_menu_window::handlemsg().

void ht_dialog::init bounds *  b,
const char *  desc,
UINT  framestyle
 

Definition at line 39 of file htdialog.cc.

References ht_clist::init(), Object::init(), msgqueue, UINT, VIEW_DEBUG_NAME, and VO_SELBOUND.

Referenced by ht_uformat_viewer::address_input(), dialog_assemble(), ht_registry_data_raw::editdialog(), palette_entry::editdialog(), eval_dialog(), file_new_dialog(), imsgbox(), inputboxrect(), ht_text_viewer::popup_change_highlight(), ht_app::popup_view_list(), ht_app::popup_window_list(), ht_uformat_viewer::ref_desc(), ht_uformat_viewer::ref_flags(), ht_aviewer::showCallChain(), ht_aviewer::showComments(), ht_aviewer::showInfo(), ht_aviewer::showSymbols(), ht_aviewer::showXRefs(), and srt_x86().

void ht_dialog::queuemsg ht_view target,
htmsg *  msg
 

Definition at line 155 of file htdialog.cc.

References ht_queue::enqueue(), ht_queued_msg::msg, msgqueue, and ht_queued_msg::target.

int ht_dialog::run bool  modal  )  [virtual]
 

Reimplemented in ht_app.

Definition at line 114 of file htdialog.cc.

References app, baseview, dequeuemsg(), do_idle(), ds_normal, ds_term_cancel, ht_view::focus(), screendrawbuf::getcursor(), ht_view::getselected(), getstate(), ht_getkey(), ht_key, ht_keypressed(), ht_queued_msg::msg, msg_draw, msg_keypressed, return_val, screen, ht_view::sendmsg(), screendrawbuf::setcursor(), setstate(), screendrawbuf::show(), state, and ht_queued_msg::target.

Referenced by ht_uformat_viewer::address_input(), blockop_dialog(), dialog_assemble(), ht_registry_data_raw::editdialog(), palette_entry::editdialog(), eval_dialog(), ht_menu::execute_menu(), execute_submenu(), ht_aviewer::exportFileDialog(), file_chooser(), file_new_dialog(), file_open_dialog(), ht_aviewer::generateOutputDialog(), ht_strinputfield::history_dialog(), imsgbox(), inputboxrect(), ht_text_viewer::popup_change_highlight(), ht_app::popup_view_list(), ht_app::popup_window_list(), ht_uformat_viewer::ref_desc(), ht_uformat_viewer::ref_flags(), replace_dialog(), ht_listpopup::run_listpopup(), search_dialog(), ht_text_editor::show_protocol(), ht_aviewer::showCallChain(), ht_aviewer::showComments(), ht_aviewer::showInfo(), ht_aviewer::showSymbols(), ht_aviewer::showXRefs(), srt_x86(), and text_search_dialog().

void ht_dialog::setstate int  state,
int  return_val
[virtual]
 

Definition at line 163 of file htdialog.cc.

References return_val, and state.

Referenced by handlemsg(), and run().


Member Data Documentation

ht_queue* ht_dialog::msgqueue [protected]
 

Definition at line 57 of file htdialog.h.

Referenced by dequeuemsg(), done(), init(), and queuemsg().

int ht_dialog::return_val [protected]
 

Definition at line 55 of file htdialog.h.

Referenced by getstate(), run(), and setstate().

int ht_dialog::state [protected]
 

Definition at line 54 of file htdialog.h.

Referenced by getstate(), run(), and setstate().


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