libobs: Support color picker with alpha

This commit is contained in:
jpark37
2020-12-29 19:51:50 -08:00
committed by Jim
parent 0d1ffd8b30
commit b80919f65f
2 changed files with 16 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ enum obs_property_type {
OBS_PROPERTY_EDITABLE_LIST,
OBS_PROPERTY_FRAME_RATE,
OBS_PROPERTY_GROUP,
OBS_PROPERTY_COLOR_ALPHA,
};
enum obs_combo_format {
@@ -224,6 +225,10 @@ EXPORT obs_property_t *obs_properties_add_color(obs_properties_t *props,
const char *name,
const char *description);
EXPORT obs_property_t *obs_properties_add_color_alpha(obs_properties_t *props,
const char *name,
const char *description);
EXPORT obs_property_t *
obs_properties_add_button(obs_properties_t *props, const char *name,
const char *text, obs_property_clicked_t callback);