| 38 | Widget::step(); |
| 39 | } |
| 40 | void draw(const DrawArgs& args) override { |
| 41 | BNDwidgetState state = BND_DEFAULT; |
| 42 | if (APP->event->hoveredWidget == this) |
| 43 | state = BND_HOVER; |
| 44 | if (APP->event->draggedWidget == this) |
| 45 | state = BND_ACTIVE; |
| 46 | bndMenuItem(args.vg, 0.0, 0.0, box.size.x, box.size.y, state, -1, text.c_str()); |
| 47 | Widget::draw(args); |
| 48 | } |
| 49 | }; |
| 50 | |
| 51 |
nothing calls this directly
no outgoing calls
no test coverage detected