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

ht_group Class Reference

#include <htobj.h>

Inheritance diagram for ht_group:

ht_view Object ht_evalstr_search_form ht_expr_search_form ht_hexascii_search_form ht_replace_hexascii_search_form ht_vregex_search_form ht_window ht_xgroup ht_dialog ht_file_window ht_help_window ht_progress_indicator ht_project_window FileBrowser ht_app ht_blockop_dialog ht_listpopup_dialog ht_menu_window ht_search_dialog ht_history_popup_dialog ht_replace_dialog List of all members.

Public Member Functions

void init (bounds *b, int options, const char *desc)
virtual void done ()
virtual int childcount ()
virtual int countselectables ()
virtual int datasize ()
virtual int enum_start ()
virtual ht_viewenum_next (int *handle)
virtual int focus (ht_view *view)
virtual void getdata (ht_object_stream *s)
virtual ht_viewgetselected ()
virtual ht_viewgetfirstchild ()
virtual void handlemsg (htmsg *msg)
virtual int isalone (ht_view *view)
int isviewdirty ()
virtual int load (ht_object_stream *s)
virtual void move (int x, int y)
virtual OBJECT_ID object_id () const
void putontop (ht_view *view)
virtual void receivefocus ()
virtual void resize (int rw, int rh)
virtual void releasefocus ()
virtual int select (ht_view *view)
virtual void selectfirst ()
virtual void selectlast ()
virtual void setdata (ht_object_stream *s)
virtual void setpalette (char *pal_name)
virtual void store (ht_object_stream *s)
virtual void reorder_view (ht_view *v, int rx, int ry)
void remove (ht_view *view)
virtual void insert (ht_view *view)
int focusnext ()
int focusprev ()
ht_viewget_by_browse_idx (int i)

Public Attributes

ht_viewfirst
ht_viewcurrent
ht_viewlast
void * shared_data

Protected Attributes

int view_count

Member Function Documentation

int ht_group::childcount  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 802 of file htobj.cc.

References view_count.

Referenced by ht_format_group::childcount(), and store().

int ht_group::countselectables  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_xgroup.

Definition at line 807 of file htobj.cc.

References ht_view::countselectables(), first, and ht_view::next.

int ht_group::datasize  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_listpopup_dialog.

Definition at line 818 of file htobj.cc.

References ht_view::datasize(), first, ht_view::next, size, and UINT.

void ht_group::done  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_blockop_dialog, ht_file_window, ht_project_window, ht_app, ht_dialog, ht_listpopup_dialog, ht_menu_window, ht_xgroup, ht_window, ht_search_dialog, and ht_replace_dialog.

Definition at line 789 of file htobj.cc.

References ht_view::done(), first, and ht_view::next.

Referenced by ht_window::done(), ht_xgroup::done(), and htpefimports_init().

ht_view * ht_group::enum_next int *  handle  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 834 of file htobj.cc.

References ht_view::browse_idx, first, and ht_view::next.

Referenced by getdata(), and setdata().

int ht_group::enum_start  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 829 of file htobj.cc.

Referenced by getdata(), and setdata().

int ht_group::focus ht_view view  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_app.

Definition at line 851 of file htobj.cc.

References current, first, ht_view::focus(), ht_view::next, putontop(), receivefocus(), and releasefocus().

Referenced by ht_format_group::focus(), ht_app::focus(), focusnext(), focusprev(), ht_file_window::handlemsg(), insert(), ht_search_dialog::insert_search_mode(), remove(), and ht_search_dialog::select_search_mode_bymodeidx().

int ht_group::focusnext  ) 
 

Definition at line 867 of file htobj.cc.

References ht_view::alone(), ht_view::browse_idx, current, focus(), get_by_browse_idx(), NULL, ht_view::options, ht_view::selectfirst(), view_count, VO_SELBOUND, and VO_SELECTABLE.

Referenced by handlemsg().

int ht_group::focusprev  ) 
 

Definition at line 893 of file htobj.cc.

References ht_view::alone(), ht_view::browse_idx, current, focus(), get_by_browse_idx(), ht_view::options, ht_view::selectlast(), view_count, VO_SELBOUND, and VO_SELECTABLE.

Referenced by handlemsg().

ht_view * ht_group::get_by_browse_idx int  i  ) 
 

Definition at line 914 of file htobj.cc.

References ht_view::browse_idx, first, and ht_view::next.

Referenced by focusnext(), and focusprev().

void ht_group::getdata ht_object_stream s  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_listpopup_dialog, ht_history_popup_dialog, and ht_menu_window.

