浏览代码

docs/sphinx: Add obs_properties_add_color_alpha

jpark37 4 年之前
父节点
当前提交
e4bfb783ee
共有 1 个文件被更改,包括 11 次插入1 次删除
  1. 11 1
      docs/sphinx/reference-properties.rst

+ 11 - 1
docs/sphinx/reference-properties.rst

@@ -212,7 +212,17 @@ Property Object Functions
 
 .. function:: obs_property_t *obs_properties_add_color(obs_properties_t *props, const char *name, const char *description)
 
-   Adds a color property.
+   Adds a color property without alpha.
+
+   :param    name:        Setting identifier string
+   :param    description: Localized name shown to user
+   :return:               The property
+
+---------------------
+
+.. function:: obs_property_t *obs_properties_add_color_alpha(obs_properties_t *props, const char *name, const char *description)
+
+   Adds a color property with alpha.
 
    :param    name:        Setting identifier string
    :param    description: Localized name shown to user