SkyGI::Menu Class Reference

Inheritance diagram for SkyGI::Menu:
[legend]
Collaboration diagram for SkyGI::Menu:
[legend]
List of all members.

Public Member Functions

 Menu (MenuLayout iMenuLayout)
 ~Menu ()
void Add (MenuItem *pItem)
void Remove (MenuItem *pItem)
MenuItemGetItem (int i)
void ShowIcons (bool bShowIcons)
bool HasIcons ()
void SetIconWidth (int iWidth)
int GetIconWidth ()
Rect GetMargin ()
int GetIconTextSpacing ()
Point GetPreferredSize ()
void SetTargetWindow (Window *pWindow)
WindowGetTargetWindow ()
MenuLayout GetMenuLayout ()
int GetItems ()
void Enable (bool bEnable=true)
bool IsEnabled ()
void SetMenuWindow (MenuWindow *pWindow)
MenuWindowGetMenuWindow ()

Friends

class MenuItem

Detailed Description

Examples:

listview.cpp, and tabview.cpp.


Constructor & Destructor Documentation

Menu::Menu ( MenuLayout  iMenuLayout  ) 

Menu::~Menu (  ) 


Member Function Documentation

void Menu::Add ( MenuItem pItem  ) 

Examples:
listview.cpp, and tabview.cpp.

void Menu::Remove ( MenuItem pItem  ) 

MenuItem * Menu::GetItem ( int  i  ) 

void Menu::ShowIcons ( bool  bShowIcons  ) 

bool SkyGI::Menu::HasIcons (  )  [inline]

void SkyGI::Menu::SetIconWidth ( int  iWidth  )  [inline]

int SkyGI::Menu::GetIconWidth (  )  [inline]

Rect SkyGI::Menu::GetMargin (  )  [inline]

int SkyGI::Menu::GetIconTextSpacing (  )  [inline]

Point Menu::GetPreferredSize (  ) 

void Menu::SetTargetWindow ( Window pWindow  ) 

Window * Menu::GetTargetWindow (  ) 

MenuLayout Menu::GetMenuLayout (  ) 

int Menu::GetItems (  ) 

void Menu::Enable ( bool  bEnable = true  ) 

bool SkyGI::Menu::IsEnabled (  )  [inline]

void Menu::SetMenuWindow ( MenuWindow pWindow  ) 

MenuWindow * Menu::GetMenuWindow (  ) 


Friends And Related Function Documentation

friend class MenuItem [friend]


Generated on Thu Dec 13 18:14:33 2007 for SkyGI by  doxygen 1.5.1-p1