Definition at line 924 of file htobj.cc.

References enum_next(), enum_start(), and ht_view::getdata().

ht_view * ht_group::getfirstchild  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 938 of file htobj.cc.

References first.

Referenced by ht_format_group::getfirstchild(), and ht_pe_resource_viewer::select_node().

ht_view * ht_group::getselected  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 933 of file htobj.cc.

References current, and ht_view::getselected().

Referenced by ht_format_group::getselected(), and ht_app::popup_view_list().

void ht_group::handlemsg htmsg *  msg  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_help_window, ht_file_window, ht_project_window, ht_app, ht_dialog, ht_menu_window, ht_xgroup, ht_window, ht_search_dialog, and ht_replace_dialog.

Definition at line 943 of file htobj.cc.

References clearmsg(), current, ht_view::dirtyview(), first, focusnext(), focusprev(), ht_view::handlemsg(), K_BackTab, K_Left, K_Right, K_Tab, msg_keypressed, mt_broadcast, mt_empty, mt_postprocess, mt_preprocess, ht_view::next, ht_view::options, VO_POSTPROCESS, and VO_PREPROCESS.

Referenced by ht_window::handlemsg(), ht_xgroup::handlemsg(), and ht_app::handlemsg().

void ht_group::init bounds *  b,
int  options,
const char *  desc
 

Reimplemented from ht_view.

Reimplemented in ht_xgroup.

Definition at line 776 of file htobj.cc.

References current, first, GMH_FIT, GMV_FIT, Object::init(), last, MK_GM, options, shared_data, view_count, and VIEW_DEBUG_NAME.

Referenced by htclassimage_init(), htpefimage_init(), htpefimports_init(), and ht_app::init().

void ht_group::insert ht_view view  )  [virtual]
 

Reimplemented in ht_window.

Definition at line 1026 of file htobj.cc.

References current, first, focus(), ht_view::g_hdist, ht_view::g_vdist, ht_view::getbounds(), last, ht_view::move(), ht_view::next, ht_view::options, ht_view::pal_class, ht_view::prev, ht_view::releasefocus(), select(), ht_view::setgroup(), ht_view::setoptions(), ht_view::setpalette(), ht_view::size, view_count, VO_POSTPROCESS, VO_PREPROCESS, and VO_SELECTABLE.

Referenced by htclassimage_init(), htpefimage_init(), htpefimports_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_window::insert(), ht_format_group::insert(), ht_replace_dialog::insert_replace_mode(), ht_search_dialog::insert_search_mode(), and ht_app::insert_window().

int ht_group::isalone ht_view view  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_xgroup.

Definition at line 1059 of file htobj.cc.

References ht_view::countselectables(), first, and ht_view::next.

Referenced by ht_view::alone(), and ht_xgroup::isalone().

int ht_group::isviewdirty  ) 
 

Reimplemented from ht_view.

Definition at line 1069 of file htobj.cc.

References first, ht_view::isviewdirty(), and ht_view::next.

int ht_group::load ht_object_stream f  )  [virtual]
 

loads object from object stream.

Returns:
ht_stream errorcode

Reimplemented from ht_view.

Reimplemented in ht_app, ht_xgroup, and ht_window.

Definition at line 1079 of file htobj.cc.

Referenced by ht_window::load(), and ht_xgroup::load().

void ht_group::move int  x,
int  y
[virtual]
 

Reimplemented from ht_view.

Definition at line 1084 of file htobj.cc.

References first, ht_view::move(), and ht_view::next.

Referenced by ht_window::handlemsg(), and ht_format_group::move().

OBJECT_ID ht_group::object_id  )  const [virtual]
 

Returns:
unique object id.

Reimplemented from ht_view.

Reimplemented in ht_app, ht_xgroup, and ht_window.

Definition at line 1094 of file htobj.cc.

References ATOM_HT_GROUP.

void ht_group::putontop ht_view view  ) 
 

Definition at line 1099 of file htobj.cc.

References first, last, ht_view::next, and ht_view::prev.

Referenced by focus(), select(), ht_window::sethscrollbar(), ht_window::setpindicator(), and ht_window::setvscrollbar().

void ht_group::receivefocus  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_window.

Definition at line 1111 of file htobj.cc.

References current, and ht_view::receivefocus().

Referenced by focus(), ht_window::receivefocus(), and ht_format_group::receivefocus().

void ht_group::releasefocus  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_window.

Definition at line 1117 of file htobj.cc.

References current, and ht_view::releasefocus().

