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

System::MenuItem Class Reference

menu item class More...

#include <menu.h>

List of all members.

Public Member Functions

 MenuItem (bool end)
 constructor used for generating menu item end mark

 MenuItem (const char *filename, int x, int y)
 constructor used for generating clasic menu item

void draw ()
 draws this menu item

bool inside (int x, int y)
 is position inside this menu item

virtual ~MenuItem ()
 standard destructor

bool isEnd ()
 is this menu item end sign


Detailed Description

menu item class


Constructor & Destructor Documentation

System::MenuItem::MenuItem bool  end  )  [inline]
 

constructor used for generating menu item end mark

Parameters:
end if it set to true, this mean, this menu item is the last (is end mark)

System::MenuItem::MenuItem const char *  filename,
int  x,
int  y
 

constructor used for generating clasic menu item

Parameters:
filename path to icon of this item.
x x-position of menu item icon
y y-position of menu item icon

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Fri May 28 02:26:39 2004 for Piskvorky by doxygen 1.3.7