You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should replace all instances of ButtonSet::addItem(..., const char* styleId) with a Style* using the skin style pointers instead of the string ID. E.g. instead of
addItem(SkinTheme::get(this)->parts.dynamics(), "dynamics_field");
```
Use:
```c++
auto theme = SkinTheme::get(this);
addItem(theme->parts.dynamics(), theme->styles.dynamicsField());
```
So we check style names in compile-time.
The text was updated successfully, but these errors were encountered:
We should replace all instances of
ButtonSet::addItem(..., const char* styleId)
with aStyle*
using the skin style pointers instead of the string ID. E.g. instead ofThe text was updated successfully, but these errors were encountered: