New upstream version 23.2.1+dfsg1
This commit is contained in:
parent
cdc9a9fc87
commit
b14f9eae6d
1017 changed files with 37232 additions and 11111 deletions
|
|
@ -55,6 +55,7 @@ enum obs_property_type {
|
|||
OBS_PROPERTY_FONT,
|
||||
OBS_PROPERTY_EDITABLE_LIST,
|
||||
OBS_PROPERTY_FRAME_RATE,
|
||||
OBS_PROPERTY_GROUP,
|
||||
};
|
||||
|
||||
enum obs_combo_format {
|
||||
|
|
@ -93,6 +94,12 @@ enum obs_number_type {
|
|||
OBS_NUMBER_SLIDER
|
||||
};
|
||||
|
||||
enum obs_group_type {
|
||||
OBS_COMBO_INVALID,
|
||||
OBS_GROUP_NORMAL,
|
||||
OBS_GROUP_CHECKABLE,
|
||||
};
|
||||
|
||||
#define OBS_FONT_BOLD (1<<0)
|
||||
#define OBS_FONT_ITALIC (1<<1)
|
||||
#define OBS_FONT_UNDERLINE (1<<2)
|
||||
|
|
@ -122,6 +129,21 @@ EXPORT obs_property_t *obs_properties_first(obs_properties_t *props);
|
|||
EXPORT obs_property_t *obs_properties_get(obs_properties_t *props,
|
||||
const char *property);
|
||||
|
||||
EXPORT obs_properties_t *obs_properties_get_parent(obs_properties_t *props);
|
||||
|
||||
/** Remove a property from a properties list.
|
||||
*
|
||||
* Removes a property from a properties list. Only valid in either
|
||||
* get_properties or modified_callback(2). modified_callback(2) must return
|
||||
* true so that all UI properties are rebuilt and returning false is undefined
|
||||
* behavior.
|
||||
*
|
||||
* @param props Properties to remove from.
|
||||
* @param property Name of the property to remove.
|
||||
*/
|
||||
EXPORT void obs_properties_remove_by_name(obs_properties_t *props,
|
||||
const char *property);
|
||||
|
||||
/**
|
||||
* Applies settings to the properties by calling all the necessary
|
||||
* modification callbacks
|
||||
|
|
@ -218,6 +240,11 @@ EXPORT obs_property_t *obs_properties_add_editable_list(obs_properties_t *props,
|
|||
EXPORT obs_property_t *obs_properties_add_frame_rate(obs_properties_t *props,
|
||||
const char *name, const char *description);
|
||||
|
||||
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);
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
/**
|
||||
|
|
@ -259,10 +286,12 @@ EXPORT int obs_property_int_min(obs_property_t *p);
|
|||
EXPORT int obs_property_int_max(obs_property_t *p);
|
||||
EXPORT int obs_property_int_step(obs_property_t *p);
|
||||
EXPORT enum obs_number_type obs_property_int_type(obs_property_t *p);
|
||||
EXPORT const char * obs_property_int_suffix(obs_property_t *p);
|
||||
EXPORT double obs_property_float_min(obs_property_t *p);
|
||||
EXPORT double obs_property_float_max(obs_property_t *p);
|
||||
EXPORT double obs_property_float_step(obs_property_t *p);
|
||||
EXPORT enum obs_number_type obs_property_float_type(obs_property_t *p);
|
||||
EXPORT const char * obs_property_float_suffix(obs_property_t *p);
|
||||
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);
|
||||
EXPORT const char * obs_property_path_filter(obs_property_t *p);
|
||||
|
|
@ -274,6 +303,8 @@ EXPORT void obs_property_int_set_limits(obs_property_t *p,
|
|||
int min, int max, int step);
|
||||
EXPORT void obs_property_float_set_limits(obs_property_t *p,
|
||||
double min, double max, double step);
|
||||
EXPORT void obs_property_int_set_suffix(obs_property_t *p, const char *suffix);
|
||||
EXPORT void obs_property_float_set_suffix(obs_property_t *p, const char *suffix);
|
||||
|
||||
EXPORT void obs_property_list_clear(obs_property_t *p);
|
||||
|
||||
|
|
@ -336,6 +367,9 @@ EXPORT struct media_frames_per_second obs_property_frame_rate_fps_range_min(
|
|||
EXPORT struct media_frames_per_second obs_property_frame_rate_fps_range_max(
|
||||
obs_property_t *p, size_t idx);
|
||||
|
||||
EXPORT enum obs_group_type obs_property_group_type(obs_property_t *p);
|
||||
EXPORT obs_properties_t *obs_property_group_content(obs_property_t *p);
|
||||
|
||||
#ifndef SWIG
|
||||
DEPRECATED
|
||||
EXPORT enum obs_text_type obs_proprety_text_type(obs_property_t *p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue