#include <htobj.h>
Inheritance diagram for ht_view:
Public Member Functions | |
void | init (bounds *b, int options, const char *desc) |
virtual void | done () |
void * | allocdatabuf (void *handle) |
virtual int | alone () |
int | buf_lprint (int x, int y, int c, int l, char *text) |
int | buf_lprintw (int x, int y, int c, int l, int *text) |
int | buf_print (int x, int y, int c, char *text) |
void | buf_printchar (int x, int y, int c, int ch) |
int | buf_printf (int x, int y, int c, char *format,...) |
int | buf_printw (int x, int y, int c, int *text) |
virtual int | childcount () |
void | clear (int color) |
virtual void | clipbounds (bounds *b) |
virtual void | config_changed () |
virtual int | countselectables () |
void | databuf_freedup (void *handle) |
void | databuf_get (void *buf, int bufsize) |
void * | databuf_getdup (void *buf, int bufsize) |
void | databuf_set (void *buf, int bufsize) |
virtual int | datasize () |
void | dirtyview () |
virtual void | disable () |
void | disable_buffering () |
virtual void | draw () |
virtual void | enable () |
void | enable_buffering () |
virtual int | enum_start () |
virtual ht_view * | enum_next (int *handle) |
bool | exposed () |
void | fill (int x, int y, int w, int h, int c, int chr) |
virtual int | focus (ht_view *view) |
void | getbounds (bounds *b) |
virtual void | getminbounds (int *width, int *height) |
vcp | getcolor (UINT index) |
virtual void | getdata (ht_object_stream *s) |
virtual ht_view * | getfirstchild () |
virtual UINT | getnumber () |
char * | getpalette () |
virtual ht_view * | getselected () |
virtual void | handlemsg (htmsg *msg) |
void | hidecursor () |
int | isviewdirty () |
virtual int | isalone (ht_view *view) |
virtual int | load (ht_object_stream *s) |
virtual void | move (int rx, int ry) |
virtual OBJECT_ID | object_id () const |
int | pointvisible (int x, int y) |
virtual void | receivefocus () |
virtual void | redraw () |
void | relocate_to (ht_view *view) |
virtual void | resize (int rw, int rh) |
virtual void | releasefocus () |
virtual int | select (ht_view *view) |
virtual void | selectfirst () |
virtual void | selectlast () |
void | sendmsg (htmsg *msg) |
void | sendmsg (int msg, int data1=0, int data2=0) |
void | sendmsg (int msg, void *data1, void *data2=0) |
void | setbounds (bounds *b) |
void | setvisualbounds (bounds *b) |
void | setcursor (int x, int y, cursor_mode c=cm_normal) |
virtual void | setdata (ht_object_stream *s) |
virtual void | setgroup (ht_group *group) |
virtual void | setnumber (UINT number) |
void | setoptions (int options) |
virtual void | setpalette (char *pal_name) |
void | setpalettefull (char *pal_name, char *pal_class) |
virtual void | store (ht_object_stream *s) |
void | unrelocate_to (ht_view *view) |
Public Attributes | |
bool | focused |
bool | enabled |
ht_group * | group |
int | options |
char * | desc |
int | browse_idx |
genericdrawbuf * | buf |
ht_view * | prev |
ht_view * | next |
bounds | size |
bounds | vsize |
UINT | growmode |
UINT | g_hdist |
UINT | g_vdist |
palette | pal |
char * | pal_class |
char * | pal_name |
char * | view_debug_name |
Protected Member Functions | |
void | cleanview () |
virtual char * | defaultpalette () |
virtual char * | defaultpaletteclass () |
virtual void | reloadpalette () |
Protected Attributes | |
bool | view_is_dirty |
|
|
|
Reimplemented in ht_dialog. Definition at line 143 of file htobj.cc. References group, and ht_group::isalone(). Referenced by ht_group::focusnext(), and ht_group::focusprev(). |
|
Definition at line 148 of file htobj.cc. References genericdrawbuf::b_lprint(), buf, size, and vsize. Referenced by ht_text_viewer::draw(), ht_context_menu_window_body::draw(), ht_label::draw(), ht_statictext::draw(), ht_listbox::draw(), ht_listbox_title::draw(), and ht_hexinputfield::draw(). |
|
Definition at line 166 of file htobj.cc. References genericdrawbuf::b_lprintw(), buf, size, and vsize. Referenced by ht_treeview::draw_r(). |
|
Definition at line 184 of file htobj.cc. References genericdrawbuf::b_lprint(), buf, size, and vsize. Referenced by buf_printf(), ht_frame::draw(), ht_menu::draw(), ht_color_block::draw(), ht_statictext::draw(), ht_button::draw(), ht_hexinputfield::draw(), ht_radioboxes::draw(), ht_checkboxes::draw(), ht_logviewer::draw(), ht_status::draw(), ht_project_listbox::draw(), and ht_text_viewer::render_meta(). |
|
|
Definition at line 207 of file htobj.cc. References buf, buf, buf_print(), and ht_vsnprintf(). Referenced by ht_text_viewer::draw(), ht_frame::draw(), and ht_keyline::draw(). |
|
Definition at line 217 of file htobj.cc. References genericdrawbuf::b_lprintw(), buf, size, and vsize. |
|
Reimplemented in ht_format_group, and ht_group. Definition at line 235 of file htobj.cc. Referenced by ht_app::popup_view_list_dump(). |
|
Definition at line 240 of file htobj.cc. References view_is_dirty. Referenced by redraw(). |
|
Definition at line 245 of file htobj.cc. References genericdrawbuf::b_fill(), buf, and vsize. Referenced by ht_text_viewer::draw(), ht_treeview::draw(), ht_window::draw(), ht_context_menu_window_body::draw(), ht_menu::draw(), ht_uformat_viewer::draw(), ht_color_block::draw(), ht_statictext::draw(), ht_listbox::draw(), ht_listbox_title::draw(), ht_radioboxes::draw(), ht_checkboxes::draw(), ht_dialog::draw(), ht_logviewer::draw(), ht_keyline::draw(), and ht_project_listbox::draw(). |
|
Definition at line 250 of file htobj.cc. References bounds_and(), getbounds(), and vsize. |
|
Reimplemented in ht_text_viewer, ht_text_editor, and VfsListbox. Definition at line 258 of file htobj.cc. References dirtyview(), and reloadpalette(). Referenced by VfsListbox::config_changed(), ht_text_viewer::config_changed(), and handlemsg(). |
|
Reimplemented in ht_group, and ht_xgroup. Definition at line 264 of file htobj.cc. References options, and VO_SELECTABLE. Referenced by ht_xgroup::countselectables(), ht_group::countselectables(), ht_group::isalone(), and isalone(). |
|
Definition at line 424 of file htobj.cc. References ht_memmap_file::done(), ht_object_stream_memmap::done(), databufdup_s::f, and databufdup_s::s. |
|
|
Definition at line 454 of file htobj.cc. References buf, byte, databufdup_s::f, getdata(), ht_object_stream_memmap::init(), ht_memmap_file::init(), malloc(), and databufdup_s::s. |
|
|
Reimplemented in ht_checkboxes, ht_radioboxes, ht_inputfield, ht_listbox, ht_listpopup_dialog, ht_listpopup, ht_color_block, and ht_group. Definition at line 269 of file htobj.cc. Referenced by ht_group::datasize(). |
|
Reimplemented in ht_keyline, ht_desktop, ht_app, ht_dialog, ht_cluster, ht_inputfield, ht_button, ht_listbox_title, ht_listbox, ht_statictext, ht_listpopup_dialog, ht_label, ht_progress_indicator, ht_color_block, ht_menu, ht_context_menu_window_body, ht_menu_frame, and ht_info_viewer. Definition at line 274 of file htobj.cc. References palkey_generic_window_default. Referenced by init(). |
|
Reimplemented in ht_app, ht_menu, ht_context_menu_window_body, and ht_menu_frame. Definition at line 279 of file htobj.cc. References palclasskey_generic. Referenced by init(). |
|
|
Reimplemented in ht_scrollbar. Definition at line 289 of file htobj.cc. References enabled. Referenced by ht_scrollbar::disable(). |
|
Definition at line 294 of file htobj.cc. References buf, options, screen, setoptions(), and VO_OWNBUFFER. 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(), ht_scrollbar::disable(), and init(). |
|
|
Reimplemented in ht_status, ht_keyline, ht_desktop, ht_logviewer, ht_project_listbox, ht_app, ht_clipboard_viewer, ht_dialog, ht_checkboxes, ht_radioboxes, ht_strinputfield, ht_hexinputfield, ht_button, ht_listbox_title, ht_listbox, ht_statictext, ht_listpopup, ht_label, ht_color_block, ht_uformat_viewer, ht_menu, ht_context_menu_window_body, ht_scrollbar, ht_frame, ht_window, ht_hbar, ht_vbar, ht_treeview, ht_info_viewer, and ht_text_viewer. Definition at line 303 of file htobj.cc. Referenced by ht_dialog::draw(), and redraw(). |
|
Reimplemented in ht_scrollbar. Definition at line 307 of file htobj.cc. References enabled. Referenced by ht_scrollbar::enable(). |
|
Definition at line 312 of file htobj.cc. References buf, options, setoptions(), size, and VO_OWNBUFFER. Referenced by ht_scrollbar::enable(), and init(). |
|
Reimplemented in ht_group. |
|
Reimplemented in ht_group. |
|
Definition at line 371 of file htobj.cc. References size, and view_line_exposed(). Referenced by redraw(). |
|
Definition at line 383 of file htobj.cc. References genericdrawbuf::b_fill(), bounds_and(), buf, size, and vsize. Referenced by ht_text_viewer::draw(), ht_hbar::draw(), ht_vbar::draw(), ht_scrollbar::draw(), ht_context_menu_window_body::draw(), ht_listbox::draw(), ht_button::draw(), ht_hexinputfield::draw(), ht_strinputfield::draw(), ht_desktop::draw(), ht_status::draw(), and ht_treeview::draw_r(). |
|
Reimplemented in ht_app, ht_format_group, and ht_group. Definition at line 394 of file htobj.cc. References focused, and receivefocus(). Referenced by ht_group::focus(), ht_format_group::focus(), ht_uformat_viewer::func(), ht_label::handlemsg(), ht_checkboxes::handlemsg(), ht_file_window::handlemsg(), ht_pe_header_viewer::ref_sel(), ht_dialog::run(), ht_xbe_import_viewer::select_entry(), ht_pe_import_viewer::select_entry(), ht_pe_export_viewer::select_entry(), ht_pe_dimport_viewer::select_entry(), and ht_pe_resource_viewer::select_node(). |
|
|
|
Reimplemented in ht_checkboxes, ht_radioboxes, ht_inputfield, ht_listbox, ht_listpopup_dialog, ht_listpopup, ht_history_popup_dialog, ht_color_block, ht_context_menu_window_body, ht_menu_window, ht_group, and ht_treeview. Definition at line 487 of file htobj.cc. Referenced by databuf_get(), databuf_getdup(), ht_group::getdata(), and insert_history_entry(). |
|
Reimplemented in ht_format_group, and ht_group. Definition at line 491 of file htobj.cc. Referenced by ht_app::popup_view_list_dump(). |
|
Definition at line 413 of file htobj.cc. References DEFAULT_VIEW_MIN_HEIGHT, and DEFAULT_VIEW_MIN_WIDTH. Referenced by ht_window::handlemsg(). |
|
Reimplemented in ht_frame, and ht_window. Definition at line 496 of file htobj.cc. References UINT. Referenced by ht_app::popup_window_list(). |
|
Definition at line 501 of file htobj.cc. References pal_name. Referenced by ht_app::init(). |
|
Reimplemented in ht_format_group, and ht_group. Definition at line 506 of file htobj.cc. Referenced by ht_group::getselected(), and ht_dialog::run(). |
|
|
Definition at line 528 of file htobj.cc. References screendrawbuf::hidecursor(), and screen. Referenced by ht_uformat_viewer::draw(), ht_uformat_viewer::edit_end(), releasefocus(), and ht_listbox::updateCursor(). |
|
Reimplemented in ht_group, and ht_xgroup. Definition at line 92 of file htobj.cc. References browse_idx, buf, palette::data, defaultpalette(), defaultpaletteclass(), desc, disable_buffering(), enable_buffering(), enabled, focused, g_hdist, g_vdist, GMH_LEFT, GMV_TOP, group, growmode, ht_strdup(), Object::init(), MK_GM, next, NULL, options, pal, pal_name, prev, reloadpalette(), screen, setbounds(), setoptions(), palette::size, size, VIEW_DEBUG_NAME, view_is_dirty, and VO_OWNBUFFER. Referenced by ht_app::create_window_ofm(), and ht_replace_dialog::init(). |
|
Reimplemented in ht_group, and ht_xgroup. Definition at line 533 of file htobj.cc. References countselectables(). |
|
Reimplemented in ht_group. Definition at line 538 of file htobj.cc. References view_is_dirty. Referenced by ht_group::isviewdirty(), and redraw(). |
|
loads object from object stream.
Reimplemented from Object. Reimplemented in ht_app, ht_group, ht_xgroup, ht_scrollbar, ht_frame, and ht_window. Definition at line 543 of file htobj.cc. Referenced by ht_frame::load(), and load_systemconfig(). |
|
Reimplemented in ht_format_group, and ht_group. Definition at line 558 of file htobj.cc. References app, genericdrawbuf::b_rmove(), buf, clipbounds(), group, size, and vsize. Referenced by ht_window::insert(), ht_group::insert(), ht_group::move(), ht_format_group::move(), relocate_to(), ht_group::remove(), ht_group::reorder_view(), and unrelocate_to(). |
|
Reimplemented from Object. Reimplemented in ht_app, ht_group, ht_xgroup, ht_scrollbar, ht_frame, and ht_window. Definition at line 568 of file htobj.cc. References ATOM_HT_VIEW. |
|
Definition at line 573 of file htobj.cc. References vsize. Referenced by buf_printchar(), and setcursor(). |
|
Reimplemented in ht_strinputfield, ht_hexinputfield, ht_format_group, ht_group, and ht_window. Definition at line 578 of file htobj.cc. References dirtyview(), and focused. Referenced by focus(), ht_group::receivefocus(), ht_hexinputfield::receivefocus(), and ht_strinputfield::receivefocus(). |
|
Reimplemented in ht_listbox, ht_format_group, ht_xgroup, and ht_window. Definition at line 584 of file htobj.cc. References buf, cleanview(), draw(), screendrawbuf::drawbuffer(), exposed(), isviewdirty(), options, screen, size, VO_OWNBUFFER, and vsize. Referenced by handlemsg(), ht_status::idle(), ht_window::redraw(), ht_xgroup::redraw(), ht_listbox::redraw(), and AnalyInfoline::update(). |
|
Reimplemented in ht_format_group, ht_group, and ht_window. Definition at line 614 of file htobj.cc. References dirtyview(), focused, and hidecursor(). Referenced by ht_group::insert(), and ht_group::releasefocus(). |
|
Reimplemented in ht_aviewer, and ht_uformat_viewer. Definition at line 621 of file htobj.cc. References palette::data, load_pal(), pal, and pal_name. Referenced by config_changed(), init(), ht_uformat_viewer::reloadpalette(), and setpalette(). |
|
Definition at line 630 of file htobj.cc. References getbounds(), and move(). Referenced by ht_listbox::redraw(), and ht_listpopup::run_listpopup(). |
|
Reimplemented in ht_listbox, ht_format_group, ht_group, ht_window, and ht_text_viewer. Definition at line 600 of file htobj.cc. References app, genericdrawbuf::b_resize(), buf, clipbounds(), group, options, size, VO_RESIZE, and vsize. Referenced by ht_group::reorder_view(), ht_text_viewer::resize(), ht_group::resize(), ht_format_group::resize(), and ht_listbox::resize(). |
|
Reimplemented in ht_group. Definition at line 637 of file htobj.cc. Referenced by ht_group::select(). |
|
Reimplemented in ht_group, and ht_xgroup. Definition at line 642 of file htobj.cc. Referenced by ht_group::focusnext(), and ht_xgroup::selectfirst(). |
|
Reimplemented in ht_group, and ht_xgroup. Definition at line 646 of file htobj.cc. Referenced by ht_group::focusprev(), and ht_xgroup::selectlast(). |
|
|
|
Definition at line 665 of file htobj.cc. References msg_dirtyview, msg_draw, msg_empty, mt_broadcast, mt_empty, and sendmsg(). |
|
|
Definition at line 688 of file htobj.cc. References setvisualbounds(), and size. Referenced by ht_listbox::adjustScrollbar(), imsgbox(), and init(). |
|
Definition at line 702 of file htobj.cc. References cm_normal, cm_overwrite, screendrawbuf::hidecursor(), pointvisible(), screen, screendrawbuf::setcursor(), screendrawbuf::setcursormode(), and size. Referenced by ht_text_viewer::draw(), ht_uformat_viewer::draw(), ht_hexinputfield::draw(), ht_strinputfield::draw(), and ht_listbox::updateCursor(). |
|
Reimplemented in ht_checkboxes, ht_radioboxes, ht_inputfield, ht_listbox, ht_listpopup_dialog, ht_listpopup, ht_history_popup_dialog, ht_color_block, ht_context_menu_window_body, ht_menu_window, ht_group, and ht_treeview. Definition at line 719 of file htobj.cc. Referenced by databuf_set(), and ht_group::setdata(). |
|
Reimplemented in ht_format_group. Definition at line 723 of file htobj.cc. References group. Referenced by ht_group::insert(), and ht_format_group::setgroup(). |
|
Reimplemented in ht_frame, and ht_window. Definition at line 728 of file htobj.cc. References UINT. |
|
Definition at line 732 of file htobj.cc. References options. Referenced by disable_buffering(), enable_buffering(), init(), ht_listpopup::init(), and ht_group::insert(). |
|
Reimplemented in ht_group. Definition at line 737 of file htobj.cc. References pal_name, and reloadpalette(). Referenced by ht_app::init(), ht_group::insert(), ht_group::setpalette(), and setpalettefull(). |
|
Definition at line 743 of file htobj.cc. References pal_name, and setpalette(). |
|
Definition at line 694 of file htobj.cc. References genericdrawbuf::b_setbounds(), buf, options, VO_OWNBUFFER, and vsize. Referenced by setbounds(). |
|
stores object. Reimplemented from Object. Reimplemented in ht_app, ht_group, ht_xgroup, ht_scrollbar, ht_frame, and ht_window. Definition at line 749 of file htobj.cc. Referenced by save_systemconfig(), ht_frame::store(), and ht_group::store(). |
|
Definition at line 763 of file htobj.cc. References getbounds(), and move(). Referenced by ht_listbox::redraw(), and ht_listpopup::run_listpopup(). |
|
Definition at line 135 of file htobj.h. Referenced by ht_group::enum_next(), ht_group::focusnext(), ht_group::focusprev(), ht_group::get_by_browse_idx(), init(), ht_app::popup_view_list_dump(), ht_group::selectfirst(), and ht_group::selectlast(). |
|
Definition at line 136 of file htobj.h. Referenced by buf_lprint(), buf_lprintw(), buf_print(), buf_printchar(), buf_printf(), buf_printw(), clear(), disable_buffering(), done(), enable_buffering(), fill(), init(), move(), redraw(), resize(), and setvisualbounds(). |
|
Definition at line 134 of file htobj.h. Referenced by done(), ht_uformat_viewer::func(), ht_app::get_window_by_filename(), init(), ht_app::popup_view_list_dump(), ht_app::popup_window_list(), and ht_pe_resource_viewer::select_node(). |
|
|
|
Definition at line 130 of file htobj.h. Referenced by ht_frame::draw(), ht_label::draw(), focus(), init(), receivefocus(), and releasefocus(). |
|
Definition at line 142 of file htobj.h. Referenced by init(), and ht_group::insert(). |
|
Definition at line 142 of file htobj.h. Referenced by init(), and ht_group::insert(). |
|
Definition at line 132 of file htobj.h. Referenced by alone(), ht_context_menu_window_body::handlemsg(), init(), ht_format_group::init(), move(), resize(), ht_pe_resource_viewer::select_node(), setgroup(), and view_line_exposed(). |
|
Definition at line 141 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(), init(), ht_group::reorder_view(), and ht_aviewer::showXRefs(). |
|
|
|
Definition at line 144 of file htobj.h. Referenced by 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_project(), ht_app::create_window_term(), done(), getcolor(), init(), and reloadpalette(). |
|
Definition at line 145 of file htobj.h. Referenced by ht_group::insert(), and ht_group::setpalette(). |
|
Definition at line 146 of file htobj.h. Referenced by getpalette(), init(), reloadpalette(), setpalette(), and setpalettefull(). |
|
Definition at line 137 of file htobj.h. Referenced by init(), ht_group::insert(), ht_group::putontop(), and ht_group::remove(). |
|
Definition at line 139 of file htobj.h. Referenced by buf_lprint(), buf_lprintw(), buf_print(), buf_printchar(), buf_printw(), enable_buffering(), exposed(), fill(), getbounds(), ht_window::handlemsg(), init(), ht_group::insert(), move(), redraw(), resize(), setbounds(), setcursor(), and view_line_exposed(). |
|
|
|
Definition at line 123 of file htobj.h. Referenced by cleanview(), dirtyview(), init(), and isviewdirty(). |
|
Definition at line 140 of file htobj.h. Referenced by buf_lprint(), buf_lprintw(), buf_print(), buf_printw(), clear(), clipbounds(), fill(), move(), pointvisible(), redraw(), resize(), and setvisualbounds(). |