FLAG_CENTER_ALIGN

Detailed Description

Additional flags for GeDialog::SetString()

Functions

Bool SetColorField (const GadgetPtr &id, const TriState< Vector > &tri, Float brightness, Float maxbrightness, Int32 flags)
 

TriState Set

#define FLAG_CENTER_HORIZ
 
#define FLAG_CENTER_VERT
 
#define FLAG_ALIGN_RIGHT
 

Macro Definition Documentation

◆ FLAG_CENTER_HORIZ

#define FLAG_CENTER_HORIZ

Center the string horizontally.

◆ FLAG_CENTER_VERT

#define FLAG_CENTER_VERT

Center the string vertically.

◆ FLAG_ALIGN_RIGHT

#define FLAG_ALIGN_RIGHT

Align the string to the right.

Function Documentation

◆ SetColorField()

Bool SetColorField ( const GadgetPtr id,
const TriState< Vector > &  tri,
Float  brightness,
Float  maxbrightness,
Int32  flags 
)

Sets the color, brightness and limits of color fields and color choosers using a TriState object for the color.

Parameters
[in]idThe control ID.
[in]triA tristate object for the color value.
[in]brightnessThe new brightness value.
[in]maxbrightnessThe maximum brightness allowed.
[in]flagsControls what parts of a color chooser are available: DR_COLORFIELD
Returns
true if the value was set, otherwise false.