mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 06:53:01 +00:00
GUI: colors in file dialog
This commit is contained in:
parent
8c57eb9696
commit
a2357df8bb
1 changed files with 7 additions and 0 deletions
|
@ -1485,6 +1485,8 @@ bool FurnaceGUI::loop() {
|
|||
return false;
|
||||
}
|
||||
|
||||
#define IGFD_FileStyleByExtension IGFD_FileStyleByExtention
|
||||
|
||||
bool FurnaceGUI::init() {
|
||||
float dpiScaleF;
|
||||
|
||||
|
@ -1540,6 +1542,11 @@ bool FurnaceGUI::init() {
|
|||
return false;
|
||||
}
|
||||
|
||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByTypeDir,"",ImVec4(0.0f,1.0f,1.0f,1.0f),">");
|
||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByTypeFile,"",ImVec4(0.7f,0.7f,0.7f,1.0f)," ");
|
||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".dmf",ImVec4(0.5f,1.0f,0.5f,1.0f)," ");
|
||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".wav",ImVec4(1.0f,1.0f,0.5f,1.0f)," ");
|
||||
|
||||
updateWindowTitle();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue