MCPcopy Create free account
hub / github.com/FastLED/FastLED / isPressed

Method isPressed

src/fl/ui/button.h:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 UIButton(const char *name) FL_NOEXCEPT;
44 ~UIButton() FL_NOEXCEPT;
45 bool isPressed() const FL_NOEXCEPT {
46 if (mImpl.isPressed()) {
47 return true;
48 }
49 if (mButtonInput) {
50 return mButtonInput->isPressed();
51 }
52 return false;
53 }
54 bool clicked() const FL_NOEXCEPT {
55 if (mImpl.clicked()) {
56 return true;

Callers 5

onBeginFrameMethod · 0.45
setupFunction · 0.45
doFrameFunction · 0.45
loopFunction · 0.45
RawDrawPixelMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected