1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:18:12 +00:00

Base: Move 16x16 common icons to /res/icons/16x16/

Drops the '16' suffix from filenames. Resizes inconsistent
audio-volume icons to intended size.
This commit is contained in:
thankyouverycool 2020-08-24 07:02:03 -04:00 committed by Andreas Kling
parent 0bb2025b69
commit ebba297b42
31 changed files with 21 additions and 21 deletions

View file

@ -195,9 +195,9 @@ int main(int argc, char** argv)
button_vert2_container.set_layout<GUI::VerticalBoxLayout>();
auto& button1 = button_vert1_container.add<GUI::Button>("Button 1");
button1.set_icon(Gfx::Bitmap::load_from_file("/res/icons/kill16.png"));
button1.set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/kill.png"));
auto& button2 = button_vert1_container.add<GUI::Button>("Button 2");
button2.set_icon(Gfx::Bitmap::load_from_file("/res/icons/kill16.png"));
button2.set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/kill.png"));
button2.set_enabled(false);
auto& button3 = button_vert2_container.add<GUI::Button>("\xF0\x9F\x98\x88 Button 3");
(void)button3;