ColorConvertHSVtoRGB and ColorConvertRGBtoHSV to manuals

This commit is contained in:
sonoro1234
2018-10-04 11:22:00 +02:00
parent 3d232c5369
commit 4a0e927c23
11 changed files with 58 additions and 31 deletions

View File

@@ -1253,14 +1253,6 @@ CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in)
{
return ImGui::ColorConvertFloat4ToU32(in);
}
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float out_h,float out_s,float out_v)
{
return ImGui::ColorConvertRGBtoHSV(r,g,b,out_h,out_s,out_v);
}
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float out_r,float out_g,float out_b)
{
return ImGui::ColorConvertHSVtoRGB(h,s,v,out_r,out_g,out_b);
}
CIMGUI_API int igGetKeyIndex(ImGuiKey imgui_key)
{
return ImGui::GetKeyIndex(imgui_key);
@@ -2234,3 +2226,11 @@ CIMGUI_API float igGET_FLT_MAX()
{
return FLT_MAX;
}
CIMGUI_API void igColorConvertRGBtoHSV(float r,float g,float b,float *out_h,float *out_s,float *out_v)
{
ImGui::ColorConvertRGBtoHSV(r,g,b,*out_h,*out_s,*out_v);
}
CIMGUI_API void igColorConvertHSVtoRGB(float h,float s,float v,float *out_r,float *out_g,float *out_b)
{
ImGui::ColorConvertHSVtoRGB(h,s,v,*out_r,*out_g,*out_b);
}