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

htmenu.cc File Reference

#include "htapp.h"
#include "htctrl.h"
#include "htkeyb.h"
#include "htmenu.h"
#include "htpal.h"
#include "htreg.h"
#include "htstring.h"
#include "stream.h"
#include "tools.h"
#include <string.h>

Go to the source code of this file.

Defines

#define button_left   100
#define button_right   101

Functions

char * shortcut_str (char *str)
bool execute_submenu (int x, int y, ht_context_menu *m)
bool init_menu ()
void done_menu ()


Define Documentation

#define button_left   100
 

Definition at line 33 of file htmenu.cc.

Referenced by ht_menu::execute_menu(), and ht_menu_window_body::handlemsg().

#define button_right   101
 

Definition at line 34 of file htmenu.cc.

Referenced by ht_menu::execute_menu(), and ht_menu_window_body::handlemsg().


Function Documentation

void done_menu  ) 
 

Definition at line 828 of file htmenu.cc.

bool execute_submenu int  x,
int  y,
ht_context_menu m
 

Definition at line 48 of file htmenu.cc.

References app, button_ok, ht_context_menu::count(), ht_view::databuf_set(), ht_menu_window::done(), FS_MOVE, ht_view::getbounds(), ht_frame::init(), ht_menu_window::init(), palkey_generic_menu_default, ht_dialog::run(), ht_menu_window_data::selected, ht_window::setframe(), ht_group::setpalette(), ht_context_menu::width, and ht_context_menu::xpos.

Referenced by ht_menu_window::handlemsg().

bool init_menu  ) 
 

Definition at line 819 of file htmenu.cc.

char* shortcut_str char *  str  ) 
 

Definition at line 36 of file htmenu.cc.

References NULL.

Referenced by ht_context_menu::init(), and ht_static_context_menu::insert_entry().


Generated on Fri May 7 21:15:49 2004 by doxygen 1.3.5