GETN_SLIDER
#define GETN_SLIDER(_NODE_NAME, _NODE_LABEL, _DEFAULT_VAL, _COMBO_STR) _strTemp = _DEFAULT_VAL; _tmpSubNode = _tmpNode.AddTextNode(_strTemp, #_NODE_NAME, TRGP_SLIDER);TREE_ADD_LABEL(_NODE_LABEL);TREE_ADD_LABEL(_NODE_LABEL);_tmpSubNode.SetAttribute(STR_COMBO_ATTRIB, _COMBO_STR);
This macro creates a numeric slide box in the dialogbox.
EX1
#include <GetNbox.h> void GETN_SLIDER_ex1() { GETN_BOX( treeTest ); GETN_SLIDER(min, "From", 0, "0|255|255") if( GetNBox( treeTest )) out_tree( treeTest ); }
GETN_SLIDEREDIT
GetNbox.h