diff --git a/Applications/TextEditor/main.cpp b/Applications/TextEditor/main.cpp index 68e79f6c706..1c3e791f485 100644 --- a/Applications/TextEditor/main.cpp +++ b/Applications/TextEditor/main.cpp @@ -61,15 +61,15 @@ int main(int argc, char** argv) text_editor->set_text(builder.to_string()); } - auto new_action = GAction::create("New document", { Mod_Ctrl, Key_N }, GraphicsBitmap::load_from_file(GraphicsBitmap::Format::RGBA32, "/res/icons/newdocument16.rgb", { 16, 16 }), [] (const GAction&) { - dbgprintf("FIXME: Implement File/New"); + auto new_action = GAction::create("New document", { Mod_Ctrl, Key_N }, GraphicsBitmap::load_from_file(GraphicsBitmap::Format::RGBA32, "/res/icons/16x16/new.rgb", { 16, 16 }), [] (const GAction&) { + dbgprintf("FIXME: Implement File/New\n"); }); - auto open_action = GAction::create("Open document", { Mod_Ctrl, Key_O }, GraphicsBitmap::load_from_file(GraphicsBitmap::Format::RGBA32, "/res/icons/open16.rgb", { 16, 16 }), [] (const GAction&) { - dbgprintf("FIXME: Implement File/Open"); + auto open_action = GAction::create("Open document", { Mod_Ctrl, Key_O }, GraphicsBitmap::load_from_file(GraphicsBitmap::Format::RGBA32, "/res/icons/16x16/open.rgb", { 16, 16 }), [] (const GAction&) { + dbgprintf("FIXME: Implement File/Open\n"); }); - auto save_action = GAction::create("Save document", { Mod_Ctrl, Key_S }, GraphicsBitmap::load_from_file(GraphicsBitmap::Format::RGBA32, "/res/icons/save16.rgb", { 16, 16 }), [&] (const GAction&) { + auto save_action = GAction::create("Save document", { Mod_Ctrl, Key_S }, GraphicsBitmap::load_from_file(GraphicsBitmap::Format::RGBA32, "/res/icons/16x16/save.rgb", { 16, 16 }), [&] (const GAction&) { dbgprintf("Writing document to '%s'\n", path.characters()); text_editor->write_to_file(path); }); diff --git a/Base/res/icons/16x16/irc-close-query.png b/Base/res/icons/16x16/irc-close-query.png index 6fdce401d78..ba2b405229d 100644 Binary files a/Base/res/icons/16x16/irc-close-query.png and b/Base/res/icons/16x16/irc-close-query.png differ diff --git a/Base/res/icons/16x16/irc-close-query.rgb b/Base/res/icons/16x16/irc-close-query.rgb index 52cc84fb331..f72eb4885fe 100644 Binary files a/Base/res/icons/16x16/irc-close-query.rgb and b/Base/res/icons/16x16/irc-close-query.rgb differ diff --git a/Base/res/icons/16x16/irc-join.rgb b/Base/res/icons/16x16/irc-join.rgb index 10773d09d32..cf60fe758d2 100644 Binary files a/Base/res/icons/16x16/irc-join.rgb and b/Base/res/icons/16x16/irc-join.rgb differ diff --git a/Base/res/icons/16x16/irc-open-query.png b/Base/res/icons/16x16/irc-open-query.png index d0d7a6af547..b827be3a401 100644 Binary files a/Base/res/icons/16x16/irc-open-query.png and b/Base/res/icons/16x16/irc-open-query.png differ diff --git a/Base/res/icons/16x16/irc-open-query.rgb b/Base/res/icons/16x16/irc-open-query.rgb index fcef05192cc..615ed0ede49 100644 Binary files a/Base/res/icons/16x16/irc-open-query.rgb and b/Base/res/icons/16x16/irc-open-query.rgb differ diff --git a/Base/res/icons/16x16/irc-part.png b/Base/res/icons/16x16/irc-part.png index 7a9358113a9..6755f333e97 100644 Binary files a/Base/res/icons/16x16/irc-part.png and b/Base/res/icons/16x16/irc-part.png differ diff --git a/Base/res/icons/16x16/irc-part.rgb b/Base/res/icons/16x16/irc-part.rgb index 6440380486f..bfd08df556e 100644 Binary files a/Base/res/icons/16x16/irc-part.rgb and b/Base/res/icons/16x16/irc-part.rgb differ diff --git a/Base/res/icons/16x16/irc-whois.png b/Base/res/icons/16x16/irc-whois.png index 53019fd4bd9..5dde6881a24 100644 Binary files a/Base/res/icons/16x16/irc-whois.png and b/Base/res/icons/16x16/irc-whois.png differ diff --git a/Base/res/icons/16x16/irc-whois.rgb b/Base/res/icons/16x16/irc-whois.rgb index 9ebbd5dfe52..7e398663ffe 100644 Binary files a/Base/res/icons/16x16/irc-whois.rgb and b/Base/res/icons/16x16/irc-whois.rgb differ diff --git a/Base/res/icons/16x16/new.png b/Base/res/icons/16x16/new.png new file mode 100644 index 00000000000..145501713da Binary files /dev/null and b/Base/res/icons/16x16/new.png differ diff --git a/Base/res/icons/16x16/new.rgb b/Base/res/icons/16x16/new.rgb new file mode 100644 index 00000000000..1bfb1c707be Binary files /dev/null and b/Base/res/icons/16x16/new.rgb differ diff --git a/Base/res/icons/16x16/open.png b/Base/res/icons/16x16/open.png new file mode 100644 index 00000000000..526751ffe77 Binary files /dev/null and b/Base/res/icons/16x16/open.png differ diff --git a/Base/res/icons/16x16/open.rgb b/Base/res/icons/16x16/open.rgb new file mode 100644 index 00000000000..3d322386cb7 Binary files /dev/null and b/Base/res/icons/16x16/open.rgb differ diff --git a/Base/res/icons/16x16/save.png b/Base/res/icons/16x16/save.png new file mode 100644 index 00000000000..cc016148f24 Binary files /dev/null and b/Base/res/icons/16x16/save.png differ diff --git a/Base/res/icons/16x16/save.rgb b/Base/res/icons/16x16/save.rgb new file mode 100644 index 00000000000..2de1a3395c0 Binary files /dev/null and b/Base/res/icons/16x16/save.rgb differ diff --git a/Base/res/icons/newdocument16.png b/Base/res/icons/newdocument16.png deleted file mode 100644 index 303561cdf7c..00000000000 Binary files a/Base/res/icons/newdocument16.png and /dev/null differ diff --git a/Base/res/icons/newdocument16.rgb b/Base/res/icons/newdocument16.rgb deleted file mode 100644 index b7d22d3941c..00000000000 Binary files a/Base/res/icons/newdocument16.rgb and /dev/null differ diff --git a/Base/res/icons/open16.png b/Base/res/icons/open16.png deleted file mode 100644 index bc4956d5329..00000000000 Binary files a/Base/res/icons/open16.png and /dev/null differ diff --git a/Base/res/icons/open16.rgb b/Base/res/icons/open16.rgb deleted file mode 100644 index 624ba3e9c80..00000000000 Binary files a/Base/res/icons/open16.rgb and /dev/null differ diff --git a/Base/res/icons/save16.png b/Base/res/icons/save16.png deleted file mode 100644 index 4d223f9fc20..00000000000 Binary files a/Base/res/icons/save16.png and /dev/null differ diff --git a/Base/res/icons/save16.rgb b/Base/res/icons/save16.rgb deleted file mode 100644 index 18eb5422fec..00000000000 Binary files a/Base/res/icons/save16.rgb and /dev/null differ