mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:37:36 +00:00
FileManager: Add "Font" tab to File Properties window
We now keep the MappedFile around when inspecting a font, so that we can use that font to display a preview.
This commit is contained in:
parent
98eaa4b044
commit
8ec691057f
4 changed files with 228 additions and 0 deletions
|
@ -31,6 +31,7 @@ private:
|
|||
ErrorOr<void> create_general_tab(GUI::TabWidget&, bool disable_rename);
|
||||
ErrorOr<void> create_file_type_specific_tabs(GUI::TabWidget&);
|
||||
ErrorOr<void> create_audio_tab(GUI::TabWidget&, NonnullRefPtr<Core::MappedFile>);
|
||||
ErrorOr<void> create_font_tab(GUI::TabWidget&, NonnullRefPtr<Core::MappedFile>, StringView mime_type);
|
||||
ErrorOr<void> create_image_tab(GUI::TabWidget&, NonnullRefPtr<Core::MappedFile>, StringView mime_type);
|
||||
|
||||
struct PermissionMasks {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue