diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-06 11:56:38 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-06 11:56:38 +0100 |
commit | 11580babbfb1b8ae0acab2400f11d905c35642f5 (patch) | |
tree | 3b26fcd4bf7afe9ff92203468ba7cd95e192d55f /Applications/About | |
parent | 939a605334a71dd8b7af91cdcbe9047281f7b5b9 (diff) | |
download | serenity-11580babbfb1b8ae0acab2400f11d905c35642f5.zip |
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. :^)
Diffstat (limited to 'Applications/About')
-rw-r--r-- | Applications/About/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/About/main.cpp b/Applications/About/main.cpp index 0aa5cf42d9..2e8eeba91e 100644 --- a/Applications/About/main.cpp +++ b/Applications/About/main.cpp @@ -69,12 +69,12 @@ int main(int argc, char** argv) widget->layout()->set_spacing(8); auto icon_label = GUI::Label::construct(widget); - icon_label->set_icon(GraphicsBitmap::load_from_file("/res/icons/serenity.png")); + icon_label->set_icon(Gfx::Bitmap::load_from_file("/res/icons/serenity.png")); icon_label->set_size_policy(GUI::SizePolicy::Fixed, GUI::SizePolicy::Fixed); icon_label->set_preferred_size(icon_label->icon()->size()); auto label = GUI::Label::construct(widget); - label->set_font(Font::default_bold_font()); + label->set_font(Gfx::Font::default_bold_font()); label->set_text("SerenityOS"); label->set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fixed); label->set_preferred_size(0, 11); |