split property & values into separate classes and files

Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
folling 2023-11-21 15:10:43 +01:00 committed by Folling
parent f38ebeab14
commit e377340781
Signed by: folling
SSH key fingerprint: SHA256:S9qEx5WCFFLK49tE/LKnKuJYM5sw+++Dn6qJbbyxnCY
28 changed files with 700 additions and 269 deletions

View file

@ -0,0 +1,31 @@
#pragma once
/// \file text_property_settings.h
/// \author Folling <folling@ikarus.world>
#include <ikarus/macros.h>
/// \addtogroup property_settings PropertySettings
/// \brief Text property settings add additional constraints to text properties.
/// \details The following settings are available:
///
/// @{
IKARUS_BEGIN_HEADER
struct IkarusTextPropertySettings;
/// \brief Sets the default value for a text property.
/// \param settings The text 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_text_property_settings_set_default_value(
struct IkarusTextPropertySettings * settings, struct IkarusTextValue * default_value
);
IKARUS_END_HEADER
/// @}