feat: add int slider, fix float slider rang

This commit is contained in:
parker
2025-08-11 18:39:52 +01:00
parent 5ac023e637
commit 1268de4f97
13 changed files with 249 additions and 67 deletions

View File

@@ -14,7 +14,9 @@ public:
bt::floatT evalFloat(unsigned int index=0) const;
bt::String evalString(unsigned int index=0) const;
bt::intT evalInt(unsigned int index=0) const;
void setInt(bt::intT value, unsigned int index=0);
void setFloat(bt::floatT value, unsigned int index=0);
void setString(bt::String value, unsigned int index=0);
@@ -23,6 +25,7 @@ private:
Template template_;
std::vector<bt::floatT> floatValues_;
std::vector<bt::String> stringValues_;
std::vector<bt::intT> intValues_;
};
}