split property & values into separate classes and files
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
f38ebeab14
commit
e377340781
28 changed files with 700 additions and 269 deletions
|
|
@ -0,0 +1,31 @@
|
|||
#pragma once
|
||||
|
||||
/// \file toggle_property_settings.h
|
||||
/// \author Folling <folling@ikarus.world>
|
||||
|
||||
#include <ikarus/macros.h>
|
||||
|
||||
/// \addtogroup property_settings PropertySettings
|
||||
/// \brief Toggle property settings add additional constraints to toggle properties.
|
||||
/// \details The following settings are available:
|
||||
///
|
||||
/// @{
|
||||
|
||||
IKARUS_BEGIN_HEADER
|
||||
|
||||
struct IkarusTogglePropertySettings;
|
||||
|
||||
/// \brief Sets the default value for a toggle property.
|
||||
/// \param settings The toggle property settings.
|
||||
/// \pre \li Must not be null.
|
||||
/// \param default_value The default value.
|
||||
/// \pre \li Must not be null.
|
||||
/// \pre \li Must be a valid value for the property.
|
||||
/// \remark The settings take ownership of the value, the caller must not free it.
|
||||
IKA_API void ikarus_toggle_property_settings_set_default_value(
|
||||
struct IkarusTogglePropertySettings * settings, struct IkarusToggleValue * default_value
|
||||
);
|
||||
|
||||
IKARUS_END_HEADER
|
||||
|
||||
/// @}
|
||||
Loading…
Add table
Add a link
Reference in a new issue