MCPcopy 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
75void 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

ShowMethod · 0.80
OnBrushButtonMethod · 0.80
OnToolChangedMethod · 0.80
OnToolMethod · 0.80
SetToolFunction · 0.80
OnPrevToolFunction · 0.80
OnNextToolFunction · 0.80

Calls

no outgoing calls

Tested by 3

ShowMethod · 0.64
OnBrushButtonMethod · 0.64
OnToolChangedMethod · 0.64