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:
parent
9525943bc0
commit
25a335dc3c
6 changed files with 31 additions and 0 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue