| 111 | } |
| 112 | |
| 113 | void buttonClicked(SubWidget*, int) override |
| 114 | { |
| 115 | fColorId = (fColorId + 1) % 3; |
| 116 | repaint(); |
| 117 | |
| 118 | if (fCallback != nullptr) |
| 119 | fCallback->demoWidgetClicked(this, fColorId); |
| 120 | } |
| 121 | |
| 122 | private: |
| 123 | Callback* fCallback; |
nothing calls this directly
no test coverage detected