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

htobj.h File Reference

#include "common.h"
#include "htcurses.h"

Go to the source code of this file.

Classes

struct  gsi_scrollbar_t
class  ht_frame
class  ht_group
class  ht_hbar
class  ht_scrollbar
class  ht_text
class  ht_vbar
class  ht_view
class  ht_window
class  ht_xgroup
struct  palette

Defines

#define msg_message   0x00000000
#define HT_MESSAGE(m)   (msg_message+(m))
#define msg_empty   HT_MESSAGE(0)
#define msg_retval   HT_MESSAGE(1)
#define msg_draw   HT_MESSAGE(2)
#define msg_keypressed   HT_MESSAGE(3)
#define msg_kill   HT_MESSAGE(4)
#define msg_complete_init   HT_MESSAGE(5)
#define msg_funcexec   HT_MESSAGE(6)
#define msg_funcquery   HT_MESSAGE(7)
#define msg_menucapquery   HT_MESSAGE(8)
#define msg_menuquery   HT_MESSAGE(9)
#define msg_button_pressed   HT_MESSAGE(10)
#define msg_dirtyview   HT_MESSAGE(11)
#define msg_config_changed   HT_MESSAGE(12)
#define msg_accept_close   HT_MESSAGE(13)
#define msg_file_changed   HT_MESSAGE(14)
#define msg_get_scrollinfo   HT_MESSAGE(15)
#define msg_get_analyser   HT_MESSAGE(16)
#define msg_set_analyser   HT_MESSAGE(17)
#define msg_postinit   HT_MESSAGE(18)
#define msg_contextmenuquery   HT_MESSAGE(19)
#define msg_project_changed   HT_MESSAGE(20)
#define msg_vstate_save   HT_MESSAGE(21)
#define msg_vstate_restore   HT_MESSAGE(22)
#define msg_goto_offset   HT_MESSAGE(23)
#define msg_filesize_changed   HT_MESSAGE(100)
#define msg_log_changed   HT_MESSAGE(101)
#define gsi_pindicator   1
#define gsi_hscrollbar   2
#define gsi_vscrollbar   3
#define mt_empty   0
#define mt_broadcast   1
#define mt_preprocess   2
#define mt_postprocess   3
#define VO_OWNBUFFER   1
#define VO_BROWSABLE   2
#define VO_SELECTABLE   4
#define VO_SELBOUND   8
#define VO_PREPROCESS   16
#define VO_POSTPROCESS   32
#define VO_MOVE   64
#define VO_RESIZE   128
#define VO_FORMAT_VIEW   256
#define VO_TRANSPARENT_CHARS   512
#define VIEW_DEBUG_NAME(name)   ht_view::view_debug_name=name;
#define GMV_TOP   0
#define GMV_BOTTOM   1
#define GMV_FIT   2
#define GMH_LEFT   0
#define GMH_RIGHT   1
#define GMH_FIT   2
#define GET_GM_H(gm)   ((gm)>>16)
#define GET_GM_V(gm)   ((gm)&0xffff)
#define MK_GM(gmh, gmv)   ((gmv) | ((gmh)<<16))
#define FS_KILLER   1
#define FS_TITLE   2
#define FS_NUMBER   4
#define FS_RESIZE   8
#define FS_MOVE   16
#define FS_THICK   32
#define FST_FOCUSED   0
#define FST_UNFOCUSED   1
#define FST_MOVE   2
#define FST_RESIZE   3
#define WAC_NORMAL   0
#define WAC_MOVE   1
#define WAC_RESIZE   2

Enumerations

enum  cursor_mode { cm_normal, cm_overwrite }

Functions

void clearmsg (htmsg *msg)
bool scrollbar_pos (int start, int size, int all, int *pstart, int *psize)
bool init_obj ()
void done_obj ()


Define Documentation

#define FS_KILLER   1
 

Definition at line 328 of file htobj.h.

Referenced by ht_uformat_viewer::address_input(), 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_log(), ht_app::create_window_ofm(), ht_app::create_window_project(), ht_app::create_window_term(), dialog_assemble(), ht_frame::draw(), ht_registry_data_raw::editdialog(), palette_entry::editdialog(), ht_aviewer::exportFileDialog(), file_new_dialog(), ht_aviewer::generateOutputDialog(), imsgbox(), ht_search_dialog::init(), FileBrowser::init(), ht_blockop_dialog::init(), 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().

#define FS_MOVE   16
 

Definition at line 332 of file htobj.h.

Referenced by ht_uformat_viewer::address_input(), 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_log(), ht_app::create_window_ofm(), ht_app::create_window_project(), ht_app::create_window_term(), dialog_assemble(), ht_frame::draw(), eval_dialog(), ht_menu::execute_menu(), execute_submenu(), ht_aviewer::exportFileDialog(), file_new_dialog(), ht_aviewer::generateOutputDialog(), imsgbox(), ht_search_dialog::init(), ht_listpopup_dialog::init(), FileBrowser::init(), ht_blockop_dialog::init(), 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_window::setframe(), ht_text_editor::show_protocol(), ht_aviewer::showCallChain(), ht_aviewer::showComments(), ht_aviewer::showInfo(), ht_aviewer::showSymbols(), ht_aviewer::showXRefs(), and srt_x86().

#define FS_NUMBER   4
 

Definition at line 330 of file htobj.h.

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_log(), ht_app::create_window_ofm(), ht_app::create_window_project(), ht_app::create_window_term(), and ht_frame::draw().

#define FS_RESIZE   8
 

Definition at line 331 of file htobj.h.

Referenced by ht_uformat_viewer::address_input(), 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_log(), ht_app::create_window_ofm(), ht_app::create_window_project(), ht_app::create_window_term(), ht_frame::draw(), eval_dialog(), file_new_dialog(), imsgbox(), FileBrowser::init(), inputboxrect(), ht_text_viewer::popup_change_highlight(), ht_window::setframe(), ht_aviewer::showSymbols(), and ht_aviewer::showXRefs().

#define FS_THICK   32
 

Definition at line 333 of file htobj.h.

Referenced by ht_frame::draw(), ht_window::receivefocus(), and ht_window::releasefocus().

#define FS_TITLE   2
 

Definition at line 329 of file htobj.h.

Referenced by ht_uformat_viewer::address_input(), 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_log(), ht_app::create_window_ofm(), ht_app::create_window_project(), ht_app::create_window_term(), dialog_assemble(), ht_frame::draw(), ht_registry_data_raw::editdialog(), palette_entry::editdialog(), eval_dialog(), ht_aviewer::exportFileDialog(), file_new_dialog(), ht_aviewer::generateOutputDialog(), imsgbox(), ht_search_dialog::init(), ht_listpopup_dialog::init(), FileBrowser::init(), ht_blockop_dialog::init(), inputboxrect(), ht_text_viewer::popup_change_highlight(), ht_app::popup_view_list(), ht_app::popup_window_list(), 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().

#define FST_FOCUSED   0
 

Definition at line 335 of file htobj.h.

Referenced by ht_frame::draw(), ht_frame::getcurcol_normal(), and ht_window::next_action_state().

#define FST_MOVE   2
 

Definition at line 337 of file htobj.h.

Referenced by ht_frame::draw(), ht_frame::getcurcol_normal(), and ht_window::next_action_state().

#define FST_RESIZE   3
 

Definition at line 338 of file htobj.h.

Referenced by ht_frame::draw(), ht_frame::getcurcol_normal(), and ht_window::next_action_state().

#define FST_UNFOCUSED   1
 

Definition at line 336 of file htobj.h.

Referenced by ht_frame::draw(), ht_frame::getcurcol_normal(), and ht_frame::init().

#define GET_GM_H gm   )     ((gm)>>16)
 

Definition at line 112 of file htobj.h.

Referenced by ht_group::reorder_view().

#define GET_GM_V gm   )     ((gm)&0xffff)
 

Definition at line 113 of file htobj.h.

Referenced by ht_group::reorder_view().

#define GMH_FIT   2
 

Definition at line 110 of file htobj.h.

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(), imsgbox(), ht_text_viewer::init(), ht_treeview::init(), ht_frame::init(), ht_scrollbar::init(), ht_group::init(), ht_viewer::init(), ht_listbox::init(), ht_listbox_title::init(), and ht_group::reorder_view().

#define GMH_LEFT   0
 

Definition at line 108 of file htobj.h.

Referenced by eval_dialog(), imsgbox(), ht_view::init(), ht_group::reorder_view(), and ht_aviewer::showXRefs().

#define GMH_RIGHT   1
 

Definition at line 109 of file htobj.h.

Referenced by ht_scrollbar::init(), and ht_group::reorder_view().

#define GMV_BOTTOM   1
 

Definition at line 105 of file htobj.h.

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(), imsgbox(), ht_scrollbar::init(), ht_group::reorder_view(), and ht_aviewer::showXRefs().

#define GMV_FIT   2
 

Definition at line 106 of file htobj.h.

Referenced by eval_dialog(), imsgbox(), ht_text_viewer::init(), ht_treeview::init(), ht_frame::init(), ht_scrollbar::init(), ht_group::init(), ht_viewer::init(), ht_listbox::init(), ht_listbox_title::init(), and ht_group::reorder_view().

#define GMV_TOP   0
 

Definition at line 104 of file htobj.h.

Referenced by ht_view::init(), and ht_group::reorder_view().

#define gsi_hscrollbar   2
 

Definition at line 68 of file htobj.h.

Referenced by ht_text_viewer::handlemsg(), ht_uformat_viewer::handlemsg(), ht_disasm_viewer::handlemsg(), and ht_window::redraw().

#define gsi_pindicator   1
 

Definition at line 67 of file htobj.h.

Referenced by ht_text_viewer::handlemsg(), ht_uformat_viewer::handlemsg(), ht_disasm_viewer::handlemsg(), and ht_window::redraw().

#define gsi_vscrollbar   3
 

Definition at line 69 of file htobj.h.

Referenced by ht_text_viewer::handlemsg(), ht_uformat_viewer::handlemsg(), ht_disasm_viewer::handlemsg(), ht_logviewer::handlemsg(), and ht_window::redraw().

#define HT_MESSAGE  )     (msg_message+(m))
 

Definition at line 37 of file htobj.h.

#define MK_GM gmh,
gmv   )     ((gmv) | ((gmh)<<16))
 

Definition at line 115 of file htobj.h.

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(), imsgbox(), ht_text_viewer::init(), ht_treeview::init(), ht_frame::init(), ht_scrollbar::init(), ht_group::init(), ht_view::init(), ht_viewer::init(), ht_listbox::init(), ht_listbox_title::init(), and ht_aviewer::showXRefs().

#define msg_accept_close   HT_MESSAGE(13)
 

Definition at line 52 of file htobj.h.

Referenced by ht_app::accept_close_all_windows(), ht_file_window::handlemsg(), and ht_app::handlemsg().

#define msg_button_pressed   HT_MESSAGE(10)
 

Definition at line 49 of file htobj.h.

Referenced by ht_menu_window::handlemsg(), ht_context_menu_window_body::handlemsg(), ht_dialog::handlemsg(), and ht_button::push().

#define msg_complete_init   HT_MESSAGE(5)
 

Definition at line 44 of file htobj.h.

Referenced by ht_xgroup::handlemsg(), ht_uformat_viewer::handlemsg(), htclassimage_init(), htpefimage_init(), ht_format_group::init_if(), ht_uformat_viewer::ref_flags(), and ht_clipboard_viewer::update_content().

#define msg_config_changed   HT_MESSAGE(12)
 

Definition at line 51 of file htobj.h.

Referenced by RegistryFs::createFile(), RegistryFs::deleteFile(), RegNodeFile::done(), ht_view::handlemsg(), ht_status::handlemsg(), ht_app::load(), and RegistryFs::open().

#define msg_contextmenuquery   HT_MESSAGE(19)
 

Definition at line 58 of file htobj.h.

Referenced by ht_text_editor::handlemsg(), ht_hex_viewer::handlemsg(), ht_disasm_viewer::handlemsg(), ht_project_window::handlemsg(), ht_aviewer::handlemsg(), and ht_window::receivefocus().

#define msg_dirtyview   HT_MESSAGE(11)
 

Definition at line 50 of file htobj.h.

Referenced by ht_window::handlemsg(), ht_view::handlemsg(), ht_app::handlemsg(), ht_window::receivefocus(), ht_window::releasefocus(), ht_replace_dialog::select_replace_mode_bymodeidx(), ht_search_dialog::select_search_mode_bymodeidx(), and ht_view::sendmsg().

#define msg_draw   HT_MESSAGE(2)
 

Definition at line 41 of file htobj.h.

Referenced by execute_process(), ht_xgroup::handlemsg(), ht_view::handlemsg(), ht_app::handlemsg(), ht_aviewer::handlemsg(), ht_logf(), ht_aviewer::idle(), main(), ht_dialog::run(), ht_app::run(), ht_view::sendmsg(), and ht_uformat_viewer::vsearch().

#define msg_empty   HT_MESSAGE(0)
 

Definition at line 39 of file htobj.h.

Referenced by clearmsg(), ht_uformat_viewer::func(), and ht_view::sendmsg().

#define msg_file_changed   HT_MESSAGE(14)
 

Definition at line 53 of file htobj.h.

Referenced by ht_clipboard::clear(), ht_clipboard_viewer::handlemsg(), ht_aviewer::handlemsg(), ht_format_viewer::pwrite(), and ht_clipboard::write().

#define msg_filesize_changed   HT_MESSAGE(100)
 

Definition at line 64 of file htobj.h.

Referenced by ht_uformat_viewer::func(), ht_hex_file_sub::handlemsg(), ht_hex_viewer::handlemsg(), ht_linear_sub::handlemsg(), ht_uformat_viewer::handlemsg(), ht_format_viewer::handlemsg(), ht_disasm_viewer::handlemsg(), and replace_dialog().

#define msg_funcexec   HT_MESSAGE(6)
 

Definition at line 45 of file htobj.h.

Referenced by ht_text_viewer::handlemsg(), ht_xbe_import_viewer::handlemsg(), ht_pe_import_viewer::handlemsg(), ht_pef_import_viewer::handlemsg(), ht_pe_export_viewer::handlemsg(), ht_viewer::handlemsg(), ht_format_group::handlemsg(), and ht_app::handlemsg().

#define msg_funcquery   HT_MESSAGE(7)
 

Definition at line 46 of file htobj.h.

Referenced by ht_keyline::draw(), ht_text_viewer::handlemsg(), ht_xbe_import_viewer::handlemsg(), ht_pe_import_viewer::handlemsg(), ht_pef_import_viewer::handlemsg(), ht_pe_export_viewer::handlemsg(), ht_viewer::handlemsg(), ht_format_group::handlemsg(), and ht_app::handlemsg().

#define msg_get_analyser   HT_MESSAGE(16)
 

Definition at line 55 of file htobj.h.

Referenced by file_window_store_fcfg_func(), ht_file_window::handlemsg(), and ht_aviewer::handlemsg().

#define msg_get_scrollinfo   HT_MESSAGE(15)
 

Definition at line 54 of file htobj.h.

Referenced by ht_text_viewer::handlemsg(), ht_uformat_viewer::handlemsg(), ht_disasm_viewer::handlemsg(), ht_logviewer::handlemsg(), and ht_window::redraw().

#define msg_goto_offset   HT_MESSAGE(23)
 

