UI: Create UI Validation Helper Class
Pull UI validation and its helpers to their own class. This class will be used to validate forms and perform UI-action checks such as checking stream keys aren't empty and in this diff now holds the logic to ensure there is a source before the person starts a stream.
This commit is contained in:
@@ -245,6 +245,7 @@ set(obs_SOURCES
|
||||
combobox-ignorewheel.cpp
|
||||
spinbox-ignorewheel.cpp
|
||||
record-button.cpp
|
||||
ui-validation.cpp
|
||||
url-push-button.cpp
|
||||
volume-control.cpp
|
||||
adv-audio-control.cpp
|
||||
@@ -302,6 +303,7 @@ set(obs_HEADERS
|
||||
menu-button.hpp
|
||||
mute-checkbox.hpp
|
||||
record-button.hpp
|
||||
ui-validation.hpp
|
||||
url-push-button.hpp
|
||||
volume-control.hpp
|
||||
adv-audio-control.hpp
|
||||
|
Reference in New Issue
Block a user