#include <htapp.h>
Inheritance diagram for ht_app:
Public Member Functions | |
void | insert_window (ht_window *window, UINT type, bool minimized, bool isfile, ht_layer_streamfile *layer) |
void | init (bounds *b) |
virtual void | done () |
virtual void | draw () |
virtual int | focus (ht_view *view) |
virtual char * | func (UINT i, bool execute) |
virtual void | handlemsg (htmsg *msg) |
virtual int | load (ht_object_stream *f) |
virtual OBJECT_ID | object_id () const |
virtual int | run (bool modal) |
virtual void | store (ht_object_stream *f) |
ht_window * | create_window_clipboard () |
ht_window * | create_window_file (char *filename, UINT mode, bool allow_duplicates) |
ht_window * | create_window_file_bin (char *filename, bool allow_duplicates) |
ht_window * | create_window_file_text (char *filename, bool allow_duplicates) |
ht_window * | create_window_help (char *file, char *node) |
ht_window * | create_window_log () |
ht_window * | create_window_ofm (char *url1, char *url2) |
ht_window * | create_window_project () |
ht_window * | create_window_term (const char *cmd) |
void | delete_window (ht_window *window) |
ht_window * | get_window_by_filename (char *filename) |
ht_window * | get_window_by_number (UINT number) |
ht_window * | get_window_by_type (UINT type) |
ht_view * | popup_view_list (char *dialog_title) |
ht_window * | popup_window_list (char *dialog_title) |
void | project_opencreate (char *filename) |
Public Attributes | |
ht_view * | menu |
Protected Member Functions | |
ht_window * | create_window_file_bin (bounds *b, ht_layer_streamfile *file, char *title, bool isfile) |
ht_window * | create_window_file_text (bounds *b, ht_layer_streamfile *file, char *title, bool isfile) |
bool | accept_close_all_windows () |
UINT | find_free_window_number () |
UINT | get_window_number (ht_window *window) |
UINT | get_window_listindex (ht_window *window) |
void | get_stdbounds_file (bounds *b) |
void | get_stdbounds_tool (bounds *b) |
int | popup_view_list_dump (ht_view *view, ht_text_listbox *listbox, ht_list *structure, int depth, int *currenti, ht_view *currentv) |
virtual char * | defaultpalette () |
virtual char * | defaultpaletteclass () |
Protected Attributes | |
ht_sorted_list * | windows |
ht_list * | syntax_lexers |
ht_keyline * | keyline |
ht_desktop * | desktop |
ht_group * | battlefield |
bool | exit_program |
|
Definition at line 1557 of file htapp.cc. References ht_clist::count(), ht_clist::get(), msg_accept_close, mt_empty, ht_view::sendmsg(), UINT, ht_app_window_entry::window, and windows. Referenced by handlemsg(). |
|
Definition at line 1668 of file htapp.cc. References align_left, AWT_CLIPBOARD, clipboard, ht_view::disable_buffering(), focus(), FS_KILLER, FS_MOVE, FS_NUMBER, FS_RESIZE, FS_TITLE, get_stdbounds_file(), get_window_by_type(), GMH_FIT, GMV_BOTTOM, ht_view::growmode, ht_clipboard_viewer::init(), ht_statictext::init(), ht_window::init(), ht_window::insert(), insert_window(), MK_GM, NULL, ht_window::setpindicator(), VC_EDIT, VC_GOTO, and VC_SEARCH. Referenced by handlemsg(). |
|
Definition at line 1720 of file htapp.cc. References autodetect_file_open_mode(), create_window_file_bin(), create_window_file_text(), FOM_AUTO, FOM_BIN, FOM_TEXT, NULL, and UINT. Referenced by handlemsg(). |
|
Definition at line 1730 of file htapp.cc. References app_stream_error_func(), create_window_file_bin(), FAM_READ, file, focus(), FOM_EXISTS, ht_stream::get_error(), get_stdbounds_file(), get_window_by_filename(), ht_streamfile_modifier::init(), ht_file::init(), LOG, LOG_ERROR, LOG_EX, NULL, STERR_SYSTEM, and sys_canonicalize(). |
|
|
Definition at line 1850 of file htapp.cc. References app_stream_error_func(), create_window_file_text(), FAM_READ, file, focus(), FOM_EXISTS, ht_stream::get_error(), get_stdbounds_file(), get_window_by_filename(), ht_ltextfile::init(), ht_file::init(), LOG, LOG_ERROR, LOG_EX, NULL, STERR_SYSTEM, and sys_canonicalize(). |
|
Definition at line 1895 of file htapp.cc. References align_left, AWT_FILE, ht_view::disable_buffering(), file, FS_KILLER, FS_MOVE, FS_NUMBER, FS_RESIZE, FS_TITLE, ht_list::get(), GMH_FIT, GMV_BOTTOM, ht_view::growmode, ht_stricmp(), ht_statictext::init(), ht_scrollbar::init(), ht_text_editor::init(), ht_file_window::init(), ht_window::insert(), insert_window(), LOG, MK_GM, NULL, ht_view::pal, ht_text_viewer::set_lexer(), ht_window::setpindicator(), ht_window::setvscrollbar(), syntax_lexers, sys_filename_suffix(), TEXTEDITOPT_INPUTTABS, and TEXTEDITOPT_UNDO. Referenced by create_window_file(), create_window_file_text(), and handlemsg(). |
|
|
Definition at line 1572 of file htapp.cc. References AWT_LOG, focus(), FS_KILLER, FS_MOVE, FS_NUMBER, FS_RESIZE, FS_TITLE, get_stdbounds_file(), get_window_by_type(), ht_logviewer::init(), ht_scrollbar::init(), ht_window::init(), ht_window::insert(), insert_window(), loglines, NULL, ht_view::pal, and ht_window::setvscrollbar(). Referenced by handlemsg(), and init(). |
|
Definition at line 2102 of file htapp.cc. References AWT_OFM, VfsListbox::changeURL(), FS_KILLER, FS_MOVE, FS_NUMBER, FS_RESIZE, FS_TITLE, get_stdbounds_file(), ht_window::getframe(), ht_view::init(), VfsListbox::init(), ht_window::init(), ht_window::insert(), insert_window(), NULL, and virtual_fs_list. Referenced by handlemsg(). |
|
Definition at line 2026 of file htapp.cc. References AWT_PROJECT, focus(), FS_KILLER, FS_MOVE, FS_NUMBER, FS_RESIZE, FS_TITLE, get_stdbounds_tool(), get_window_by_type(), ht_scrollbar::init(), ht_project_window::init(), insert_window(), NULL, ht_view::pal, palkey_generic_cyan, project, ht_window::sethscrollbar(), and ht_group::setpalette(). Referenced by handlemsg(), and project_opencreate(). |
|
Definition at line 1610 of file htapp.cc. References align_left, AWT_LOG, AWT_TERM, ht_view::disable_buffering(), errorbox, focus(), FS_KILLER, FS_MOVE, FS_NUMBER, FS_RESIZE, FS_TITLE, get_stdbounds_file(), get_window_by_type(), GMH_FIT, GMV_BOTTOM, ht_view::growmode, TerminalViewer::init(), Terminal::init(), ht_scrollbar::init(), ht_statictext::init(), ht_window::init(), ht_window::insert(), insert_window(), MK_GM, NULL, ht_view::pal, ht_window::setpindicator(), ht_window::setvscrollbar(), and sys_ipc_exec(). Referenced by handlemsg(). |
|
Reimplemented from ht_dialog. Definition at line 2157 of file htapp.cc. References NULL. |
|
Reimplemented from ht_view. Definition at line 2162 of file htapp.cc. References NULL. |
|
Definition at line 2186 of file htapp.cc. References battlefield, ht_clist::del(), ht_window::done(), get_window_listindex(), LIST_UNDEFINED, ht_group::remove(), UINT, and windows. Referenced by handlemsg(). |
|
Reimplemented from ht_dialog. Definition at line 1542 of file htapp.cc. References delete_timer(), ht_clist::destroy(), ht_list::destroy(), ht_dialog::done(), h0, syntax_lexers, and windows. |
|
Reimplemented from ht_dialog. Definition at line 2168 of file htapp.cc. References AVG_TIMINGS, cur_timing, get_timer_msec(), h0, and timings. Referenced by handlemsg(). |
|
Definition at line 2199 of file htapp.cc. References ht_clist::count(), ht_clist::get(), ht_app_window_entry::number, UINT, and windows. Referenced by insert_window(). |
|
Reimplemented from ht_group. Definition at line 2212 of file htapp.cc. References ht_group::focus(). Referenced by create_window_clipboard(), create_window_file_bin(), create_window_file_text(), create_window_help(), create_window_log(), create_window_project(), create_window_term(), handlemsg(), and insert_window(). |
|
Definition at line 2217 of file htapp.cc. References cmd_file_open, cmd_popup_dialog_view_list, cmd_popup_window_help, cmd_quit, ht_view::sendmsg(), and UINT. Referenced by handlemsg(). |
|
Definition at line 2242 of file htapp.cc. References battlefield, get_stdbounds_tool(), ht_view::getbounds(), and project. Referenced by create_window_clipboard(), create_window_file_bin(), create_window_file_text(), create_window_log(), create_window_ofm(), create_window_term(), and handlemsg(). |
|
Definition at line 2258 of file htapp.cc. References battlefield, ht_view::getbounds(), MAX, and UINT. Referenced by create_window_project(), and get_stdbounds_file(). |
|
Definition at line 2267 of file htapp.cc. References ht_clist::count(), ht_view::desc, ht_clist::get(), NULL, UINT, ht_app_window_entry::window, and windows. Referenced by create_window_file_bin(), and create_window_file_text(). |
|
Definition at line 2278 of file htapp.cc. References ht_clist::count(), ht_clist::get(), NULL, ht_app_window_entry::number, UINT, ht_app_window_entry::window, and windows. Referenced by handlemsg(), and popup_window_list(). |
|
Definition at line 2288 of file htapp.cc. References ht_clist::count(), ht_clist::get(), NULL, ht_app_window_entry::type, UINT, ht_app_window_entry::window, and windows. Referenced by create_window_clipboard(), create_window_help(), create_window_log(), create_window_project(), and create_window_term(). |
|
Definition at line 2304 of file htapp.cc. References ht_clist::count(), ht_clist::get(), LIST_UNDEFINED, UINT, ht_app_window_entry::window, and windows. Referenced by delete_window(), get_window_number(), and handlemsg(). |
|
Definition at line 2298 of file htapp.cc. References ht_clist::get(), get_window_listindex(), ht_app_window_entry::number, UINT, and windows. |
|
|
|
Definition at line 2770 of file htapp.cc. References battlefield, find_free_window_number(), focus(), ht_group::insert(), ht_sorted_list::insert(), ht_window::setnumber(), UINT, and windows. Referenced by create_window_clipboard(), create_window_file_bin(), create_window_file_text(), create_window_help(), create_window_log(), create_window_ofm(), create_window_project(), and create_window_term(). |
|
loads object from object stream.
Reimplemented from ht_window. Definition at line 2780 of file htapp.cc. References app, ht_registry::done(), ht_layer_stream::get_error(), ht_object_stream::getObject(), load_history(), msg_config_changed, mt_broadcast, NULL, registry, and ht_view::sendmsg(). |
|
Reimplemented from ht_window. Definition at line 2801 of file htapp.cc. References ATOM_HT_APP. |
|
|
Definition at line 2868 of file htapp.cc. References ht_view::browse_idx, ht_view::childcount(), ht_list::count(), ht_view::desc, ht_view::getfirstchild(), ht_snprintf(), ht_list::insert(), ht_text_listbox::insert_str(), ht_view::next, ht_view::options, VIEWERGROUP_NAME, and VO_BROWSABLE. Referenced by popup_view_list(). |
|
|
Definition at line 2949 of file htapp.cc. References button_yes, confirmbox, create_window_project(), errorbox, file_project_load_fcfg_func(), HT_NAME_MAX, HT_PROJECT_CONFIG_SUFFIX, ht_projectconfig_fileversion, ht_projectconfig_magic, load_fileconfig(), loadstore_result, LOG, LOG_ERROR, LOG_EX, LS_ERROR_CORRUPTED, LS_ERROR_NOT_FOUND, LS_OK, msg_project_changed, mt_broadcast, NULL, project, ht_view::sendmsg(), sys_common_canonicalize(), sys_filename_suffix(), and sys_is_path_delim(). Referenced by handlemsg(). |
|
Reimplemented from ht_dialog. Definition at line 2999 of file htapp.cc. References ht_dialog::dequeuemsg(), do_idle(), exit_program, ht_getkey(), ht_keypressed(), ht_queued_msg::msg, msg_draw, msg_keypressed, ht_view::sendmsg(), and ht_queued_msg::target. |
|
stores object. Reimplemented from ht_window. Definition at line 3020 of file htapp.cc. References NULL, ht_object_stream::putObject(), registry, and store_history(). |
|
Definition at line 298 of file htapp.h. Referenced by create_window_help(), delete_window(), get_stdbounds_file(), get_stdbounds_tool(), handlemsg(), init(), insert_window(), popup_view_list(), and popup_window_list(). |
|
Definition at line 296 of file htapp.h. Referenced by init(). |
|
Definition at line 300 of file htapp.h. Referenced by handlemsg(), init(), and run(). |
|
Definition at line 295 of file htapp.h. Referenced by init(). |
|
Definition at line 320 of file htapp.h. Referenced by init(). |
|
Definition at line 293 of file htapp.h. Referenced by create_window_file_text(), done(), and init(). |
|
Definition at line 291 of file htapp.h. Referenced by accept_close_all_windows(), delete_window(), done(), find_free_window_number(), get_window_by_filename(), get_window_by_number(), get_window_by_type(), get_window_listindex(), get_window_number(), handlemsg(), init(), insert_window(), and popup_window_list(). |