mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-27 02:49:18 +01:00
FileDialog extensions (#881)
* Fix ImGuiFileDialogFlags to be actually flags. * Add customization points for quick access and window flags to FileDialog and FileDialogManager. * Some general cleanup for FileDialog.
This commit is contained in:
parent
e2dc8802f7
commit
c3f55249d2
6 changed files with 114 additions and 75 deletions
|
|
@ -19,12 +19,7 @@ namespace Dalamud.Interface.ImGuiFileDialog
|
|||
public string FileModifiedDate;
|
||||
}
|
||||
|
||||
private struct SideBarItem
|
||||
{
|
||||
public char Icon;
|
||||
public string Text;
|
||||
public string Location;
|
||||
}
|
||||
private record struct SideBarItem(string Text, string Location, FontAwesomeIcon Icon);
|
||||
|
||||
private struct FilterStruct
|
||||
{
|
||||
|
|
@ -50,7 +45,7 @@ namespace Dalamud.Interface.ImGuiFileDialog
|
|||
|
||||
private struct IconColorItem
|
||||
{
|
||||
public char Icon;
|
||||
public FontAwesomeIcon Icon;
|
||||
public Vector4 Color;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue