Blamite Game Engine - blam!  00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
BlamMenubarItem Struct Reference

Structure representing a menu bar item. More...

#include <menubar.h>

Public Member Functions

 BlamMenubarItem ()
 

Public Attributes

BlamMenubarItemType type
 The type of this menu item. More...
 
BlamMenubarItemVariableType var_type
 The type of variable the menu item uses. More...
 
std::string name
 The item name. More...
 
std::string variable
 The item variable. Will either be the command to run upon clicking, or the label text. More...
 
std::string shortcut
 The menu item shortcut label. Cosmetic only. More...
 
bool has_shortcut
 Whether or not this item has a shortcut label. More...
 
bool enabled
 Whether or not this menu item is enabled and can be clicked. More...
 
BlamColor color
 The color of the label. More...
 
bool override_color
 Whether or not the label has a custom color set. More...
 
std::vector< BlamMenubarItemitems
 List of all child items in this submenu. More...
 

Detailed Description

Structure representing a menu bar item.

Constructor & Destructor Documentation

◆ BlamMenubarItem()

BlamMenubarItem::BlamMenubarItem ( )
inline

Member Data Documentation

◆ color

BlamColor BlamMenubarItem::color

The color of the label.

◆ enabled

bool BlamMenubarItem::enabled

Whether or not this menu item is enabled and can be clicked.

◆ has_shortcut

bool BlamMenubarItem::has_shortcut

Whether or not this item has a shortcut label.

◆ items

std::vector<BlamMenubarItem> BlamMenubarItem::items

List of all child items in this submenu.

◆ name

std::string BlamMenubarItem::name

The item name.

◆ override_color

bool BlamMenubarItem::override_color

Whether or not the label has a custom color set.

◆ shortcut

std::string BlamMenubarItem::shortcut

The menu item shortcut label. Cosmetic only.

◆ type

BlamMenubarItemType BlamMenubarItem::type

The type of this menu item.

◆ var_type

BlamMenubarItemVariableType BlamMenubarItem::var_type

The type of variable the menu item uses.

◆ variable

std::string BlamMenubarItem::variable

The item variable. Will either be the command to run upon clicking, or the label text.


The documentation for this struct was generated from the following file: