32 int aDefaultHotKey,
const std::string& aLegacyHotKeyName,
33 const wxString& aLabel,
const wxString& aTooltip,
37 m_defaultHotKey( aDefaultHotKey ),
38 m_legacyName( aLegacyHotKeyName ),
40 m_tooltip( aTooltip ),
71 return wxGetTranslation(
m_label );
77 wxString label = wxGetTranslation(
m_label );
78 label.Replace(
"&",
"&&" );
85 wxString tooltip = wxGetTranslation(
m_tooltip );
102 int dotCount = std::count(
m_name.begin(),
m_name.end(),
'.' );
PNG memory record (file in memory).
wxString AddHotkeyName(const wxString &aText, int aHotKey, HOTKEY_ACTION_TYPE aStyle)
static std::list< TOOL_ACTION * > & GetActionList()
Return list of TOOL_ACTIONs.
void Format(OUTPUTFORMATTER *out, int aNestLevel, int aCtl, const CPTREE &aTree)
Output a PTREE into s-expression format via an OUTPUTFORMATTER derivative.
wxString KeyNameFromKeyCode(int aKeycode, bool *aIsFound)
Return the key name from the key code.