bool WrapperDLL::Tool_ColorEdit4(void* self,const char16_t* label,float* vs){ auto self_ = (Tool*)self; auto arg0 = label; auto arg1 = vs; auto ret = self_->ColorEdit4(arg0,arg1); return ret; };
bool ColorSelector(const std::string &label, cm::V4* clr) { float imclr[4] = {(float)clr->x, (float)clr->y, (float)clr->z, (float)clr->w}; bool res = ColorEdit4(label.c_str(), imclr); *clr = cm::V4(imclr[0], imclr[1], imclr[2], imclr[3]); return res; }