From 11580babbfb1b8ae0acab2400f11d905c35642f5 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 6 Feb 2020 11:56:38 +0100 Subject: LibDraw: Put all classes in the Gfx namespace I started adding things to a Draw namespace, but it somehow felt really wrong seeing Draw::Rect and Draw::Bitmap, etc. So instead, let's rename the library to LibGfx. :^) --- Applications/Calculator/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Applications/Calculator/main.cpp') diff --git a/Applications/Calculator/main.cpp b/Applications/Calculator/main.cpp index fb8f035e0b..7f19003c8c 100644 --- a/Applications/Calculator/main.cpp +++ b/Applications/Calculator/main.cpp @@ -63,7 +63,7 @@ int main(int argc, char** argv) window->set_main_widget(calc_widget); window->show(); - window->set_icon(GraphicsBitmap::load_from_file("/res/icons/16x16/app-calculator.png")); + window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-calculator.png")); auto menubar = make(); @@ -76,7 +76,7 @@ int main(int argc, char** argv) auto help_menu = GUI::Menu::construct("Help"); help_menu->add_action(GUI::Action::create("About", [&](const GUI::Action&) { - GUI::AboutDialog::show("Calculator", load_png("/res/icons/16x16/app-calculator.png"), window); + GUI::AboutDialog::show("Calculator", Gfx::load_png("/res/icons/16x16/app-calculator.png"), window); })); menubar->add_menu(move(help_menu)); -- cgit v1.2.3