 |
Open Broadcaster Software
Free, open source software for live streaming and recording
|
Go to the documentation of this file.
43 #define OBS_PROPERTIES_DEFER_UPDATE (1 << 0)
103 #define OBS_FONT_BOLD (1 << 0)
104 #define OBS_FONT_ITALIC (1 << 1)
105 #define OBS_FONT_UNDERLINE (1 << 2)
106 #define OBS_FONT_STRIKEOUT (1 << 3)
108 struct obs_properties;
124 void (*destroy)(
void *param));
130 const char *property);
145 const char *property);
166 const char *description);
170 const char *description,
int min,
175 const char *description,
176 double min,
double max,
181 const char *description,
187 const char *description,
188 double min,
double max,
193 const char *description,
215 const char *filter,
const char *default_path);
219 const char *description,
225 const char *description);
247 const char *description);
251 const char *description,
253 const char *filter,
const char *default_path);
257 const char *description);
261 const char *description,
292 const char *description);
294 const char *long_description);
326 double max,
double step);
342 const char *name,
const char *val);
344 const char *name,
long long val);
346 const char *name,
double val);
371 const char *description);
378 const char *description);
const EXPORT char * obs_property_list_item_name(obs_property_t *p, size_t idx)
@ OBS_GROUP_CHECKABLE
Definition: obs-properties.h:100
EXPORT enum obs_number_type obs_property_int_type(obs_property_t *p)
const EXPORT char * obs_property_frame_rate_option_name(obs_property_t *p, size_t idx)
const EXPORT char * obs_property_editable_list_filter(obs_property_t *p)
EXPORT double obs_property_float_max(obs_property_t *p)
obs_group_type
Definition: obs-properties.h:97
EXPORT double obs_property_float_min(obs_property_t *p)
EXPORT void * obs_properties_get_param(obs_properties_t *props)
EXPORT obs_property_t * obs_properties_add_text(obs_properties_t *props, const char *name, const char *description, enum obs_text_type type)
EXPORT enum obs_property_type obs_property_get_type(obs_property_t *p)
EXPORT void obs_properties_set_param(obs_properties_t *props, void *param, void(*destroy)(void *param))
EXPORT size_t obs_property_frame_rate_fps_ranges_count(obs_property_t *p)
bool(* obs_property_clicked_t)(obs_properties_t *props, obs_property_t *property, void *data)
Definition: obs-properties.h:161
@ OBS_PROPERTY_INVALID
Definition: obs-properties.h:46
EXPORT bool obs_property_modified(obs_property_t *p, obs_data_t *settings)
@ OBS_TEXT_MULTILINE
Definition: obs-properties.h:89
EXPORT obs_property_t * obs_properties_add_button(obs_properties_t *props, const char *name, const char *text, obs_property_clicked_t callback)
@ OBS_COMBO_TYPE_LIST
Definition: obs-properties.h:71
EXPORT double obs_property_float_step(obs_property_t *p)
EXPORT long long obs_property_list_item_int(obs_property_t *p, size_t idx)
EXPORT void obs_property_float_set_suffix(obs_property_t *p, const char *suffix)
obs_editable_list_type
Definition: obs-properties.h:74
obs_combo_format
Definition: obs-properties.h:61
EXPORT void obs_property_set_modified_callback2(obs_property_t *p, obs_property_modified2_t modified, void *priv)
EXPORT obs_properties_t * obs_property_group_content(obs_property_t *p)
EXPORT obs_properties_t * obs_properties_create_param(void *param, void(*destroy)(void *param))
EXPORT obs_properties_t * obs_properties_get_parent(obs_properties_t *props)
struct obs_data obs_data_t
Definition: obs-data.h:42
EXPORT uint32_t obs_properties_get_flags(obs_properties_t *props)
EXPORT obs_property_t * obs_properties_add_int(obs_properties_t *props, const char *name, const char *description, int min, int max, int step)
const EXPORT char * obs_property_path_default_path(obs_property_t *p)
EXPORT void obs_property_int_set_suffix(obs_property_t *p, const char *suffix)
#define EXPORT
Definition: c99defs.h:37
EXPORT void obs_property_set_visible(obs_property_t *p, bool visible)
EXPORT void obs_property_set_modified_callback(obs_property_t *p, obs_property_modified_t modified)
EXPORT obs_property_t * obs_properties_add_bool(obs_properties_t *props, const char *name, const char *description)
EXPORT void obs_property_text_set_monospace(obs_property_t *p, bool monospace)
EXPORT obs_property_t * obs_properties_add_group(obs_properties_t *props, const char *name, const char *description, enum obs_group_type type, obs_properties_t *group)
EXPORT void obs_property_set_enabled(obs_property_t *p, bool enabled)
@ OBS_COMBO_FORMAT_FLOAT
Definition: obs-properties.h:64
EXPORT void obs_property_set_description(obs_property_t *p, const char *description)
@ OBS_PROPERTY_BUTTON
Definition: obs-properties.h:54
EXPORT enum obs_number_type obs_property_float_type(obs_property_t *p)
@ OBS_COMBO_INVALID
Definition: obs-properties.h:98
@ OBS_EDITABLE_LIST_TYPE_FILES
Definition: obs-properties.h:76
EXPORT bool obs_property_enabled(obs_property_t *p)
const EXPORT char * obs_property_editable_list_default_path(obs_property_t *p)
EXPORT void obs_property_list_insert_string(obs_property_t *p, size_t idx, const char *name, const char *val)
@ OBS_PROPERTY_LIST
Definition: obs-properties.h:52
@ OBS_PROPERTY_FLOAT
Definition: obs-properties.h:49
EXPORT obs_property_t * obs_properties_add_int_slider(obs_properties_t *props, const char *name, const char *description, int min, int max, int step)
@ OBS_COMBO_FORMAT_INVALID
Definition: obs-properties.h:62
@ OBS_COMBO_FORMAT_STRING
Definition: obs-properties.h:65
@ OBS_COMBO_TYPE_EDITABLE
Definition: obs-properties.h:70
EXPORT void obs_property_frame_rate_fps_range_insert(obs_property_t *p, size_t idx, struct media_frames_per_second min, struct media_frames_per_second max)
EXPORT double obs_property_list_item_float(obs_property_t *p, size_t idx)
EXPORT void obs_property_float_set_limits(obs_property_t *p, double min, double max, double step)
EXPORT void obs_property_list_item_remove(obs_property_t *p, size_t idx)
EXPORT enum obs_text_type obs_property_text_type(obs_property_t *p)
EXPORT enum obs_path_type obs_property_path_type(obs_property_t *p)
@ OBS_NUMBER_SLIDER
Definition: obs-properties.h:94
EXPORT size_t obs_property_list_add_float(obs_property_t *p, const char *name, double val)
@ OBS_PROPERTY_FRAME_RATE
Definition: obs-properties.h:57
@ OBS_PROPERTY_TEXT
Definition: obs-properties.h:50
EXPORT obs_property_t * obs_properties_add_editable_list(obs_properties_t *props, const char *name, const char *description, enum obs_editable_list_type type, const char *filter, const char *default_path)
@ OBS_PROPERTY_GROUP
Definition: obs-properties.h:58
const EXPORT char * obs_property_frame_rate_option_description(obs_property_t *p, size_t idx)
EXPORT obs_property_t * obs_properties_add_float_slider(obs_properties_t *props, const char *name, const char *description, double min, double max, double step)
EXPORT enum obs_group_type obs_property_group_type(obs_property_t *p)
@ OBS_PROPERTY_PATH
Definition: obs-properties.h:51
EXPORT obs_property_t * obs_properties_add_path(obs_properties_t *props, const char *name, const char *description, enum obs_path_type type, const char *filter, const char *default_path)
EXPORT void obs_property_list_insert_int(obs_property_t *p, size_t idx, const char *name, long long val)
EXPORT bool obs_property_next(obs_property_t **p)
obs_path_type
Definition: obs-properties.h:80
OBS_DEPRECATED EXPORT enum obs_text_type obs_proprety_text_type(obs_property_t *p)
EXPORT int obs_property_int_min(obs_property_t *p)
EXPORT obs_property_t * obs_properties_add_color(obs_properties_t *props, const char *name, const char *description)
EXPORT obs_properties_t * obs_properties_create(void)
const EXPORT char * obs_property_float_suffix(obs_property_t *p)
const EXPORT char * obs_property_list_item_string(obs_property_t *p, size_t idx)
@ OBS_PROPERTY_BOOL
Definition: obs-properties.h:47
@ OBS_EDITABLE_LIST_TYPE_STRINGS
Definition: obs-properties.h:75
EXPORT size_t obs_property_list_add_int(obs_property_t *p, const char *name, long long val)
const EXPORT char * obs_property_name(obs_property_t *p)
EXPORT struct media_frames_per_second obs_property_frame_rate_fps_range_max(obs_property_t *p, size_t idx)
bool(* obs_property_modified2_t)(void *priv, obs_properties_t *props, obs_property_t *property, obs_data_t *settings)
Definition: obs-properties.h:275
obs_number_type
Definition: obs-properties.h:92
@ OBS_TEXT_DEFAULT
Definition: obs-properties.h:87
EXPORT bool obs_property_button_clicked(obs_property_t *p, void *obj)
EXPORT obs_property_t * obs_properties_add_font(obs_properties_t *props, const char *name, const char *description)
struct obs_properties obs_properties_t
Definition: obs-properties.h:110
bool(* obs_property_modified_t)(obs_properties_t *props, obs_property_t *property, obs_data_t *settings)
Definition: obs-properties.h:272
EXPORT size_t obs_property_list_item_count(obs_property_t *p)
EXPORT bool obs_property_list_item_disabled(obs_property_t *p, size_t idx)
EXPORT obs_property_t * obs_properties_add_float(obs_properties_t *props, const char *name, const char *description, double min, double max, double step)
EXPORT enum obs_editable_list_type obs_property_editable_list_type(obs_property_t *p)
EXPORT void obs_properties_remove_by_name(obs_properties_t *props, const char *property)
@ OBS_PROPERTY_COLOR
Definition: obs-properties.h:53
@ OBS_PROPERTY_INT
Definition: obs-properties.h:48
@ OBS_PATH_DIRECTORY
Definition: obs-properties.h:83
EXPORT void obs_property_frame_rate_clear(obs_property_t *p)
EXPORT obs_property_t * obs_properties_get(obs_properties_t *props, const char *property)
@ OBS_PATH_FILE_SAVE
Definition: obs-properties.h:82
EXPORT void obs_property_frame_rate_fps_ranges_clear(obs_property_t *p)
EXPORT void obs_property_frame_rate_options_clear(obs_property_t *p)
EXPORT void obs_property_list_insert_float(obs_property_t *p, size_t idx, const char *name, double val)
EXPORT void obs_properties_set_flags(obs_properties_t *props, uint32_t flags)
@ OBS_EDITABLE_LIST_TYPE_FILES_AND_URLS
Definition: obs-properties.h:77
EXPORT size_t obs_property_frame_rate_fps_range_add(obs_property_t *p, struct media_frames_per_second min, struct media_frames_per_second max)
EXPORT void obs_properties_destroy(obs_properties_t *props)
EXPORT enum obs_text_type obs_property_text_monospace(obs_property_t *p)
EXPORT enum obs_combo_format obs_property_list_format(obs_property_t *p)
EXPORT bool obs_property_visible(obs_property_t *p)
const EXPORT char * obs_property_description(obs_property_t *p)
obs_property_type
Definition: obs-properties.h:45
@ OBS_GROUP_NORMAL
Definition: obs-properties.h:99
@ OBS_TEXT_PASSWORD
Definition: obs-properties.h:88
EXPORT void obs_property_int_set_limits(obs_property_t *p, int min, int max, int step)
EXPORT void obs_property_frame_rate_option_insert(obs_property_t *p, size_t idx, const char *name, const char *description)
obs_combo_type
Definition: obs-properties.h:68
EXPORT obs_property_t * obs_properties_add_list(obs_properties_t *props, const char *name, const char *description, enum obs_combo_type type, enum obs_combo_format format)
@ OBS_COMBO_FORMAT_INT
Definition: obs-properties.h:63
#define OBS_DEPRECATED
Definition: c99defs.h:30
EXPORT struct media_frames_per_second obs_property_frame_rate_fps_range_min(obs_property_t *p, size_t idx)
const EXPORT char * obs_property_long_description(obs_property_t *p)
@ OBS_NUMBER_SCROLLER
Definition: obs-properties.h:93
struct obs_property obs_property_t
Definition: obs-properties.h:111
@ OBS_PATH_FILE
Definition: obs-properties.h:81
EXPORT obs_property_t * obs_properties_add_frame_rate(obs_properties_t *props, const char *name, const char *description)
EXPORT size_t obs_property_frame_rate_option_add(obs_property_t *p, const char *name, const char *description)
EXPORT obs_property_t * obs_properties_add_button2(obs_properties_t *props, const char *name, const char *text, obs_property_clicked_t callback, void *priv)
EXPORT void obs_property_set_long_description(obs_property_t *p, const char *long_description)
EXPORT size_t obs_property_list_add_string(obs_property_t *p, const char *name, const char *val)
EXPORT void obs_properties_apply_settings(obs_properties_t *props, obs_data_t *settings)
EXPORT int obs_property_int_max(obs_property_t *p)
EXPORT size_t obs_property_frame_rate_options_count(obs_property_t *p)
obs_text_type
Definition: obs-properties.h:86
EXPORT void obs_property_list_item_disable(obs_property_t *p, size_t idx, bool disabled)
@ OBS_PROPERTY_FONT
Definition: obs-properties.h:55
const EXPORT char * obs_property_int_suffix(obs_property_t *p)
const EXPORT char * obs_property_path_filter(obs_property_t *p)
EXPORT int obs_property_int_step(obs_property_t *p)
EXPORT obs_property_t * obs_properties_first(obs_properties_t *props)
EXPORT void obs_property_list_clear(obs_property_t *p)
EXPORT enum obs_combo_type obs_property_list_type(obs_property_t *p)
@ OBS_COMBO_TYPE_INVALID
Definition: obs-properties.h:69
@ OBS_PROPERTY_EDITABLE_LIST
Definition: obs-properties.h:56