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