Hey, Thanks for the reply and forgive the lateness of mine. That's exactly what i'm trying to make.. a color picker insted of sliders. Here#s the content of the .h file (some of it):
image OldFilmCC(
image In=0,
float CC_Add_red=0.03,
float CC_Add_green=0.03,
float CC_Add_blue=0.03,
float CC_rGamma=1,
float CC_gGamma=1,
float CC_bGamma=1,
float CC_Mult_red=1,
float CC_Mult_green=0.845501,
float CC_Mult_blue=0.490098,
float Vignette_Fade=0.621,
float Highlight_BlurX=0,
float Highlight_BlurY=50,
and here's the .ui:
nuiPushMenu("Tools");
nuiPushToolBox("User");
nuiToolBoxItem("@OldFilmCC",OldFilmCC());
nuiPopToolBox();
nuiPopMenu();
nuiDefSlider("OldFilmCC.CC_Add_red",-1,1,0);
nuiDefSlider("OldFilmCC.CC_Add_green",-1,1,0);
nuiDefSlider("OldFilmCC.CC_Add_blue",-1,1,0);
nuiDefSlider("OldFilmCC.CC_rGamma",0,4,0);
nuiDefSlider("OldFilmCC.CC_gGamma",0,4,0);
nuiDefSlider("OldFilmCC.CC_bGamma",0,4,0);
nuiDefSlider("OldFilmCC.CC_Mult_red",0,3,0);
nuiDefSlider("OldFilmCC.CC_Mult_green",0,3,0);
nuiDefSlider("OldFilmCC.CC_Mult_blue",0,3,0);
nuiDefSlider("OldFilmCC.Vignette_Fade",0,1,0);
nuiDefSlider("OldFilmCC.Highlight_BlurX",0,200,0.1);
nuiDefSlider("OldFilmCC.Highlight_BlurY",0,200,0.1);
if you take the first node, for instance. it is a simple add node. but in the macro, i only see it as sliders. I want a picker ![]()
thanks again