Browse Source

docs/sphinx: Add missing obs_frontend_open_projector

Andrew Woodward 4 năm trước cách đây
mục cha
commit
ae9b7eaa9a
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  1. 9 0
      docs/sphinx/reference-frontend-api.rst

+ 9 - 0
docs/sphinx/reference-frontend-api.rst

@@ -454,6 +454,15 @@ Functions
 
 ---------------------------------------
 
+.. function:: void obs_frontend_open_projector(const char *type, int monitor, const char *geometry, const char *name)
+
+   :param type:     "Preview", "Source", "Scene", "StudioProgram", or "Multiview" (case insensitive).
+   :param monitor:  Monitor to open the projector on. If -1, opens a window.
+   :param geometry: If *monitor* is -1, size and position of the projector window. Encoded in Base64 using Qt's geometry encoding.
+   :param name:     If *type* is "Source" or "Scene", name of the source or scene to be displayed.
+
+---------------------------------------
+
 .. function:: void obs_frontend_save(void)
 
    Saves the current scene collection.