Definition at line 62 of file htobj.h.

Referenced by ht_uformat_viewer::func(), and ht_format_viewer::handlemsg().

#define msg_keypressed   HT_MESSAGE(3)
 

Definition at line 42 of file htobj.h.

Referenced by VfsListbox::handlemsg(), ht_text_editor::handlemsg(), ht_text_viewer::handlemsg(), TerminalViewer::handlemsg(), ht_info_viewer::handlemsg(), ht_xbe_import_viewer::handlemsg(), ht_treeview::handlemsg(), ht_text_viewer2::handlemsg(), ht_replace_dialog::handlemsg(), ht_search_dialog::handlemsg(), ht_pe_import_viewer::handlemsg(), ht_pef_import_viewer::handlemsg(), ht_pe_export_viewer::handlemsg(), ht_window::handlemsg(), ht_group::handlemsg(), ht_menu_window_body::handlemsg(), ht_context_menu_window_body::handlemsg(), ht_menu::handlemsg(), ht_uformat_viewer::handlemsg(), ht_viewer::handlemsg(), ht_format_group::handlemsg(), ht_color_block::handlemsg(), ht_label::handlemsg(), ht_listpopup::handlemsg(), ht_listbox::handlemsg(), ht_button::handlemsg(), ht_hexinputfield::handlemsg(), ht_strinputfield::handlemsg(), ht_history_listbox::handlemsg(), ht_radioboxes::handlemsg(), ht_checkboxes::handlemsg(), ht_dialog::handlemsg(), ht_file_window::handlemsg(), ht_app::handlemsg(), ht_logviewer::handlemsg(), ht_project_listbox::handlemsg(), ht_help_window::handlemsg(), ht_aviewer::handlemsg(), ht_dialog::run(), and ht_app::run().

#define msg_kill   HT_MESSAGE(4)
 

Definition at line 43 of file htobj.h.

Referenced by ht_app::handlemsg().

#define msg_log_changed   HT_MESSAGE(101)
 

Definition at line 65 of file htobj.h.

Referenced by ht_logviewer::handlemsg(), and ht_logf().

#define msg_menucapquery   HT_MESSAGE(8)
 

Definition at line 47 of file htobj.h.

#define msg_menuquery   HT_MESSAGE(9)
 

Definition at line 48 of file htobj.h.

#define msg_message   0x00000000
 

Definition at line 36 of file htobj.h.

#define msg_postinit   HT_MESSAGE(18)
 

Definition at line 57 of file htobj.h.

Referenced by ht_app::create_window_file_bin(), and ht_aviewer::handlemsg().

#define msg_project_changed   HT_MESSAGE(20)
 

Definition at line 59 of file htobj.h.

Referenced by ht_app::handlemsg(), ht_project_window::handlemsg(), ht_project_listbox::handlemsg(), ht_project_window::init(), and ht_app::project_opencreate().

#define msg_retval   HT_MESSAGE(1)
 

Definition at line 40 of file htobj.h.

Referenced by ht_keyline::draw(), file_window_store_fcfg_func(), ht_text_editor::handlemsg(), ht_text_viewer::handlemsg(), ht_xbe_import_viewer::handlemsg(), ht_pe_import_viewer::handlemsg(), ht_pef_import_viewer::handlemsg(), ht_pe_export_viewer::handlemsg(), ht_hex_viewer::handlemsg(), ht_viewer::handlemsg(), ht_format_group::handlemsg(), ht_disasm_viewer::handlemsg(), ht_file_window::handlemsg(), ht_app::handlemsg(), ht_project_window::handlemsg(), ht_aviewer::handlemsg(), and ht_window::receivefocus().

#define msg_set_analyser   HT_MESSAGE(17)
 

Definition at line 56 of file htobj.h.

Referenced by file_window_load_fcfg_func(), and ht_aviewer::handlemsg().

#define msg_vstate_restore   HT_MESSAGE(22)
 

