Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/audacity/audacity
/ SetTool
Method
SetTool
src/ProjectSettings.cpp:75–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
73
}
74
75
void ProjectSettings::SetTool(int tool) {
76
if (auto oldValue = mCurrentTool; tool != oldValue) {
77
mCurrentTool = tool;
78
Publish({ ProjectSettingsEvent::ChangedTool, oldValue, tool });
79
}
80
}
81
Callers
7
Show
Method · 0.80
OnBrushButton
Method · 0.80
OnToolChanged
Method · 0.80
OnTool
Method · 0.80
SetTool
Function · 0.80
OnPrevTool
Function · 0.80
OnNextTool
Function · 0.80
Calls
no outgoing calls
Tested by
3
Show
Method · 0.64
OnBrushButton
Method · 0.64
OnToolChanged
Method · 0.64