MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / updateSensitivity

Method updateSensitivity

plugins/dm.objectives/DifficultyPanel.cpp:71–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void DifficultyPanel::updateSensitivity()
72{
73 // The "All levels" toggle has been changed, set the 1..N checkboxes
74 // to the inverse of the togglebutton's status
75 for (std::size_t i = 0; i < _toggles.size(); i++)
76 {
77 _toggles[i]->Enable(!_allLevels->GetValue());
78 }
79}
80
81void DifficultyPanel::_onCheckBoxToggle(wxCommandEvent& ev)
82{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
GetValueMethod · 0.45

Tested by

no test coverage detected