Audacity 3.2.0
|
#include <ToolManager.h>
Public Member Functions | |
AttachedToolBarMenuItem (Identifier id, const CommandID &name, const TranslatableString &label_in, const Registry::OrderingHint &hint={}, std::vector< Identifier > excludeIds={}) | |
void | OnShowToolBar (const CommandContext &context) |
Public Attributes | |
const Identifier | mId |
const MenuRegistry::AttachedItem | mAttachedItem |
const std::vector< Identifier > | mExcludeIds |
Definition at line 247 of file ToolManager.h.
AttachedToolBarMenuItem::AttachedToolBarMenuItem | ( | Identifier | id, |
const CommandID & | name, | ||
const TranslatableString & | label_in, | ||
const Registry::OrderingHint & | hint = {} , |
||
std::vector< Identifier > | excludeIds = {} |
||
) |
Definition at line 1563 of file ToolManager.cpp.
void AttachedToolBarMenuItem::OnShowToolBar | ( | const CommandContext & | context | ) |
Definition at line 1583 of file ToolManager.cpp.
References ToolManager::Get(), mExcludeIds, mId, ToolManager::ModifyToolbarMenus(), CommandContext::project, and project.
const MenuRegistry::AttachedItem AttachedToolBarMenuItem::mAttachedItem |
Definition at line 257 of file ToolManager.h.
const std::vector< Identifier > AttachedToolBarMenuItem::mExcludeIds |
Definition at line 258 of file ToolManager.h.
Referenced by OnShowToolBar().
const Identifier AttachedToolBarMenuItem::mId |
Definition at line 256 of file ToolManager.h.
Referenced by OnShowToolBar().