| 152 | struct CloseButton : ui::Button { |
| 153 | TipWindow* tipWindow; |
| 154 | void onAction(const ActionEvent& e) override { |
| 155 | tipWindow->getParent()->requestDelete(); |
| 156 | } |
| 157 | }; |
| 158 | CloseButton* closeButton = new CloseButton; |
| 159 | closeButton->box.size.x = buttonWidth; |
nothing calls this directly
no test coverage detected