MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / LoadUISettings

Method LoadUISettings

lib/general.cpp:745–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

743}
744
745void SwitcherData::LoadUISettings(obs_data_t *obj)
746{
747 LoadTabOrder(obj);
748
749 saveWindowGeo = obs_data_get_bool(obj, "saveWindowGeo");
750 windowPos = {(int)obs_data_get_int(obj, "windowPosX"),
751 (int)obs_data_get_int(obj, "windowPosY")};
752 windowSize = {(int)obs_data_get_int(obj, "windowWidth"),
753 (int)obs_data_get_int(obj, "windowHeight")};
754
755 LoadSplitterPos(macroListMacroEditSplitterPosition, obj,
756 "macroListMacroEditSplitterPosition");
757}
758
759void SwitcherData::CheckNoMatchSwitch(bool &match, OBSWeakSource &scene,
760 OBSWeakSource &transition, int &sleep)

Callers

nothing calls this directly

Calls 2

LoadTabOrderFunction · 0.85
LoadSplitterPosFunction · 0.85

Tested by

no test coverage detected