scene sequence adjustments

use double internally instead of two ints
rework save / load to file to reuse existing functionality
add option to select between seconds / minutes / hours
This commit is contained in:
WarmUpTill
2020-08-01 10:12:32 +02:00
parent f8b505fa4e
commit f8ad8c31be
6 changed files with 191 additions and 178 deletions

View File

@@ -98,7 +98,7 @@ struct SceneRoundTripSwitch {
OBSWeakSource scene1;
OBSWeakSource scene2;
OBSWeakSource transition;
int delay;
double delay;
bool usePreviousScene;
std::string sceneRoundTripStr;
@@ -294,6 +294,7 @@ struct SwitcherData {
std::vector<std::string> ignoreWindowsSwitches;
std::vector<SceneRoundTripSwitch> sceneRoundTripSwitches;
int sceneRoundTripUnitMultiplier = 1;
std::vector<RandomSwitch> randomSwitches;