Logo Search packages:      
Sourcecode: kball version File versions  Download package

Public Member Functions | Public Attributes | Private Attributes

CQMenu Class Reference

Collaboration diagram for CQMenu:
Collaboration graph

List of all members.

Public Member Functions

int add_item_to_menu (string item)
int add_item_to_menu (char *item)
void clear_menu_list ()
int do_the_menu (int selected)
int do_the_menu (void)
BITMAP * get_back_bitmap ()
int get_bg_color_ns ()
int get_bg_color_s ()
unsigned long int get_big_timer_counter ()
int get_fg_color_ns ()
int get_fg_color_s ()
FONT * get_font_ns ()
FONT * get_font_s ()
int get_h ()
int get_menu_item_count ()
string get_menu_item_text (int item_index)
int get_time_counter ()
BITMAP * get_to_bitmap ()
int get_w ()
int get_x ()
int get_y ()
void set_back_bitmap (BITMAP *b)
void set_bg_color_ns (int bg)
void set_bg_color_s (int bg)
void set_callback_drawer (void(*c)(CQMenu &d, bool do_logic))
void set_fg_color_ns (int fg)
void set_fg_color_s (int fg)
void set_font_ns (FONT *f)
void set_font_s (FONT *f)
void set_to_bitmap (BITMAP *b)
void set_xywh (int x, int y, int w, int h)

Public Attributes

CController control
int item_y_separation
int text_align

Private Attributes

BITMAP * back_bitmap
void(* callback )(CQMenu &d, bool do_logic)
int menu_bg_color_ns
int menu_bg_color_s
int menu_fg_color_ns
int menu_fg_color_s
FONT * menu_font_ns
FONT * menu_font_s
vector< string > menu_item_text
int mh
int mw
int mx
int my
BITMAP * to_bitmap

Detailed Description

Definition at line 29 of file qmenu.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index