summaryrefslogtreecommitdiff
path: root/Userland/Games/Minesweeper/main.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-04-13 16:18:20 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-13 16:58:15 +0200
commita2baab38fd58e18f690e2256b0a5081580c05968 (patch)
treeee4585bda0e59a1727f10b1203e540e44a2edafb /Userland/Games/Minesweeper/main.cpp
parent86bdfa1edf21293e2c0f3ca8b31808a21882cb99 (diff)
downloadserenity-a2baab38fd58e18f690e2256b0a5081580c05968.zip
Everywhere: It's now "Foobar", not "FooBar", and not "foo bar"
I hereby declare these to be full nouns that we don't split, neither by space, nor by underscore: - Breadcrumbbar - Coolbar - Menubar - Progressbar - Scrollbar - Statusbar - Taskbar - Toolbar This patch makes everything consistent by replacing every other variant of these with the proper one. :^)
Diffstat (limited to 'Userland/Games/Minesweeper/main.cpp')
-rw-r--r--Userland/Games/Minesweeper/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Games/Minesweeper/main.cpp b/Userland/Games/Minesweeper/main.cpp
index 8c3835b796..067bf6a570 100644
--- a/Userland/Games/Minesweeper/main.cpp
+++ b/Userland/Games/Minesweeper/main.cpp
@@ -34,7 +34,7 @@
#include <LibGUI/ImageWidget.h>
#include <LibGUI/Label.h>
#include <LibGUI/Menu.h>
-#include <LibGUI/MenuBar.h>
+#include <LibGUI/Menubar.h>
#include <LibGUI/Window.h>
#include <stdio.h>
#include <unistd.h>
@@ -92,7 +92,7 @@ int main(int argc, char** argv)
auto& flag_label = container.add<GUI::Label>();
auto& face_button = container.add<GUI::Button>();
face_button.set_focus_policy(GUI::FocusPolicy::TabFocus);
- face_button.set_button_style(Gfx::ButtonStyle::CoolBar);
+ face_button.set_button_style(Gfx::ButtonStyle::Coolbar);
face_button.set_fixed_size(36, 36);
auto& time_image = container.add<GUI::ImageWidget>();
@@ -104,7 +104,7 @@ int main(int argc, char** argv)
window->resize(size);
});
- auto menubar = GUI::MenuBar::construct();
+ auto menubar = GUI::Menubar::construct();
auto& app_menu = menubar->add_menu("Game");