Skip to content

Commit

Permalink
[RFR] : set places pane default opened
Browse files Browse the repository at this point in the history
  • Loading branch information
aiekick committed Apr 14, 2024
1 parent 59fb7fa commit 16738f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CustomImGuiFileDialogConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,6 @@

// a group for system devices (returned by IFileSystem), but you can also add yours
#define USE_PLACES_DEVICES
// #define PLACES_DEVICES_DEFAULT_OPEPEND true
#define PLACES_DEVICES_DEFAULT_OPEPEND true
#define placesDevicesGroupName ICON_IGFD_DRIVES " Devices"
#define placesDevicesDisplayOrder 10 // to the end
3 changes: 2 additions & 1 deletion DemoDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,8 @@ void DemoDialog::display(const int32_t& vDisplayWidth, const int32_t& vDisplayHe
// 2. Show a simple window that we create ourselves. We use a Begin/End pair to created a named window.
ImGui::Begin("ImGuiFileDialog Demo"); // Create a window called "Hello, world!" and append into it.
{
ImGui::Text("ImGuiFileDialog Demo : %s", IMGUIFILEDIALOG_VERSION);
ImGui::Text("ImGuiFileDialog Demo : %s", IGFD_VERSION);
ImGui::Text("Imgui Supported Version : %s", IGFD_IMGUI_SUPPORTED_VERSION);
ImGui::Text("FileSystem Interface : %s", fileManager.GetFileSystemName().c_str());

ImGui::Separator();
Expand Down
2 changes: 1 addition & 1 deletion ImGuiFileDialog

0 comments on commit 16738f8

Please sign in to comment.