#include <htobj.h>
Inheritance diagram for ht_window:
Public Member Functions | |
void | init (bounds *b, const char *desc, UINT framestyle, UINT number=0) |
virtual void | done () |
virtual void | draw () |
virtual UINT | getnumber () |
virtual void | handlemsg (htmsg *msg) |
virtual void | insert (ht_view *view) |
virtual int | load (ht_object_stream *s) |
virtual OBJECT_ID | object_id () const |
virtual void | receivefocus () |
virtual void | releasefocus () |
virtual void | redraw () |
virtual void | resize (int rw, int rh) |
virtual void | setnumber (UINT number) |
virtual void | store (ht_object_stream *s) |
void | getclientarea (bounds *b) |
ht_frame * | getframe () |
void | setframe (ht_frame *frame) |
void | sethscrollbar (ht_scrollbar *scrollbar) |
void | setpindicator (ht_text *pindicator) |
void | settitle (char *title) |
void | setvscrollbar (ht_scrollbar *scrollbar) |
Protected Member Functions | |
bool | next_action_state () |
Protected Attributes | |
ht_frame * | frame |
ht_scrollbar * | hscrollbar |
ht_scrollbar * | vscrollbar |
ht_text * | pindicator |
UINT | number |
int | action_state |
|
Reimplemented from ht_group. Reimplemented in ht_blockop_dialog, ht_file_window, ht_project_window, ht_app, ht_dialog, ht_listpopup_dialog, ht_menu_window, ht_search_dialog, and ht_replace_dialog. Definition at line 1635 of file htobj.cc. References ht_group::done(), hscrollbar, NULL, pindicator, and vscrollbar. Referenced by ht_app::create_window_help(), ht_app::delete_window(), ht_dialog::done(), ht_file_window::done(), ht_project_window::done(), execute_process(), and ht_uformat_viewer::vsearch(). |
|
Reimplemented from ht_view. Reimplemented in ht_app, and ht_dialog. Definition at line 1643 of file htobj.cc. References ht_view::clear(), ht_view::getcolor(), palidx_generic_body, and vcp. |
|
Definition at line 1649 of file htobj.cc. References frame, and ht_view::getbounds(). Referenced by ht_listpopup_dialog::init(). |
|
Definition at line 1665 of file htobj.cc. References frame. Referenced by ht_app::create_window_ofm(). |
|
Reimplemented from ht_view. |
|
Reimplemented from ht_group. Reimplemented in ht_help_window, ht_file_window, ht_project_window, ht_app, ht_dialog, ht_menu_window, ht_search_dialog, and ht_replace_dialog. Definition at line 1670 of file htobj.cc. References action_state, app, clearmsg(), cmd_window_resizemove, cmd_window_switch_resizemove, ht_view::dirtyview(), ht_view::getminbounds(), ht_group::handlemsg(), K_Control_Down, K_Control_F5, K_Control_Left, K_Control_R, K_Control_Right, K_Control_Up, K_Down, K_Escape, K_Left, K_Return, K_Right, K_Space, K_Up, ht_group::move(), msg_dirtyview, msg_keypressed, next_action_state(), resize(), ht_view::sendmsg(), ht_view::size, VO_MOVE, VO_RESIZE, WAC_MOVE, WAC_NORMAL, and WAC_RESIZE. Referenced by ht_dialog::handlemsg(), ht_file_window::handlemsg(), ht_project_window::handlemsg(), and ht_help_window::handlemsg(). |
|
Definition at line 1617 of file htobj.cc. References action_state, frame, hscrollbar, ht_frame::init(), Object::init(), NULL, number, pindicator, setframe(), UINT, VIEW_DEBUG_NAME, VO_BROWSABLE, VO_SELBOUND, VO_SELECTABLE, vscrollbar, and WAC_NORMAL. Referenced by ht_app::create_window_clipboard(), ht_app::create_window_help(), ht_app::create_window_log(), ht_app::create_window_ofm(), and ht_app::create_window_term(). |
|
|
loads object from object stream.
Reimplemented from ht_group. Reimplemented in ht_app. Definition at line 1772 of file htobj.cc. References ht_layer_stream::get_error(), and ht_group::load(). |
|
Definition at line 1778 of file htobj.cc. References action_state, frame, FST_FOCUSED, FST_MOVE, FST_RESIZE, ht_frame::setframestate(), VO_MOVE, VO_RESIZE, WAC_MOVE, WAC_NORMAL, WAC_RESIZE, and wstate_count. Referenced by handlemsg(). |
|
Reimplemented from ht_group. Reimplemented in ht_app. Definition at line 1805 of file htobj.cc. References ATOM_HT_WINDOW. |
|
Reimplemented from ht_group. Definition at line 1810 of file htobj.cc. References app, ht_context_menu::done(), frame, FS_THICK, ht_frame::getstyle(), msg_contextmenuquery, msg_dirtyview, msg_retval, mt_empty, ht_group::receivefocus(), ht_view::sendmsg(), ht_menu::set_local_menu(), and ht_frame::setstyle(). |
|
Reimplemented from ht_view. Definition at line 1835 of file htobj.cc. References buf, ht_scrollbar::disable(), ht_scrollbar::enable(), gsi_hscrollbar, gsi_pindicator, gsi_vscrollbar, hscrollbar, msg_get_scrollinfo, mt_empty, pindicator, gsi_scrollbar_t::psize, gsi_scrollbar_t::pstart, ht_view::redraw(), ht_view::sendmsg(), ht_scrollbar::setpos(), ht_text::settext(), and vscrollbar. |
|
Reimplemented from ht_group. Definition at line 1889 of file htobj.cc. References app, ht_menu::delete_local_menu(), frame, FS_THICK, ht_frame::getstyle(), msg_dirtyview, ht_group::releasefocus(), ht_view::sendmsg(), and ht_frame::setstyle(). |
|
Reimplemented from ht_group. Definition at line 1901 of file htobj.cc. References ht_group::resize(). Referenced by handlemsg(). |
|
Definition at line 1906 of file htobj.cc. References ht_frame::done(), frame, FS_MOVE, FS_RESIZE, ht_frame::getstyle(), insert(), NULL, ht_group::remove(), UINT, VO_MOVE, and VO_RESIZE. Referenced by ht_menu::execute_menu(), execute_submenu(), init(), and ht_app::init(). |
|
Definition at line 1933 of file htobj.cc. References hscrollbar, insert(), ht_group::putontop(), and ht_group::remove(). Referenced by ht_app::create_window_project(). |
|
Reimplemented from ht_view. Definition at line 1926 of file htobj.cc. References ht_view::dirtyview(), frame, number, ht_frame::setnumber(), and UINT. Referenced by ht_app::insert_window(). |
|
Definition at line 1941 of file htobj.cc. References insert(), pindicator, ht_group::putontop(), and ht_group::remove(). Referenced by ht_app::create_window_clipboard(), ht_app::create_window_file_bin(), ht_app::create_window_file_text(), ht_app::create_window_help(), and ht_app::create_window_term(). |
|
Definition at line 1949 of file htobj.cc. References frame, ht_strdup(), and ht_frame::settext(). Referenced by ht_app::handlemsg(), and ht_project_window::handlemsg(). |
|
Definition at line 1956 of file htobj.cc. References insert(), ht_group::putontop(), ht_group::remove(), and vscrollbar. Referenced by ht_app::create_window_file_bin(), ht_app::create_window_file_text(), ht_app::create_window_help(), ht_app::create_window_log(), and ht_app::create_window_term(). |
|
stores object. Reimplemented from ht_group. Reimplemented in ht_app. Definition at line 1964 of file htobj.cc. References ht_group::store(). |
|
Definition at line 382 of file htobj.h. Referenced by handlemsg(), init(), and next_action_state(). |
|
Definition at line 376 of file htobj.h. Referenced by getclientarea(), getframe(), init(), insert(), next_action_state(), receivefocus(), releasefocus(), setframe(), setnumber(), and settitle(). |
|
Definition at line 377 of file htobj.h. Referenced by done(), init(), redraw(), and sethscrollbar(). |
|
Definition at line 380 of file htobj.h. Referenced by getnumber(), init(), and setnumber(). |
|
Definition at line 379 of file htobj.h. Referenced by done(), init(), redraw(), and setpindicator(). |
|
Definition at line 378 of file htobj.h. Referenced by done(), init(), redraw(), and setvscrollbar(). |