libobs: Add obs_property_set_description
This allows us to change the visible UI name of a property after it's been created (particularly for a case where I want to change an 'Activate' button to 'Deactivate')
This commit is contained in:
@@ -193,6 +193,9 @@ EXPORT bool obs_property_button_clicked(obs_property_t *p, void *obj);
|
||||
EXPORT void obs_property_set_visible(obs_property_t *p, bool visible);
|
||||
EXPORT void obs_property_set_enabled(obs_property_t *p, bool enabled);
|
||||
|
||||
EXPORT void obs_property_set_description(obs_property_t *p,
|
||||
const char *description);
|
||||
|
||||
EXPORT const char * obs_property_name(obs_property_t *p);
|
||||
EXPORT const char * obs_property_description(obs_property_t *p);
|
||||
EXPORT enum obs_property_type obs_property_get_type(obs_property_t *p);
|
||||
|
Reference in New Issue
Block a user