mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 09:18:55 +00:00
LibGUI: Port AbstractThemePreview::set_theme_from_file to Core::Stream
This commit is contained in:
parent
17012b266c
commit
ca7648b1ae
Notes:
sideshowbarker
2024-07-17 08:35:21 +09:00
Author: https://github.com/krkk
Commit: ca7648b1ae
Pull-request: https://github.com/SerenityOS/serenity/pull/16963
Reviewed-by: https://github.com/MacDue
3 changed files with 5 additions and 5 deletions
|
@ -24,7 +24,7 @@ public:
|
|||
|
||||
Gfx::Palette const& preview_palette() const { return m_preview_palette; }
|
||||
void set_preview_palette(Gfx::Palette const&);
|
||||
ErrorOr<void> set_theme_from_file(Core::File&);
|
||||
ErrorOr<void> set_theme_from_file(StringView path, NonnullOwnPtr<Core::Stream::File>);
|
||||
void set_theme(Core::AnonymousBuffer const&);
|
||||
|
||||
void paint_window(StringView title, Gfx::IntRect const& rect, Gfx::WindowTheme::WindowState, Gfx::Bitmap const& icon, int button_count = 3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue