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

◆ isPressed()

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

Definition at line 111 of file ui.h.

111 {
112 if (Super::isPressed()) {
113 return true;
114 }
115 // If we have a real button, check if it's pressed
116 if (mRealButton) {
117 return mRealButton->isPressed();
118 }
119 // Otherwise, return the default state
120 return false;
121 }
fl::scoped_ptr< Button > mRealButton
Definition ui.h:187