| 186 | } |
| 187 | |
| 188 | void SetValuesWidth(TwBar* bar, int32 width, bool32 fit) |
| 189 | { |
| 190 | if(fit) |
| 191 | TwCall(TwSetParam(bar, nullptr, "valueswidth", TW_PARAM_CSTRING, 1, "fit")); |
| 192 | else |
| 193 | TwCall(TwSetParam(bar, nullptr, "valueswidth", TW_PARAM_INT32, 1, &width)); |
| 194 | } |
| 195 | |
| 196 | void SetRefreshRate(TwBar* bar, float rate) |
| 197 | { |