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

Method ToString

plugins/base/utils/transition-selection.cpp:57–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57std::string TransitionSelection::ToString() const
58{
59 switch (_type) {
60 case Type::TRANSITION:
61 return GetWeakSourceName(_transition);
62 case Type::CURRENT:
63 return obs_module_text("AdvSceneSwitcher.currentTransition");
64 case Type::ANY:
65 return obs_module_text("AdvSceneSwitcher.anyTransition");
66 default:
67 break;
68 }
69 return "";
70}
71
72TransitionSelectionWidget::TransitionSelectionWidget(QWidget *parent,
73 bool current, bool any)

Callers 1

SetTransitionMethod · 0.45

Calls 2

GetWeakSourceNameFunction · 0.85
obs_module_textFunction · 0.85

Tested by

no test coverage detected