7 #ifndef GDK_EXT_PARAM_INFO_H
8 #define GDK_EXT_PARAM_INFO_H
31 #define GDK_PARAM_TYPE_UNKNOWN (-1)
32 #define GDK_PARAM_TYPE_INT (0)
33 #define GDK_PARAM_TYPE_FLOAT (1)
34 #define GDK_PARAM_TYPE_BOOL (2)
35 #define GDK_PARAM_TYPE_STRING (3)
36 #define GDK_PARAM_TYPE_PROFILE_REGION (4)
37 #define GDK_PARAM_TYPE_SURFACE_REGION (5)
38 #define GDK_PARAM_TYPE_SURFACE_REGION_2D (6)
39 #define GDK_PARAM_TYPE_GEOMETRIC_FEATURE (7)
40 #define GDK_PARAM_TYPE_MEASUREMENT (8)
41 #define GDK_PARAM_TYPE_DATA_INPUT (9)
42 #define GDK_PARAM_TYPE_POINT_SET_REGION (10)
427 #include <Gdk/Config/GdkParamInfo.x.h>
Essential Gdk declarations.
kStatus GdkParamInfo_AddOptionInt(GdkParamInfo info, k32s option, const kChar *name)
Add an option for an integer parameter.
k64f GdkParamInfo_MaxFloat(GdkParamInfo info)
Returns the maximum value for a decimal parameter.
kSize GdkParamInfo_OptionCount(GdkParamInfo info)
Returns the number of options for the parameter.
Definition: GdkCfgInterfaces.h:14
kStatus GdkParamInfo_ClearOptions(GdkParamInfo info)
Clears all options for the parameter.
kStatus GdkParamInfo_SetUnits(GdkParamInfo info, const kChar *units)
Sets the units of the parameter.
kStatus GdkParamInfo_EnableSurfaceRegionZAngle(GdkParamInfo info)
Enables Z angle support for the surface region passed.
const kChar * GdkParamInfo_Name(GdkParamInfo info)
Returns the name of the parameter.
kStatus GdkParamInfo_AddSource(GdkParamInfo info, GdkDataSource source)
Adds the source perspective of the data to list of source perspectives This is only applicable to par...
k32s GdkParamInfo_OptionAtInt(GdkParamInfo info, kSize index)
Returns the option at a specified index for an integer parameter.
kStatus GdkParamInfo_SetMaxInt(GdkParamInfo info, k32s max)
Sets the maximum value for an integer parameter.
#define kDeclareClassEx(PREFIX, SYMBOL, BASE)
Represents the schema of a configurable parameter.
Represents a data source selection.
kStatus GdkParamInfo_RemoveOption(GdkParamInfo info, kSize index)
Remove the option at a specified index.
const kChar * GdkParamInfo_Label(GdkParamInfo info)
Returns the display label of the parameter.
const kChar * GdkParamInfo_Units(GdkParamInfo info)
Returns the units of the parameter.
kArrayList GdkParamInfo_Sources(GdkParamInfo info)
Returns the list of source perspectives of the data.
kStatus GdkParamInfo_AddDataType(GdkParamInfo info, GdkDataType type)
If the parameter is a Multiple Data Type Input, add an accepted data type.
kStatus GdkParamInfo_SetMinFloat(GdkParamInfo info, k64f min)
Sets the minimum value for a decimal parameter.
kStatus GdkParamInfo_SetMinInt(GdkParamInfo info, k32s min)
Sets the minimum value for an integer parameter.
kStatus GdkParamInfo_SetLabel(GdkParamInfo info, const kChar *label)
Sets the display label of the parameter.
kStatus GdkParamInfo_SetNoneAllowed(GdkParamInfo info, kBool flag)
Sets the input parameter to be allowed to be set to None (no argument selected).
const kChar * GdkParamInfo_OptionNameAt(GdkParamInfo info, kSize index)
Returns the option name at a specified index.
kStatus GdkParamInfo_SetDefault(GdkParamInfo info, const void *value)
Assign the default value of the parameter to sue when refreshing the parameter.
kBool GdkParamInfo_IsOptional(GdkParamInfo info)
[Deprecated] Use GdkParamInfo_ConfigOptional() instead.
k64f GdkParamInfo_OptionAtFloat(GdkParamInfo info, kSize index)
Returns the option at a specified index for an float parameter.
k64f GdkParamInfo_MinFloat(GdkParamInfo info)
Returns the minimum value for a decimal parameter.
kStatus GdkParamInfo_SetConfigOptional(GdkParamInfo info, kBool optional)
Sets a parameter to be optional or not.
kStatus GdkParamInfo_SetName(GdkParamInfo info, const kChar *name)
Sets the name of the parameter.
GdkParamType GdkParamInfo_Type(GdkParamInfo info)
Returns the parameter type.
kStatus GdkParamInfo_SetMaxFloat(GdkParamInfo info, k64f max)
Sets the maximum value for a decimal parameter.
k32s GdkParamInfo_MinInt(GdkParamInfo info)
Returns the minimum value for an integer parameter.
k32s GdkParamInfo_MaxInt(GdkParamInfo info)
Returns the maximum value for an integer parameter.
Represents data type. No longer used as a bitmask. Note that generic data types will have their msb s...
kBool GdkParamInfo_ConfigOptional(GdkParamInfo info)
Returns whether or not the parameter is optional.
kBool GdkParamInfo_NoneAllowed(GdkParamInfo info)
Returns whether the input parameter can be set to None or requires an actual data input...
kBool GdkParamInfo_IsInputData(GdkParamInfo info)
Returns whether the info object is of type input data set.
kStatus GdkParamInfo_AddOptionFloat(GdkParamInfo info, k64f option, const kChar *name)
Add an option for an float parameter.
kStatus GdkParamInfo_RemoveSource(GdkParamInfo info, GdkDataSource source)
Removes the source from the list of source perspectives.
kStatus GdkParamInfo_SetIsOptional(GdkParamInfo info, kBool optional)
[Deprecated] Use GdkParamInfo_SetConfigOptional() instead.