MCPcopy Create free account
hub / github.com/BruceDevices/firmware / Option

Method Option

include/globals.h:112–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
121struct keyStroke { // DO NOT CHANGE IT!!!!!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected