#include <htdialog.h>
Inheritance diagram for ht_listbox:
Public Member Functions | |
void | init (bounds *b, UINT Listboxcaps=LISTBOX_QUICKFIND) |
virtual void | done () |
void | attachTitle (ht_listbox_title *title) |
void | adjustPosHack () |
void | adjustScrollbar () |
virtual int | calcCount ()=0 |
void | clearQuickfind () |
virtual int | cursorAdjust () |
int | cursorUp (int n) |
int | cursorDown (int n) |
virtual int | datasize () |
virtual char * | defaultpalette () |
virtual void | draw () |
virtual int | estimateEntryPos (void *entry) |
virtual void | getdata (ht_object_stream *s) |
virtual void * | getFirst ()=0 |
virtual void * | getLast ()=0 |
virtual void * | getNext (void *entry)=0 |
virtual void * | getPrev (void *entry)=0 |
virtual char * | getStr (int col, void *entry)=0 |
void | gotoItemByEntry (void *entry, bool clear_quickfind=true) |
virtual void | gotoItemByPosition (UINT pos) |
virtual void | handlemsg (htmsg *msg) |
virtual int | numColumns () |
virtual void * | quickfind (char *s)=0 |
virtual char * | quickfindCompletition (char *s) |
virtual void | redraw () |
virtual void | resize (int rw, int rh) |
virtual bool | selectEntry (void *entry) |
virtual void | setdata (ht_object_stream *s) |
virtual void | stateChanged () |
virtual void | update () |
void | updateCursor () |
virtual Object * | vstate_create () |
void | vstate_save () |
Public Attributes | |
int | cursor |
int | pos |
int | cached_count |
int | visible_height |
void * | e_top |
void * | e_cursor |
int | x |
char | quickfinder [100] |
char * | qpos |
UINT | listboxcaps |
int | cols |
int * | widths |
ht_scrollbar * | scrollbar |
bool | mScrollbarEnabled |
ht_listbox_title * | title |
Protected Member Functions | |
void | rearrangeColumns () |
|
Definition at line 1473 of file htdialog.cc. References cursorDown(), cursorUp(), e_cursor, e_top, getNext(), pos, and visible_height. Referenced by gotoItemByEntry(), and update(). |
|
Definition at line 1488 of file htdialog.cc. References cached_count, cursor, ht_scrollbar::disable(), ht_scrollbar::enable(), mScrollbarEnabled, pos, scrollbar, scrollbar_pos(), ht_view::setbounds(), and ht_scrollbar::setpos(). Referenced by stateChanged(). |
|
Definition at line 1506 of file htdialog.cc. References cols, ht_view::dirtyview(), ht_listbox_title::listbox, numColumns(), rearrangeColumns(), title, and ht_listbox_title::update(). Referenced by dialog_assemble(), ht_aviewer::showSymbols(), ht_aviewer::showXRefs(), and srt_x86(). |
|
Implemented in SymbolBox, ht_project_listbox, ht_text_listbox, and ht_history_listbox. Referenced by ht_listpopup_dialog::insertstring(), and update(). |
|
Definition at line 1515 of file htdialog.cc. References qpos, quickfinder, and updateCursor(). Referenced by ht_text_listbox::clearAll(), gotoItemByEntry(), handlemsg(), and init(). |
|
Reimplemented in SymbolBox, ht_text_listbox, and VfsListbox. Definition at line 1522 of file htdialog.cc. Referenced by updateCursor(). |
|
Definition at line 1548 of file htdialog.cc. References cursor, e_cursor, e_top, getNext(), pos, and visible_height. Referenced by adjustPosHack(), handlemsg(), ht_history_listbox::handlemsg(), ht_project_listbox::handlemsg(), and ht_listpopup_dialog::select_next(). |
|
Definition at line 1527 of file htdialog.cc. References cursor, e_cursor, e_top, getPrev(), and pos. Referenced by adjustPosHack(), handlemsg(), ht_history_listbox::handlemsg(), ht_project_listbox::handlemsg(), and ht_listpopup_dialog::select_prev(). |
|
Reimplemented from ht_view. Definition at line 1568 of file htdialog.cc. |
|
Reimplemented from ht_view. Definition at line 1573 of file htdialog.cc. References palkey_generic_dialog_default. |
|
Reimplemented from ht_view. Reimplemented in SymbolBox, ht_text_listbox, ht_itext_listbox, ht_pe_export_viewer, ht_pef_import_viewer, ht_pe_import_viewer, ht_xbe_import_viewer, and VfsListbox. Definition at line 1465 of file htdialog.cc. References ht_view::done(), ht_scrollbar::done(), scrollbar, and widths. Referenced by ht_text_listbox::done(), and SymbolBox::done(). |
|
Reimplemented from ht_view. Reimplemented in ht_project_listbox. Definition at line 1578 of file htdialog.cc. References ht_view::buf_lprint(), ht_view::buf_printchar(), CHAR_LINEV, ht_view::clear(), cols, cursor, ht_view::dirtyview(), e_top, ht_view::fill(), ht_view::getcolor(), getNext(), getStr(), mScrollbarEnabled, numColumns(), palidx_generic_list_focused_selected, palidx_generic_list_focused_unselected, palidx_generic_list_unfocused_selected, palidx_generic_list_unfocused_unselected, rearrangeColumns(), title, ht_listbox_title::update(), updateCursor(), visible_height, widths, x, and X. Referenced by ht_project_listbox::draw(). |
|
Reimplemented in SymbolBox. Definition at line 1658 of file htdialog.cc. References getFirst(), and getNext(). Referenced by gotoItemByEntry(). |
|
Reimplemented from ht_view. Definition at line 1671 of file htdialog.cc. References e_cursor, e_top, and ht_layer_stream::write(). |
|
Implemented in SymbolBox, ht_project_listbox, ht_text_listbox, and ht_history_listbox. Referenced by estimateEntryPos(), gotoItemByPosition(), handlemsg(), init(), and update(). |
|
Implemented in SymbolBox, ht_project_listbox, ht_text_listbox, and ht_history_listbox. Referenced by handlemsg(). |
|
Implemented in SymbolBox, ht_project_listbox, ht_text_listbox, and ht_history_listbox. Referenced by adjustPosHack(), cursorDown(), draw(), estimateEntryPos(), gotoItemByEntry(), gotoItemByPosition(), and update(). |
|
Implemented in SymbolBox, ht_project_listbox, ht_text_listbox, and ht_history_listbox. Referenced by cursorUp(). |
|
Implemented in SymbolBox, ht_project_listbox, ht_text_listbox, and ht_history_listbox. Referenced by draw(). |
|
Definition at line 1679 of file htdialog.cc. References adjustPosHack(), assert, clearQuickfind(), cursor, e_cursor, e_top, estimateEntryPos(), getNext(), pos, stateChanged(), and visible_height. Referenced by VfsListbox::changeURL(), gotoItemByPosition(), handlemsg(), and ht_aviewer::showSymbols(). |
|
Definition at line 1711 of file htdialog.cc. References getFirst(), getNext(), gotoItemByEntry(), and UINT. Referenced by VfsListbox::changeURL(), dialog_assemble(), ht_text_viewer::popup_change_highlight(), ht_app::popup_view_list(), ht_app::popup_window_list(), ht_uformat_viewer::ref_desc(), ht_listpopup_dialog::setdata(), and ht_text_editor::show_protocol(). |
|
|
Definition at line 1437 of file htdialog.cc. References cached_count, clearQuickfind(), cols, cursor, e_cursor, e_top, getFirst(), GMH_FIT, GMV_FIT, ht_scrollbar::init(), Object::init(), listboxcaps, MK_GM, NULL, pos, scrollbar, title, UINT, update(), visible_height, VO_OWNBUFFER, VO_RESIZE, VO_SELECTABLE, widths, and x. |
|
Reimplemented in SymbolBox, ht_project_listbox, and ht_text_listbox. Definition at line 1850 of file htdialog.cc. Referenced by attachTitle(), draw(), and rearrangeColumns(). |
|
Implemented in SymbolBox, ht_project_listbox, ht_text_listbox, ht_history_listbox, and VfsListbox. Referenced by handlemsg(). |
|
Reimplemented in SymbolBox, ht_project_listbox, ht_text_listbox, ht_history_listbox, and VfsListbox. Definition at line 1855 of file htdialog.cc. References ht_strdup(). Referenced by handlemsg(). |
|
Definition at line 1860 of file htdialog.cc. References cols, numColumns(), and widths. Referenced by attachTitle(), VfsListbox::changeURL(), draw(), ht_project_listbox::handlemsg(), ht_text_listbox::init(), and VfsListbox::setDisplayFormat(). |
|
Reimplemented from ht_view. Definition at line 1867 of file htdialog.cc. References ht_view::redraw(), ht_view::relocate_to(), scrollbar, title, and ht_view::unrelocate_to(). Referenced by SymbolBox::idle(). |
|
Reimplemented from ht_view. Definition at line 1879 of file htdialog.cc. References ht_view::resize(), and update(). |
|
Reimplemented in ht_project_listbox, VfsListbox, and VfsListbox2. Definition at line 1890 of file htdialog.cc. |
|
Reimplemented from ht_view. Definition at line 1895 of file htdialog.cc. References e_cursor, e_top, ht_layer_stream::read(), and update(). |
|
Reimplemented in FileBrowserVfsListbox. Definition at line 1885 of file htdialog.cc. References adjustScrollbar(). Referenced by gotoItemByEntry(), handlemsg(), ht_text_listbox::sort(), FileBrowserVfsListbox::stateChanged(), and update(). |
|
Reimplemented in ht_text_listbox, and VfsListbox. Definition at line 1925 of file htdialog.cc. References adjustPosHack(), cached_count, calcCount(), cursor, ht_view::dirtyview(), e_cursor, e_top, getFirst(), getNext(), MIN, stateChanged(), title, ht_listbox_title::update(), and visible_height. Referenced by handlemsg(), ht_history_listbox::handlemsg(), ht_project_listbox::handlemsg(), SymbolBox::idle(), init(), ht_listpopup_dialog::insertstring(), resize(), ht_project_listbox::set_project(), setdata(), and ht_text_listbox::update(). |
|
Definition at line 1965 of file htdialog.cc. References cursor, cursorAdjust(), ht_view::hidecursor(), qpos, quickfinder, ht_view::setcursor(), and x. Referenced by clearQuickfind(), draw(), and handlemsg(). |
|
Definition at line 1904 of file htdialog.cc. References e_cursor, and e_top. Referenced by vstate_save(). |
|
Definition at line 1909 of file htdialog.cc. References app, msg_vstate_save, mt_empty, ht_view::sendmsg(), and vstate_create(). Referenced by ht_xbe_import_viewer::select_entry(), ht_pe_import_viewer::select_entry(), ht_pe_export_viewer::select_entry(), and ht_pe_dimport_viewer::select_entry(). |
|
Definition at line 292 of file htdialog.h. Referenced by adjustScrollbar(), handlemsg(), init(), and update(). |
|
Reimplemented in ht_text_listbox. Definition at line 300 of file htdialog.h. Referenced by attachTitle(), draw(), init(), and rearrangeColumns(). |
|
Definition at line 292 of file htdialog.h. Referenced by adjustScrollbar(), cursorDown(), cursorUp(), draw(), gotoItemByEntry(), handlemsg(), init(), update(), and updateCursor(). |
|
Definition at line 294 of file htdialog.h. Referenced by adjustPosHack(), cursorDown(), cursorUp(), getdata(), gotoItemByEntry(), handlemsg(), init(), setdata(), update(), and vstate_create(). |
|
Definition at line 294 of file htdialog.h. Referenced by adjustPosHack(), cursorDown(), cursorUp(), draw(), getdata(), gotoItemByEntry(), handlemsg(), init(), setdata(), update(), and vstate_create(). |
|
Definition at line 298 of file htdialog.h. Referenced by handlemsg(), and init(). |
|
Definition at line 304 of file htdialog.h. Referenced by adjustScrollbar(), and draw(). |
|
Definition at line 292 of file htdialog.h. Referenced by adjustPosHack(), adjustScrollbar(), cursorDown(), cursorUp(), ht_history_popup_dialog::getdata(), gotoItemByEntry(), handlemsg(), and init(). |
|
Definition at line 297 of file htdialog.h. Referenced by clearQuickfind(), handlemsg(), and updateCursor(). |
|
Definition at line 296 of file htdialog.h. Referenced by clearQuickfind(), handlemsg(), and updateCursor(). |
|
Definition at line 303 of file htdialog.h. Referenced by adjustScrollbar(), done(), init(), and redraw(). |
|
Definition at line 305 of file htdialog.h. Referenced by attachTitle(), draw(), init(), redraw(), and update(). |
|
Definition at line 293 of file htdialog.h. Referenced by adjustPosHack(), cursorDown(), draw(), gotoItemByEntry(), handlemsg(), init(), and update(). |
|
Definition at line 301 of file htdialog.h. Referenced by done(), draw(), ht_listbox_title::draw(), init(), rearrangeColumns(), and ht_listbox_title::update(). |
|
Definition at line 295 of file htdialog.h. Referenced by draw(), ht_listbox_title::draw(), handlemsg(), init(), and updateCursor(). |