mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 00:47:45 +00:00
Ladybird: Use custom QIconEngine to render scalable/vector icons
Rather than render the icons to a 16x16 bitmap, keep them as vector graphics and render them on request. This keeps the icons crisp on high DPI displays.
This commit is contained in:
parent
3e6ca1085c
commit
1837e94ba4
5 changed files with 170 additions and 31 deletions
|
@ -68,7 +68,7 @@ private:
|
|||
virtual void resizeEvent(QResizeEvent*) override;
|
||||
virtual bool event(QEvent*) override;
|
||||
|
||||
void rerender_toolbar_icons();
|
||||
void recreate_toolbar_icons();
|
||||
void update_hover_label();
|
||||
|
||||
void open_link(URL const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue