FastLED 3.9.15
Loading...
Searching...
No Matches
ui_button_integration.cpp.hpp
Go to the documentation of this file.
1// ok no header
5
6#include "fl/ui/ui.h"
7#include "fl/sensors/button.h"
8
9namespace fl {
10
12 // Stored directly; no concrete-type dependency. Caller may pass any
13 // IButtonInput implementation (Button, mock, etc.).
15}
16
20
21} // namespace fl
fl::shared_ptr< IButtonInput > mButtonInput
Definition button.h:157
void addRealButton(fl::shared_ptr< IButtonInput > button) FL_NOEXCEPT
fl::shared_ptr< IButtonInput > mNextButton
Definition dropdown.h:196
void addNextButton(int pin) FL_NOEXCEPT
fl::span< fl::string > options FL_NOEXCEPT
Definition dropdown.h:122
shared_ptr< T > make_shared(Args &&... args) FL_NOEXCEPT
Definition shared_ptr.h:414
Base definition for an LED controller.
Definition crgb.hpp:179
fl::UIButton button("Button")
#define FL_NOEXCEPT
Aggregator header for the fl/ui/ family of per-element UI types.