MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / GetPressedCount

Method GetPressedCount

src/client/ui/float_button_state_indicator.cpp:95–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 int FloatButtonStateIndicator::GetPressedCount() {
96 int count = 0;
97 if (alt_item_->IsPressed()) {
98 count++;
99 }
100 if (shift_item_->IsPressed()) {
101 count++;
102 }
103 if (control_item_->IsPressed()) {
104 count++;
105 }
106 if (win_item_->IsPressed()) {
107 count++;
108 }
109 return count;
110 }
111
112}

Callers

nothing calls this directly

Calls 1

IsPressedMethod · 0.80

Tested by

no test coverage detected