summaryrefslogtreecommitdiff
path: root/LibGUI/GIcon.cpp
AgeCommit message (Collapse)Author
2019-03-25LibGUI: Add GIcon::default_icon(name).Andreas Kling
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.
2019-03-24LibGUI+FileManager: Add a GIcon class to support multi-size icons.Andreas Kling
A GIcon can contain any number of bitmaps internally, and will give you the best fitting icon when you call bitmap_for_size().