From 6a5537f90fd8f1164786ca7d346cb58692cd0d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20L?= <contact@slepin.fr> Date: Sat, 20 Apr 2019 23:20:21 +0200 Subject: [PATCH] utils: comments --- src/Utils.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Utils.h b/src/Utils.h index 3a739a2c..42a90f73 100644 --- a/src/Utils.h +++ b/src/Utils.h @@ -51,6 +51,7 @@ class Utils { static obs_data_array_t* GetScenes(); static obs_data_t* GetSceneData(obs_source_t* source); + // TODO contribute a proper frontend API method for this to OBS and remove this hack static QSpinBox* GetTransitionDurationControl(); static int GetTransitionDuration(); static void SetTransitionDuration(int ms); @@ -60,8 +61,10 @@ class Utils { static QPushButton* GetPreviewModeButtonControl(); static QLayout* GetPreviewLayout(); static QListWidget* GetSceneListControl(); + // TODO remove this hack static obs_scene_t* SceneListItemToScene(QListWidgetItem* item); + // TODO contribute a proper frontend API method for this to OBS and remove this hack static void TransitionToProgram(); static QString OBSVersionString();