GETN_OPTION_COLOR_LABEL

 

Name

GETN_OPTION_COLOR_LABEL

Declaration

#define GETN_OPTION_COLOR_LABEL(_RGB)             _strTemp = _RGB;_tmpSubNode.SetAttribute(STR_ATTRIB_LABEL_COLOR, _strTemp);

Remark

Set the label color in the dialog box.Only affect the preceding line.

Parameters

_RGB
[input] the specified color, COLOR_ORANGE means orange color.

Return

Examples

EX1

#include <GetNbox.h>
void GETN_OPTION_COLOR_LABEL_ex1()
{
    GETN_TREE( treeTest );
    GETN_NUM(decayT2, "2nd Decay Time (t2)", 0.0)
    GETN_OPTION_COLOR_LABEL(COLOR_ORANGE) //--- 2. color label
    if( GetNBox( treeTest ))
        out_tree( treeTest );
}

See Also

GETN_OPTION_COLOR_BACKGROUND, GETN_OPTION_COLOR_READONLY, GETN_OPTION_COLOR_READONLY_BRANCH

header to Include

GetNbox.h

Reference