Style: Added a default StyleColorsLight(). (#707)

This commit is contained in:
omar
2017-11-18 23:53:11 +01:00
parent e7e81b265d
commit 0a61b7195c
3 changed files with 55 additions and 1 deletions

View File

@ -1867,12 +1867,13 @@ void ImGui::ShowStyleEditor(ImGuiStyle* ref)
// Default Styles Selector
static int style_idx = 0;
if (ImGui::Combo("Colors##Selector", &style_idx, "Classic\0Dark\0"))
if (ImGui::Combo("Colors##Selector", &style_idx, "Classic\0Dark\0Light\0"))
{
switch (style_idx)
{
case 0: ImGui::StyleColorsClassic(); break;
case 1: ImGui::StyleColorsDark(); break;
case 2: ImGui::StyleColorsLight(); break;
}
ref_saved_style = style;
}