7 #ifndef GDK_EXT_PARAM_INFO_H
8 #define GDK_EXT_PARAM_INFO_H
33 #define GDK_PARAM_TYPE_INT (0)
34 #define GDK_PARAM_TYPE_FLOAT (1)
35 #define GDK_PARAM_TYPE_BOOL (2)
36 #define GDK_PARAM_TYPE_STRING (3)
37 #define GDK_PARAM_TYPE_PROFILE_REGION (4)
38 #define GDK_PARAM_TYPE_SURFACE_REGION (5)
39 #define GDK_PARAM_TYPE_SURFACE_REGION_2D (6)
265 GdkFx(
kStatus) GdkParamInfo_SetDefault(GdkParamInfo info, const
void* value);
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.
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.
const kChar * GdkParamInfo_Name(GdkParamInfo info)
Returns the name of the parameter.
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.
Represents the schema of a configurable parameter.
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.
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.
const kChar * GdkParamInfo_OptionNameAt(GdkParamInfo info, kSize index)
Returns the option name at a specified index.
kBool GdkParamInfo_IsOptional(GdkParamInfo info)
Returns whether or not the parameter is optional.
k64f GdkParamInfo_MinFloat(GdkParamInfo info)
Returns the minimum value for a decimal parameter.
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.
Type of a parameter.
Definition: GdkParamInfo.h:22
kStatus GdkParamInfo_SetIsOptional(GdkParamInfo info, kBool optional)
Sets a parameter to be optional or not.