mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:07:46 +00:00
LibGUI: Add GIcon::default_icon(name).
This is a convenience helper to instantiate a GIcon like so: auto icon = GIcon::default_icon("filetype-image"); This will give you the "filetype-image" icon in both 16x16 and 32x32 sizes.
This commit is contained in:
parent
43bb7aad4c
commit
be604652ae
13 changed files with 16 additions and 7 deletions
|
@ -71,7 +71,7 @@ GWindow* make_launcher_window()
|
|||
|
||||
new LauncherButton("/res/icons/Terminal.png", "/bin/Terminal", widget);
|
||||
new LauncherButton("/res/icons/FontEditor.png", "/bin/FontEditor", widget);
|
||||
new LauncherButton("/res/icons/folder32.png", "/bin/FileManager", widget);
|
||||
new LauncherButton("/res/icons/32x32/filetype-folder.png", "/bin/FileManager", widget);
|
||||
new LauncherButton("/res/icons/TextEditor.png", "/bin/TextEditor", widget);
|
||||
|
||||
return window;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue