| 168 | } |
| 169 | |
| 170 | void SetTextMode(TwBar* bar, TextMode textMode) |
| 171 | { |
| 172 | static const char* TextModeStrings[] = { "dark", "light" }; |
| 173 | TwCall(TwSetParam(bar, nullptr, "text", TW_PARAM_CSTRING, 1, TextModeStrings[uint64(textMode)])); |
| 174 | } |
| 175 | |
| 176 | void SetPosition(TwBar* bar, int32 posX, int32 posY) |
| 177 | { |