mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-06-08 15:56:15 -04:00
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:
committed by
Jim
parent
9525943bc0
commit
25a335dc3c
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user