Definition at line 61 of file htobj.h.

Referenced by ht_pe_resource_viewer::handlemsg(), ht_format_viewer::handlemsg(), ht_listbox::handlemsg(), and ht_file_window::handlemsg().

#define msg_vstate_save   HT_MESSAGE(21)
 

Definition at line 60 of file htobj.h.

Referenced by ht_file_window::handlemsg(), ht_format_viewer::vstate_save(), and ht_listbox::vstate_save().

#define mt_broadcast   1
 

Definition at line 78 of file htobj.h.

Referenced by ht_clipboard::clear(), ht_app::create_window_file_bin(), RegistryFs::createFile(), RegistryFs::deleteFile(), RegNodeFile::done(), file_window_load_fcfg_func(), file_window_store_fcfg_func(), ht_uformat_viewer::func(), ht_xgroup::handlemsg(), ht_group::handlemsg(), ht_view::handlemsg(), ht_hex_viewer::handlemsg(), ht_uformat_viewer::handlemsg(), ht_format_viewer::handlemsg(), ht_disasm_viewer::handlemsg(), ht_file_window::handlemsg(), ht_app::handlemsg(), ht_app::load(), RegistryFs::open(), ht_app::project_opencreate(), ht_view::sendmsg(), ht_uformat_viewer::sendsubmsg(), and ht_clipboard::write().

#define mt_empty   0
 

Definition at line 77 of file htobj.h.

Referenced by ht_app::accept_close_all_windows(), clearmsg(), ht_keyline::draw(), ht_uformat_viewer::func(), ht_menu::handle_key_context_menu(), ht_text_viewer2::handlemsg(), ht_group::handlemsg(), ht_menu_window::handlemsg(), ht_viewer::handlemsg(), ht_format_group::handlemsg(), ht_button::handlemsg(), ht_strinputfield::handlemsg(), ht_file_window::handlemsg(), ht_app::handlemsg(), ht_window::receivefocus(), ht_window::redraw(), ht_view::sendmsg(), ht_format_viewer::vstate_save(), and ht_listbox::vstate_save().

#define mt_postprocess   3
 

Definition at line 80 of file htobj.h.

Referenced by ht_group::handlemsg(), ht_menu::handlemsg(), ht_label::handlemsg(), ht_button::handlemsg(), and ht_checkboxes::handlemsg().

#define mt_preprocess   2
 

Definition at line 79 of file htobj.h.

Referenced by ht_group::handlemsg().

#define VIEW_DEBUG_NAME name   )     ht_view::view_debug_name=name;
 

Definition at line 102 of file htobj.h.

Referenced by ht_text_viewer::init(), ht_xbe_header_viewer::init(), ht_xbe::init(), ht_static_treeview::init(), ht_treeview::init(), ht_search_dialog::init(), 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(), ht_pe_resource_viewer::init(), ht_pe_il_viewer::init(), ht_pe_header_viewer::init(), ht_pef::init(), ht_pe::init(), ht_window::init(), ht_frame::init(), ht_scrollbar::init(), ht_xgroup::init(), ht_group::init(), ht_view::init(), ht_ne::init(), ht_menu_window_body::init(), ht_menu_window::init(), ht_context_menu_window_body::init(), ht_menu_frame::init(), ht_menu::init(), ht_macho::init(), ht_le::init(), ht_uformat_viewer::init(), ht_format_viewer::init(), ht_format_group::init(), ht_flt::init(), ht_elf::init(), ht_color_block::init(), ht_listpopup::init(), ht_listpopup_dialog::init(), ht_statictext::init(), ht_button::init(), ht_hexinputfield::init(), ht_strinputfield::init(), ht_inputfield::init(), ht_radioboxes::init(), ht_checkboxes::init(), ht_cluster::init(), ht_dialog::init(), ht_coff::init(), ht_app::init(), ht_logviewer::init(), ht_desktop::init(), ht_keyline::init(), ht_status::init(), AnalyInfoline::init(), and CallChain::init().

