28#ifndef __TOOL_ACTION_H
29#define __TOOL_ACTION_H
42enum class BITMAPS :
unsigned int;
85 static int groupIDs = 0;
258 for(
auto flag : aState )
308 int aDefaultHotKey = 0,
const std::string& aLegacyHotKeyName =
"",
309 const wxString& aMenuText = wxEmptyString,
310 const wxString& aTooltip = wxEmptyString,
350 void SetHotKey(
int aKeycode,
int aKeycodeAlt = 0 );
392 wxString
GetTooltip(
bool aIncludeHotkey =
true )
const;
409 wxASSERT_MSG(
m_param.has_value(),
410 "Attempted to get a parameter from an action with no parameter." );
421 wxString::Format(
"Requested parameter type %s from action with "
422 "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.