FastLED 3.9.15
Loading...
Searching...
No Matches

◆ isPressed()

bool fl::UIButton::isPressed ( ) const
inline

Definition at line 136 of file ui.h.

136 {
137 if (mImpl.isPressed()) {
138 return true;
139 }
140 // If we have a real button, check if it's pressed
141 if (mRealButton) {
142 return mRealButton->isPressed();
143 }
144 // Otherwise, return the default state
145 return false;
146 }
fl::shared_ptr< Button > mRealButton
Definition ui.h:223
UIButtonImpl mImpl
Definition ui.h:194

References mImpl, and mRealButton.

Referenced by LedRopeTCL::RawDrawPixel(), and setup().

+ Here is the caller graph for this function: