Starshatter_Open
Open source Starshatter engine
|
#include <MenuView.h>
Public Member Functions | |
MenuView (Window *c) | |
virtual | ~MenuView () |
virtual void | Refresh () |
virtual void | OnWindowMove () |
virtual void | DoMouseFrame () |
virtual void | DrawMenu () |
virtual void | DrawMenu (int x, int y, Menu *menu) |
virtual int | ProcessMenuItem () |
virtual void | ClearMenuSelection (Menu *menu) |
virtual bool | IsShown () |
virtual int | GetAction () |
virtual Menu * | GetMenu () |
virtual void | SetMenu (Menu *m) |
virtual MenuItem * | GetMenuItem () |
virtual Color | GetBackColor () |
virtual void | SetBackColor (Color c) |
virtual Color | GetTextColor () |
virtual void | SetTextColor (Color c) |
Public Member Functions inherited from View | |
View (Window *c) | |
virtual | ~View () |
int | operator== (const View &that) const |
virtual void | OnShow () |
virtual void | OnHide () |
virtual void | SetWindow (Window *w) |
virtual Window * | GetWindow () |
Protected Attributes | |
int | width |
int | height |
int | shift_down |
int | mouse_down |
int | right_down |
int | show_menu |
POINT | right_start |
POINT | offset |
int | action |
Menu * | menu |
MenuItem * | menu_item |
MenuItem * | selected |
Color | back_color |
Color | text_color |
Protected Attributes inherited from View | |
Window * | window |
Additional Inherited Members | |
Static Public Member Functions inherited from View | |
static const char * | TYPENAME () |
Definition at line 31 of file MenuView.h.
MenuView::MenuView | ( | Window * | c | ) |
Definition at line 34 of file MenuView.cpp.
|
virtual |
Definition at line 46 of file MenuView.cpp.
|
virtual |
Definition at line 323 of file MenuView.cpp.
|
virtual |
Definition at line 73 of file MenuView.cpp.
|
virtual |
Definition at line 156 of file MenuView.cpp.
|
virtual |
Definition at line 169 of file MenuView.cpp.
|
inlinevirtual |
Definition at line 47 of file MenuView.h.
|
inlinevirtual |
Definition at line 52 of file MenuView.h.
|
inlinevirtual |
Definition at line 48 of file MenuView.h.
|
inlinevirtual |
Definition at line 50 of file MenuView.h.
|
inlinevirtual |
Definition at line 54 of file MenuView.h.
|
inlinevirtual |
Definition at line 46 of file MenuView.h.
|
virtual |
Reimplemented from View.
Definition at line 53 of file MenuView.cpp.
|
virtual |
Definition at line 131 of file MenuView.cpp.
|
virtual |
Reimplemented from View.
Definition at line 64 of file MenuView.cpp.
|
inlinevirtual |
Definition at line 53 of file MenuView.h.
|
inlinevirtual |
Definition at line 49 of file MenuView.h.
|
inlinevirtual |
Definition at line 55 of file MenuView.h.
|
protected |
Definition at line 67 of file MenuView.h.
|
protected |
Definition at line 72 of file MenuView.h.
|
protected |
Definition at line 58 of file MenuView.h.
|
protected |
Definition at line 68 of file MenuView.h.
|
protected |
Definition at line 69 of file MenuView.h.
|
protected |
Definition at line 61 of file MenuView.h.
|
protected |
Definition at line 65 of file MenuView.h.
|
protected |
Definition at line 62 of file MenuView.h.
|
protected |
Definition at line 64 of file MenuView.h.
|
protected |
Definition at line 70 of file MenuView.h.
|
protected |
Definition at line 60 of file MenuView.h.
|
protected |
Definition at line 63 of file MenuView.h.
|
protected |
Definition at line 73 of file MenuView.h.
|
protected |
Definition at line 58 of file MenuView.h.