diff --git a/src/gui/gui.h b/src/gui/gui.h index 87c2a7fa..b6e77306 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -126,6 +126,9 @@ enum FurnaceGUIColors { GUI_COLOR_TOGGLE_ON, GUI_COLOR_EDITING, GUI_COLOR_SONG_LOOP, + GUI_COLOR_DESTRUCTIVE, + GUI_COLOR_WARNING, + GUI_COLOR_ERROR, GUI_COLOR_FILE_DIR, GUI_COLOR_FILE_SONG_NATIVE, diff --git a/src/gui/guiConst.cpp b/src/gui/guiConst.cpp index 9fcf78a3..91cb91cf 100644 --- a/src/gui/guiConst.cpp +++ b/src/gui/guiConst.cpp @@ -742,6 +742,9 @@ const FurnaceGUIColorDef guiColors[GUI_COLOR_MAX]={ D(GUI_COLOR_TOGGLE_ON,"",ImVec4(0.2f,0.6f,0.2f,1.0f)), D(GUI_COLOR_EDITING,"",ImVec4(0.2f,0.1f,0.1f,1.0f)), D(GUI_COLOR_SONG_LOOP,"",ImVec4(0.3f,0.5f,0.8f,0.4f)), + D(GUI_COLOR_DESTRUCTIVE,"",ImVec4(0.2f,0.2f,0.8f,1.0f)), + D(GUI_COLOR_WARNING,"",ImVec4(0.98f,0.87f,0.06f,1.0f)) + D(GUI_COLOR_ERROR,"",ImVec4(0.98f,0.06f,0.11f,1.0f)), D(GUI_COLOR_FILE_DIR,"",ImVec4(0.0f,1.0f,1.0f,1.0f)), D(GUI_COLOR_FILE_SONG_NATIVE,"",ImVec4(0.5f,1.0f,0.5f,1.0f)), diff --git a/src/gui/settings.cpp b/src/gui/settings.cpp index 5e57640d..9551d666 100644 --- a/src/gui/settings.cpp +++ b/src/gui/settings.cpp @@ -1922,6 +1922,9 @@ void FurnaceGUI::drawSettings() { UI_COLOR_CONFIG(GUI_COLOR_EDITING,"Editing"); UI_COLOR_CONFIG(GUI_COLOR_SONG_LOOP,"Song loop"); UI_COLOR_CONFIG(GUI_COLOR_PLAYBACK_STAT,"Playback status"); + UI_COLOR_CONFIG(GUI_COLOR_DESTRUCTIVE,"Destructive hint"); + UI_COLOR_CONFIG(GUI_COLOR_WARNING,"Warning hint"); + UI_COLOR_CONFIG(GUI_COLOR_ERROR,"Error hint"); ImGui::TreePop(); } if (ImGui::TreeNode("File Picker (built-in)")) {