Add ColorButton to overload
@@ -2663,6 +2663,11 @@ namespace sol_ImGui
sol::resolve<std::tuple <sol::as_table_t<std::vector<float>>, bool>(const std::string&, const sol::table&)>(ColorPicker4),
sol::resolve<std::tuple <sol::as_table_t<std::vector<float>>, bool>(const std::string&, const sol::table&, int)>(ColorPicker4)
));
+ ImGui.set_function("ColorButton" , sol::overload(
+ sol::resolve<bool(const std::string&, const sol::table&)>(ColorButton),
+ sol::resolve<bool(const std::string&, const sol::table&, int)>(ColorButton),
+ sol::resolve<bool(const std::string&, const sol::table&, int, float, float)>(ColorButton)
+ ));
#pragma endregion Widgets: Color Editor / Picker
#pragma region Widgets: Trees
