Bläddra i källkod

docs: Add `_CHANGING` frontend events

Also improves a few related event descriptions.
tt2468 4 år sedan
förälder
incheckning
10b3a9a84a
1 ändrade filer med 17 tillägg och 5 borttagningar
  1. 17 5
      docs/sphinx/reference-frontend-api.rst

+ 17 - 5
docs/sphinx/reference-frontend-api.rst

@@ -74,20 +74,24 @@ Structures/Enumerations
 
    - **OBS_FRONTEND_EVENT_SCENE_COLLECTION_CHANGED**
 
-     Triggered when the user has changed the current scene collection.
+     Triggered when the current scene collection has changed.
 
    - **OBS_FRONTEND_EVENT_SCENE_COLLECTION_LIST_CHANGED**
 
-     Triggered when the user has added/removed/renamed scene
-     collections.
+     Triggered when a scene collection has been
+     added/removed/renamed.
 
    - **OBS_FRONTEND_EVENT_PROFILE_CHANGED**
 
-     Triggered when the user has changed the current profile.
+     Triggered when the current profile is about to change.
+
+   - **OBS_FRONTEND_EVENT_PROFILE_CHANGED**
+
+     Triggered when the current profile has changed.
 
    - **OBS_FRONTEND_EVENT_PROFILE_LIST_CHANGED**
 
-     Triggered when the user has added/removed/renamed profiles.
+     Triggered when a profile has been added/removed/renamed.
 
    - **OBS_FRONTEND_EVENT_EXIT**
 
@@ -156,6 +160,14 @@ Structures/Enumerations
 
      Triggered when the transition bar is moved. 
 
+   - **OBS_FRONTEND_EVENT_SCENE_COLLECTION_CHANGING**
+
+     Triggered when the current scene collection is about to change.
+
+   - **OBS_FRONTEND_EVENT_PROFILE_CHANGING**
+
+     Triggered when the current profile is about to change.
+
 
 .. type:: struct obs_frontend_source_list