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

Class UIHelp

src/fl/ui/help.h:32–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30#endif
31
32class UIHelp : public UIElement {
33 public:
34 FL_NO_COPY(UIHelp);
35 UIHelp(const char *markdownContent) FL_NOEXCEPT;
36 ~UIHelp() FL_NOEXCEPT;
37
38 // Override setGroup to also update the implementation
39 void setGroup(const fl::string& groupName) FL_NOEXCEPT override {
40 UIElement::setGroup(groupName);
41 // Update the implementation's group if it has the method (WASM platforms)
42 mImpl.setGroup(groupName);
43 }
44
45 // Access to the markdown content
46 const fl::string& markdownContent() const FL_NOEXCEPT { return mImpl.markdownContent(); }
47
48 protected:
49 UIHelpImpl mImpl;
50};
51
52} // namespace fl

Callers

nothing calls this directly

Calls 1

setGroupMethod · 0.45

Tested by

no test coverage detected