MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / buttonClicked

Method buttonClicked

gui/browserWidgets/expandbutton.cpp:54–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void ExpandButton::buttonClicked() {
55 switch (currentState) {
56 case EXPANDBUTTON_1 :
57 currentState = EXPANDBUTTON_2;
58 break;
59 case EXPANDBUTTON_2 :
60 currentState = EXPANDBUTTON_3;
61 break;
62 case EXPANDBUTTON_3 :
63 currentState = EXPANDBUTTON_1;
64 break;
65 }
66 setState(currentState);
67}
68
69
70void ExpandButton::reloadIcon() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected