mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
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. :^)
This commit is contained in:
@@ -62,10 +62,10 @@ MemoryStatsWidget::MemoryStatsWidget(GraphWidget& graph, GUI::Widget* parent)
|
||||
container->set_size_policy(GUI::SizePolicy::Fixed, GUI::SizePolicy::Fixed);
|
||||
container->set_preferred_size(275, 12);
|
||||
auto description_label = GUI::Label::construct(description, container);
|
||||
description_label->set_font(Font::default_bold_font());
|
||||
description_label->set_text_alignment(TextAlignment::CenterLeft);
|
||||
description_label->set_font(Gfx::Font::default_bold_font());
|
||||
description_label->set_text_alignment(Gfx::TextAlignment::CenterLeft);
|
||||
auto label = GUI::Label::construct(container);
|
||||
label->set_text_alignment(TextAlignment::CenterRight);
|
||||
label->set_text_alignment(Gfx::TextAlignment::CenterRight);
|
||||
return label;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user