24#ifndef __TOOL_ACTION_H
25#define __TOOL_ACTION_H
38enum class BITMAPS :
unsigned int;
81 static int groupIDs = 0;
254 for(
auto flag : aState )
304 int aDefaultHotKey = 0,
const std::string& aLegacyHotKeyName =
"",
305 const wxString& aMenuText = wxEmptyString,
306 const wxString& aTooltip = wxEmptyString,
346 void SetHotKey(
int aKeycode,
int aKeycodeAlt = 0 );
396 wxString
GetTooltip(
bool aIncludeHotkey =
true )
const;
413 wxASSERT_MSG(
m_param.has_value(),
414 "Attempted to get a parameter from an action with no parameter." );
425 wxString::Format(
"Requested parameter type %s from action with "
426 "parameter type %s.",
BITMAPS
A list of all bitmap identifiers.
@ HIDDEN
Inactive layers are hidden.
A type-safe container of any type.
Exception class thrown by a failed any_cast.
An implementation of std::any_cast, which uses type_info::hash_code to check validity of cast types.
ValueType any_cast(const any &any)
Access the contained object.