21 void save(ImGuiTextBuffer& buf)
override;
28 void setDefaultIcons();
30 void paintConfigureIcons();
37 bool hideTitle =
true;
38 bool allowMove =
false;
39 float fadeDuration = 5.0f;
40 float fadeDelay = 5.0f;
44 IconInfo(
TclObject expr_, std::string on_, std::string off_,
bool fade_)
45 : expr(expr_), on(std::move(on_)), off(std::move(off_)), fade(fade_) {}
56 bool lastState =
true;
60 std::vector<IconInfo> iconInfo;
63 bool iconInfoDirty =
true;
67 static constexpr auto persistentElements = std::tuple{
70 PersistentElement{
"allowMove", &ImGuiOsdIcons::allowMove},
Most basic/generic texture: only contains a texture ID.