mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 10:11:10 +00:00
Adds unlit color to hidden file system browser dialog elements.
This commit is contained in:
1 parent
3f7cc2c60f
commit
b46dce745b
58 files changed
+855
-360
No files matched your search
+5
@@ -27,6 +27,11 @@ public class FileSystemTreeNodeResponse
|
||||
/// </summary>
|
||||
public FileSystemItemType ItemType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether the file or directory is hidden.
|
||||
/// </summary>
|
||||
public bool IsHidden { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether the node is expanded.
|
||||
/// </summary>
|
||||
|
||||
+4
-2
@@ -15,11 +15,13 @@ namespace Lumina.Contracts.Responses.FileSystemManagement.Directories;
|
||||
/// <param name="DateCreated">The creation date of the directory.</param>
|
||||
/// <param name="DateModified">The modification date of the directory.</param>
|
||||
/// <param name="Items">The children items of the directory.</param>
|
||||
/// <param name="IsHidden">Whether the directory is hidden.</param>
|
||||
[DebuggerDisplay("Name: {Name} (Directory)")]
|
||||
public record DirectoryResponse(
|
||||
string Path,
|
||||
string Name,
|
||||
DateTime DateCreated,
|
||||
DateTime DateModified,
|
||||
List<FileSystemItemDto> Items
|
||||
) : FileSystemItemDto(Path, Name, DateCreated, DateModified);
|
||||
List<FileSystemItemDto> Items,
|
||||
bool IsHidden
|
||||
) : FileSystemItemDto(Path, Name, DateCreated, DateModified, IsHidden);
|
||||
@@ -14,11 +14,13 @@ namespace Lumina.Contracts.Responses.FileSystemManagement.Files;
|
||||
/// <param name="DateCreated">The creation date of the file.</param>
|
||||
/// <param name="DateModified">The modification date of the file.</param>
|
||||
/// <param name="Size">The size of the file, in bytes.</param>
|
||||
/// <param name="IsHidden">Whether the file is hidden.</param>
|
||||
[DebuggerDisplay("Name: {Name} (File, Size: {Size} bytes)")]
|
||||
public record FileResponse(
|
||||
string Path,
|
||||
string Name,
|
||||
DateTime DateCreated,
|
||||
DateTime DateModified,
|
||||
long Size
|
||||
) : FileSystemItemDto(Path, Name, DateCreated, DateModified);
|
||||
long Size,
|
||||
bool IsHidden
|
||||
) : FileSystemItemDto(Path, Name, DateCreated, DateModified, IsHidden);
|
||||
Reference in new issue
Block a user