change clang-format
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
497f96a574
commit
f925d90d6b
33 changed files with 217 additions and 254 deletions
|
|
@ -13,9 +13,8 @@ IKARUS_BEGIN_HEADER
|
|||
|
||||
struct IkarusNumberProperty;
|
||||
|
||||
IKA_API IkarusNumberProperty * ikarus_number_property_create(
|
||||
struct IkarusProject * project, char const * name, struct IkarusPropertySource * property_source
|
||||
);
|
||||
IKA_API IkarusNumberProperty *
|
||||
ikarus_number_property_create(struct IkarusProject * project, char const * name, struct IkarusPropertySource * property_source);
|
||||
|
||||
/// \brief Sets the default value for a number property.
|
||||
/// \param property The number property.
|
||||
|
|
@ -30,11 +29,9 @@ IKA_API struct IkarusNumberValue * ikarus_number_property_get_default_value(stru
|
|||
/// \param default_value The default value.
|
||||
/// \pre \li Must not be null.
|
||||
/// \pre \li Must be a valid value for the property.
|
||||
/// \remark Please see \ref property.h "the property documentation" for more information on the interplay between default values
|
||||
/// and other settings.
|
||||
IKA_API void ikarus_number_property_set_default_value(
|
||||
struct IkarusNumberProperty * property, struct IkarusNumberValue * default_value
|
||||
);
|
||||
/// \remark Please see \ref property.h "the property documentation" for more information on the interplay between
|
||||
/// default values and other settings.
|
||||
IKA_API void ikarus_number_property_set_default_value(struct IkarusNumberProperty * property, struct IkarusNumberValue * default_value);
|
||||
|
||||
IKARUS_END_HEADER
|
||||
|
||||
|
|
|
|||
|
|
@ -33,8 +33,8 @@ IKARUS_BEGIN_HEADER
|
|||
/// - May be undefined
|
||||
///
|
||||
/// Additionally, each property has a default value. If no default value is provided, a sensible default is chosen.
|
||||
/// Setting a default value that isn't valid for the property is an error. Changing settings so that the current default value
|
||||
/// becomes invalid is valid but unsets the custom default value.
|
||||
/// Setting a default value that isn't valid for the property is an error. Changing settings so that the current default
|
||||
/// value becomes invalid is valid but unsets the custom default value.
|
||||
///
|
||||
/// The former transforms a property into a list. Instead of one number, you could then specify a series of numbers.
|
||||
/// The latter allows you to specify an "unknown" value for a property.
|
||||
|
|
|
|||
|
|
@ -13,9 +13,8 @@ IKARUS_BEGIN_HEADER
|
|||
|
||||
struct IkarusTextProperty;
|
||||
|
||||
IKA_API IkarusTextProperty * ikarus_text_property_create(
|
||||
struct IkarusProject * project, char const * name, struct IkarusPropertySource * property_source
|
||||
);
|
||||
IKA_API IkarusTextProperty *
|
||||
ikarus_text_property_create(struct IkarusProject * project, char const * name, struct IkarusPropertySource * property_source);
|
||||
|
||||
/// \brief Sets the default value for a text property.
|
||||
/// \param property The text property.
|
||||
|
|
@ -30,11 +29,9 @@ IKA_API struct IkarusTextValue * ikarus_text_property_get_default_value(struct I
|
|||
/// \param default_value The default value.
|
||||
/// \pre \li Must not be null.
|
||||
/// \pre \li Must be a valid value for the property.
|
||||
/// \remark Please see \ref property.h "the property documentation" for more information on the interplay between default values
|
||||
/// and other settings.
|
||||
IKA_API void ikarus_text_property_set_default_value(
|
||||
struct IkarusTextProperty * property, struct IkarusTextValue * default_value
|
||||
);
|
||||
/// \remark Please see \ref property.h "the property documentation" for more information on the interplay between
|
||||
/// default values and other settings.
|
||||
IKA_API void ikarus_text_property_set_default_value(struct IkarusTextProperty * property, struct IkarusTextValue * default_value);
|
||||
|
||||
IKARUS_END_HEADER
|
||||
|
||||
|
|
|
|||
|
|
@ -13,9 +13,8 @@ IKARUS_BEGIN_HEADER
|
|||
|
||||
struct IkarusToggleProperty;
|
||||
|
||||
IKA_API IkarusToggleProperty * ikarus_toggle_property_create(
|
||||
struct IkarusProject * project, char const * name, struct IkarusPropertySource * property_source
|
||||
);
|
||||
IKA_API IkarusToggleProperty *
|
||||
ikarus_toggle_property_create(struct IkarusProject * project, char const * name, struct IkarusPropertySource * property_source);
|
||||
|
||||
/// \brief Sets the default value for a toggle property.
|
||||
/// \param property The toggle property.
|
||||
|
|
@ -30,11 +29,9 @@ IKA_API struct IkarusToggleValue * ikarus_toggle_property_get_default_value(stru
|
|||
/// \param default_value The default value.
|
||||
/// \pre \li Must not be null.
|
||||
/// \pre \li Must be a valid value for the property.
|
||||
/// \remark Please see \ref property.h "the property documentation" for more information on the interplay between default values
|
||||
/// and other settings.
|
||||
IKA_API void ikarus_toggle_property_set_default_value(
|
||||
struct IkarusToggleProperty * property, struct IkarusToggleValue * default_value
|
||||
);
|
||||
/// \remark Please see \ref property.h "the property documentation" for more information on the interplay between
|
||||
/// default values and other settings.
|
||||
IKA_API void ikarus_toggle_property_set_default_value(struct IkarusToggleProperty * property, struct IkarusToggleValue * default_value);
|
||||
|
||||
IKARUS_END_HEADER
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue