9 #ifndef _TurtleBrains_ApplicationMenu_h_
10 #define _TurtleBrains_ApplicationMenu_h_
12 #include "implementation/tbi_application_information.h"
13 #include "../core/tb_types.h"
108 const MenuItemIdentifier& parentIdentifier = kInvalidMenuItemIdentifier,
const bool isEnabled =
true,
109 const bool isChecked =
false,
const bool isVisible =
true);
133 bool IsEnabled(
const MenuItemIdentifier& itemIdentifier)
const;
145 bool IsChecked(
const MenuItemIdentifier& itemIdentifier)
const;
157 bool IsVisible(
const MenuItemIdentifier& itemIdentifier)
const;
184 void SetEnabled(
const MenuItemIdentifier& itemIdentifier,
bool isEnabled);
199 void SetChecked(
const MenuItemIdentifier& itemIdentifier,
bool isChecked);
212 void SetVisible(
const MenuItemIdentifier& itemIdentifier,
bool isVisible);
231 MenuIdentifier mIdentifier;
Here is some information about the primary namespace.
Definition: tb_application_dialog.h:21
Contains classes, functions and constants to create Applications, Menus, Dialogs with native controls...
Definition: tb_application_dialog.h:23
Handle events from the application/window and actions from the user of your application by deriving a...
Definition: tb_application_handler_interface.h:31
const MenuItemIdentifier kInvalidMenuItemIdentifier
unsigned short MenuIdentifier
Definition: tb_application_menu.h:22
std::string tbString
Definition: tb_string.h:335
unsigned short MenuItemIdentifier
Definition: tb_application_menu.h:43