| 130 | |
| 131 | |
| 132 | void LedDisplayChoice::onButton(const ButtonEvent& e) { |
| 133 | OpaqueWidget::onButton(e); |
| 134 | |
| 135 | if (e.action == GLFW_PRESS && (e.button == GLFW_MOUSE_BUTTON_LEFT || e.button == GLFW_MOUSE_BUTTON_RIGHT)) { |
| 136 | ActionEvent eAction; |
| 137 | onAction(eAction); |
| 138 | e.consume(this); |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | |
| 143 | LedDisplayTextField::LedDisplayTextField() { |