| 110 | bool hovered; // return to the remote (webui or app) if it is hovered on the loopoptions |
| 111 | |
| 112 | Option( |
| 113 | String lbl, const std::function<void()> &op, bool sel = false, |
| 114 | bool (*hov)(void *hoverPointer, bool shouldRender) = |
| 115 | nullptr, // hover lambda returns true if it already handled rendering |
| 116 | void *ptr = nullptr, bool hvrd = false, bool en = true |
| 117 | ) |
| 118 | : label(lbl), operation(op), selected(sel), enabled(en), hover(hov), hoverPointer(ptr), hovered(hvrd) {} |
| 119 | }; |
| 120 | |
| 121 | struct keyStroke { // DO NOT CHANGE IT!!!!! |
nothing calls this directly
no outgoing calls
no test coverage detected