1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-24 15:50:25 +01:00

Demo: Comments (#346)

This commit is contained in:
omar 2017-07-29 17:35:24 +08:00
parent db436b183b
commit 35186a1165

View File

@ -706,6 +706,7 @@ void ImGui::ShowTestWindow(bool* p_open)
} }
} }
ImGui::Combo("Mode", &inputs_mode, "All Inputs\0No Inputs\0RGB Input\0HSV Input\0HEX Input\0"); ImGui::Combo("Mode", &inputs_mode, "All Inputs\0No Inputs\0RGB Input\0HSV Input\0HEX Input\0");
ImGui::SameLine(); ShowHelpMarker("User can right-click the inputs and override edit mode.");
//ImGui::DragFloat("Width", &width, 1.0f, 1.0f, 999.0f); //ImGui::DragFloat("Width", &width, 1.0f, 1.0f, 999.0f);
//ImGui::PushItemWidth(width); //ImGui::PushItemWidth(width);
ImGuiColorEditFlags flags = alpha_preview_flags; ImGuiColorEditFlags flags = alpha_preview_flags;