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

ht_static_context_menu Class Reference

#include <htmenu.h>

Inheritance diagram for ht_static_context_menu:

ht_context_menu Object List of all members.

Public Member Functions

void init (char *name)
virtual void done ()
void insert_entry (char *name, char *comment, int command, int key, bool active)
void insert_separator ()
void insert_submenu (ht_context_menu *submenu)
virtual int count ()
virtual ht_context_menu_entryenum_entry_first ()
virtual ht_context_menu_entryenum_entry_next ()

Protected Attributes

ht_listcontext_menu_entry
int enum_idx

Member Function Documentation

int ht_static_context_menu::count  )  [virtual]
 

Reimplemented from ht_context_menu.

Definition at line 164 of file htmenu.cc.

References context_menu_entry, and ht_list::count().

void ht_static_context_menu::done  )  [virtual]
 

Reimplemented from ht_context_menu.

Definition at line 157 of file htmenu.cc.

References context_menu_entry, ht_list::destroy(), and ht_context_menu::done().

ht_context_menu_entry * ht_static_context_menu::enum_entry_first  )  [virtual]
 

Reimplemented from ht_context_menu.

Definition at line 169 of file htmenu.cc.

References context_menu_entry, enum_idx, and ht_list::get().

ht_context_menu_entry * ht_static_context_menu::enum_entry_next  )  [virtual]
 

Reimplemented from ht_context_menu.

Definition at line 176 of file htmenu.cc.

References context_menu_entry, enum_idx, and ht_list::get().

void ht_static_context_menu::init char *  name  ) 
 

Reimplemented from ht_context_menu.

Definition at line 150 of file htmenu.cc.

References context_menu_entry, and Object::init().

Referenced by ht_text_editor::handlemsg(), ht_hex_viewer::handlemsg(), ht_disasm_viewer::handlemsg(), ht_project_window::handlemsg(), ht_aviewer::handlemsg(), and ht_app::init().

void ht_static_context_menu::insert_entry char *  name,
char *  comment,
int  command,
int  key,
bool  active
 

Definition at line 183 of file htmenu.cc.

References CME_ENTRY, context_menu_entry, ht_context_menu_entry::entry, ht_strdup(), ht_list::insert(), MAX, NULL, shortcut_str(), and ht_context_menu_entry::type.

Referenced by ht_text_editor::handlemsg(), ht_hex_viewer::handlemsg(), ht_disasm_viewer::handlemsg(), ht_project_window::handlemsg(), ht_aviewer::handlemsg(), and ht_app::init().

void ht_static_context_menu::insert_separator  ) 
 

Definition at line 201 of file htmenu.cc.

References CME_SEPARATOR, context_menu_entry, ht_list::insert(), and ht_context_menu_entry::type.

Referenced by ht_text_editor::handlemsg(), ht_aviewer::handlemsg(), and ht_app::init().

void ht_static_context_menu::insert_submenu ht_context_menu submenu  ) 
 

Definition at line 208 of file htmenu.cc.

References CME_SUBMENU, context_menu_entry, ht_list::insert(), ht_context_menu_entry::submenu, ht_context_menu_entry::type, and ht_context_menu::xpos.

Referenced by ht_aviewer::handlemsg().


Member Data Documentation

ht_list* ht_static_context_menu::context_menu_entry [protected]
 

Definition at line 84 of file htmenu.h.

Referenced by count(), done(), enum_entry_first(), enum_entry_next(), init(), insert_entry(), insert_separator(), and insert_submenu().

int ht_static_context_menu::enum_idx [protected]
 

Definition at line 85 of file htmenu.h.

Referenced by enum_entry_first(), and enum_entry_next().


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