mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:58:11 +00:00
LibGUI: Support setting an in memory theme in AbstractThemePreview
This commit is contained in:
parent
ef7fbbcf70
commit
c76c3e38e6
2 changed files with 8 additions and 0 deletions
|
@ -25,6 +25,7 @@ public:
|
|||
Gfx::Palette const& preview_palette() const { return m_preview_palette; }
|
||||
void set_preview_palette(Gfx::Palette const&);
|
||||
void set_theme_from_file(Core::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