UI: Add Frontend API function to get value of T-bar

Also add a Frontend API event for when the T-bar's value changes.
This commit is contained in:
Christopher P Yarger
2021-03-02 18:32:17 -05:00
committed by Jim
parent 9525943bc0
commit 25a335dc3c
6 changed files with 31 additions and 0 deletions

View File

@@ -166,6 +166,11 @@ struct OBSStudioAPI : obs_frontend_callbacks {
Q_ARG(int, position));
}
int obs_frontend_get_tbar_position(void) override
{
return main->tBar->value();
}
void obs_frontend_get_scene_collections(
std::vector<std::string> &strings) override
{