#define VO_BROWSABLE   2
 

Definition at line 88 of file htobj.h.

Referenced by ht_xbe_import_viewer::init(), ht_xbe::init(), ht_treeview::init(), ht_pe_import_viewer::init(), ht_pef_import_viewer::init(), ht_pef::init(), ht_pe_export_viewer::init(), ht_pe::init(), ht_window::init(), ht_ne::init(), ht_mz::init(), ht_macho::init(), ht_le::init(), ht_viewer::init(), ht_flt::init(), ht_finfo_text::init(), ht_elf::init(), ht_coff::init(), cview::init(), and ht_app::popup_view_list_dump().

#define VO_FORMAT_VIEW   256
 

Definition at line 95 of file htobj.h.

Referenced by ht_format_group::get_hscrollbar_pos(), ht_format_group::get_pindicator_str(), ht_format_group::get_vscrollbar_pos(), and ht_format_viewer::init().

#define VO_MOVE   64
 

Definition at line 93 of file htobj.h.

Referenced by ht_window::handlemsg(), ht_viewer::init(), ht_window::next_action_state(), and ht_window::setframe().

#define VO_OWNBUFFER   1
 

Definition at line 87 of file htobj.h.

Referenced by ht_view::disable_buffering(), ht_view::done(), ht_view::enable_buffering(), ht_text_viewer::init(), ht_view::init(), ht_context_menu_window_body::init(), ht_menu::init(), ht_viewer::init(), ht_color_block::init(), ht_statictext::init(), ht_listbox::init(), ht_button::init(), ht_cluster::init(), ht_desktop::init(), ht_view::redraw(), and ht_view::setvisualbounds().

#define VO_POSTPROCESS   32
 

Definition at line 92 of file htobj.h.

Referenced by ht_group::handlemsg(), ht_menu::init(), ht_label::init(), ht_button::init(), ht_cluster::init(), and ht_group::insert().

#define VO_PREPROCESS   16
 

Definition at line 91 of file htobj.h.

Referenced by ht_group::handlemsg(), and ht_group::insert().

#define VO_RESIZE   128
 

Definition at line 94 of file htobj.h.

Referenced by ht_app::create_window_file_bin(), ht_window::handlemsg(), htclassimage_init(), htpefimage_init(), htpefimports_init(), ht_text_viewer::init(), ht_xbe::init(), ht_treeview::init(), ht_pef::init(), ht_pe::init(), ht_frame::init(), ht_scrollbar::init(), ht_ne::init(), ht_mz::init(), ht_macho::init(), ht_le::init(), ht_viewer::init(), ht_flt::init(), ht_elf::init(), ht_statictext::init(), ht_listbox::init(), ht_listbox_title::init(), ht_coff::init(), cview::init(), ht_window::next_action_state(), ht_view::resize(), and ht_window::setframe().

#define VO_SELBOUND   8
 

Definition at line 90 of file htobj.h.

Referenced by ht_group::focusnext(), ht_group::focusprev(), ht_window::init(), and ht_dialog::init().

#define VO_SELECTABLE   4
 

Definition at line 89 of file htobj.h.

Referenced by ht_view::countselectables(), ht_app::create_window_file_bin(), ht_group::focusnext(), ht_group::focusprev(), ht_text_viewer::init(), ht_xbe::init(), ht_treeview::init(), ht_replace_dialog::init(), ht_search_dialog::init(), 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(), ht_pef::init(), ht_pe::init(), ht_window::init(), ht_ne::init(), ht_mz::init(), ht_context_menu_window_body::init(), ht_macho::init(), ht_le::init(), ht_viewer::init(), ht_flt::init(), ht_elf::init(), ht_color_block::init(), ht_listpopup::init(), ht_listbox::init(), ht_button::init(), ht_inputfield::init(), ht_cluster::init(), ht_coff::init(), cview::init(), ht_group::insert(), ht_group::selectfirst(), and ht_group::selectlast().

#define VO_TRANSPARENT_CHARS   512
 

Definition at line 96 of file htobj.h.

Referenced by ht_app::init(), ht_status::init(), and view_line_exposed().

#define WAC_MOVE   1
 

Definition at line 371 of file htobj.h.

Referenced by ht_window::handlemsg(), and ht_window::next_action_state().

#define WAC_NORMAL   0
 

Definition at line 370 of file htobj.h.

Referenced by ht_window::handlemsg(), ht_window::init(), and ht_window::next_action_state().

#define WAC_RESIZE   2
 

Definition at line 372 of file htobj.h.

Referenced by ht_window::handlemsg(), and ht_window::next_action_state().


Enumeration Type Documentation

enum cursor_mode
 

Enumeration values:
cm_normal 
cm_overwrite 

Definition at line 119 of file htobj.h.

Referenced by ht_text_editor::get_cursor_mode(), and ht_text_viewer::get_cursor_mode().


Function Documentation

void clearmsg htmsg *  msg  ) 
 

Definition at line 74 of file htobj.cc.

References msg_empty, and mt_empty.

Referenced by VfsListbox::handlemsg(), ht_text_editor::handlemsg(), ht_text_viewer::handlemsg(), TerminalViewer::handlemsg(), ht_info_viewer::handlemsg(), ht_xbe_import_viewer::handlemsg(), ht_treeview::handlemsg(), ht_text_viewer2::handlemsg(), ht_pe_resource_viewer::handlemsg(), ht_pe_import_viewer::handlemsg(), ht_pef_import_viewer::handlemsg(), ht_pe_export_viewer::handlemsg(), ht_window::handlemsg(), ht_group::handlemsg(), ht_view::handlemsg(), ht_menu_window_body::handlemsg(), ht_menu_window::handlemsg(), ht_context_menu_window_body::handlemsg(), ht_menu::handlemsg(), ht_hex_viewer::handlemsg(), ht_uformat_viewer::handlemsg(), ht_format_viewer::handlemsg(), ht_viewer::handlemsg(), ht_format_group::handlemsg(), ht_disasm_viewer::handlemsg(), ht_color_block::handlemsg(), ht_label::handlemsg(), ht_listpopup::handlemsg(), ht_listbox::handlemsg(), ht_button::handlemsg(), ht_hexinputfield::handlemsg(), ht_strinputfield::handlemsg(), ht_history_listbox::handlemsg(), ht_radioboxes::handlemsg(), ht_checkboxes::handlemsg(), ht_dialog::handlemsg(), ht_clipboard_viewer::handlemsg(), ht_file_window::handlemsg(), ht_app::handlemsg(), ht_logviewer::handlemsg(), ht_project_listbox::handlemsg(), ht_help_window::handlemsg(), and ht_aviewer::handlemsg().

void done_obj  ) 
 

Definition at line 2014 of file htobj.cc.

References ATOM_HT_FRAME, ATOM_HT_GROUP, ATOM_HT_SCROLLBAR, ATOM_HT_VIEW, ATOM_HT_WINDOW, ATOM_HT_XGROUP, and UNREGISTER.

bool init_obj  ) 
 

Definition at line 1999 of file htobj.cc.

References ATOM_HT_FRAME, ATOM_HT_GROUP, ATOM_HT_SCROLLBAR, ATOM_HT_VIEW, ATOM_HT_WINDOW, ATOM_HT_XGROUP, and REGISTER.

bool scrollbar_pos int  start,
int  size,
int  all,
int *  pstart,
int *  psize
 

Definition at line 1336 of file htobj.cc.

References size.

Referenced by ht_listbox::adjustScrollbar(), ht_text_viewer::get_vscrollbar_pos(), ht_hex_viewer::get_vscrollbar_pos(), and ht_disasm_viewer::get_vscrollbar_pos().


Generated on Fri May 7 21:15:49 2004 by doxygen 1.3.5