Referenced by focus(), ht_window::releasefocus(), ht_format_group::releasefocus(), and remove().

void ht_group::remove ht_view view  ) 
 

Definition at line 1124 of file htobj.cc.

References current, first, focus(), ht_view::getbounds(), last, ht_view::move(), ht_view::next, ht_view::prev, and releasefocus().

Referenced by ht_app::delete_window(), ht_format_group::remove(), ht_window::setframe(), ht_window::sethscrollbar(), ht_window::setpindicator(), and ht_window::setvscrollbar().

void ht_group::reorder_view ht_view v,
int  rx,
int  ry
[virtual]
 

Definition at line 1142 of file htobj.cc.

References GET_GM_H, GET_GM_V, GMH_FIT, GMH_LEFT, GMH_RIGHT, GMV_BOTTOM, GMV_FIT, GMV_TOP, ht_view::growmode, ht_view::move(), and ht_view::resize().

Referenced by resize().

void ht_group::resize int  rw,
int  rh
[virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_window.

Definition at line 1177 of file htobj.cc.

References first, ht_view::next, reorder_view(), and ht_view::resize().

Referenced by ht_window::resize(), and ht_format_group::resize().

int ht_group::select ht_view view  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 1188 of file htobj.cc.

References current, first, ht_view::next, putontop(), and ht_view::select().

Referenced by insert(), selectfirst(), and selectlast().

void ht_group::selectfirst  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_xgroup.

Definition at line 1202 of file htobj.cc.

References ht_view::browse_idx, first, ht_view::next, ht_view::options, select(), view_count, and VO_SELECTABLE.

void ht_group::selectlast  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_xgroup.

Definition at line 1216 of file htobj.cc.

References ht_view::browse_idx, first, ht_view::next, ht_view::options, select(), view_count, and VO_SELECTABLE.

void ht_group::setdata ht_object_stream s  )  [virtual]
 

Reimplemented from ht_view.

Reimplemented in ht_listpopup_dialog, ht_history_popup_dialog, and ht_menu_window.

Definition at line 1230 of file htobj.cc.

References enum_next(), enum_start(), and ht_view::setdata().

Referenced by ht_strinputfield::history_dialog().

void ht_group::setpalette char *  pal_name  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 1239 of file htobj.cc.

References first, ht_view::next, ht_view::pal_class, and ht_view::setpalette().

Referenced by ht_app::create_window_help(), ht_app::create_window_project(), ht_menu::execute_menu(), execute_submenu(), htclassimage_init(), htpefimage_init(), htpefimports_init(), ht_app::popup_view_list(), ht_app::popup_window_list(), ht_uformat_viewer::ref_desc(), and ht_uformat_viewer::ref_flags().

void ht_group::store ht_object_stream s  )  [virtual]
 

stores object.

Reimplemented from ht_view.

Reimplemented in ht_app, ht_xgroup, and ht_window.

Definition at line 1249 of file htobj.cc.

References childcount(), first, ht_view::next, NULL, ht_object_stream::putIntDec(), ht_object_stream::putObject(), and ht_view::store().

Referenced by ht_window::store(), and ht_xgroup::store().


Member Data Documentation

ht_view * ht_group::current
 

Definition at line 231 of file htobj.h.

Referenced by focus(), focusnext(), focusprev(), ht_format_group::get_hscrollbar_pos(), ht_format_group::get_pindicator_str(), ht_format_group::get_vscrollbar_pos(), getselected(), handlemsg(), ht_app::handlemsg(), init(), insert(), ht_app::popup_view_list(), ht_app::popup_window_list(), receivefocus(), releasefocus(), remove(), and select().

ht_view* ht_group::first
 

Definition at line 231 of file htobj.h.

Referenced by countselectables(), datasize(), done(), enum_next(), focus(), get_by_browse_idx(), getfirstchild(), handlemsg(), init(), insert(), isalone(), isviewdirty(), move(), putontop(), remove(), resize(), select(), selectfirst(), selectlast(), setpalette(), store(), and view_line_exposed().

ht_view * ht_group::last
 

Definition at line 231 of file htobj.h.

Referenced by init(), insert(), putontop(), and remove().

void* ht_group::shared_data
 

Definition at line 232 of file htobj.h.

Referenced by init().

int ht_group::view_count [protected]
 

Definition at line 228 of file htobj.h.

Referenced by childcount(), focusnext(), focusprev(), init(), insert(), selectfirst(), and selectlast().


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:15:58 2004 by doxygen 1.3.5