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

ht_context_menu Class Reference

#include <htmenu.h>

Inheritance diagram for ht_context_menu:

Object ht_static_context_menu List of all members.

Public Member Functions

void init (char *name)
virtual void done ()
virtual int count ()
virtual ht_context_menu_entryenum_entry_first ()
virtual ht_context_menu_entryenum_entry_next ()
virtual ht_context_menu_entryget_entry (int n)
virtual char * get_name ()
virtual char * get_shortcut ()

Public Attributes

int xpos
int width

Member Function Documentation

int ht_context_menu::count  )  [virtual]
 

Reimplemented in ht_static_context_menu.

Definition at line 111 of file htmenu.cc.

Referenced by ht_context_menu_window_body::draw(), ht_menu::execute_menu(), execute_submenu(), ht_menu::handle_key_context_menu(), ht_context_menu_window_body::handlemsg(), ht_context_menu_window_body::next_selectable(), and ht_context_menu_window_body::prev_selectable().

void ht_context_menu::done  )  [virtual]
 

Reimplemented from Object.

Reimplemented in ht_static_context_menu.

Definition at line 105 of file htmenu.cc.

References Object::done().

Referenced by ht_menu::delete_local_menu(), ht_static_context_menu::done(), ht_menu::handlemsg(), ht_window::receivefocus(), ht_menu::set_local_menu(), and ht_context_menu_entry::~ht_context_menu_entry().

ht_context_menu_entry * ht_context_menu::enum_entry_first  )  [virtual]
 

Reimplemented in ht_static_context_menu.

Definition at line 116 of file htmenu.cc.

References NULL.

Referenced by ht_context_menu_window_body::draw(), get_entry(), ht_menu::handle_key_context_menu(), and ht_context_menu_window_body::handlemsg().

ht_context_menu_entry * ht_context_menu::enum_entry_next  )  [virtual]
 

Reimplemented in ht_static_context_menu.

Definition at line 121 of file htmenu.cc.

References NULL.

Referenced by ht_context_menu_window_body::draw(), get_entry(), ht_menu::handle_key_context_menu(), and ht_context_menu_window_body::handlemsg().

ht_context_menu_entry * ht_context_menu::get_entry int  n  )  [virtual]
 

Definition at line 126 of file htmenu.cc.

References enum_entry_first(), and enum_entry_next().

Referenced by ht_menu_window::handlemsg(), ht_context_menu_window_body::next_selectable(), and ht_context_menu_window_body::prev_selectable().

char * ht_context_menu::get_name  )  [virtual]
 

Definition at line 136 of file htmenu.cc.

Referenced by ht_context_menu_window_body::draw(), ht_menu::draw(), ht_menu::insert_menu(), and ht_menu::set_local_menu().

char * ht_context_menu::get_shortcut  )  [virtual]
 

Definition at line 141 of file htmenu.cc.

Referenced by ht_context_menu_window_body::draw(), ht_menu::draw(), ht_context_menu_window_body::handlemsg(), and ht_menu::handlemsg().

void ht_context_menu::init char *  name  ) 
 

Reimplemented in ht_static_context_menu.

Definition at line 97 of file htmenu.cc.

References ht_strdup(), Object::init(), shortcut_str(), and width.


Member Data Documentation

int ht_context_menu::width
 

Definition at line 65 of file htmenu.h.

Referenced by ht_menu::execute_menu(), execute_submenu(), and init().

int ht_context_menu::xpos
 

Definition at line 65 of file htmenu.h.

Referenced by ht_menu::draw(), ht_menu::execute_menu(), execute_submenu(), ht_menu_window::handlemsg(), ht_menu::insert_menu(), ht_static_context_menu::insert_submenu(), and ht_menu::set_local_menu().


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