1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:47:35 +00:00

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. :^)
This commit is contained in:
Andreas Kling 2021-04-13 16:18:20 +02:00
parent 86bdfa1edf
commit a2baab38fd
141 changed files with 518 additions and 518 deletions

View file

@ -43,7 +43,7 @@ class ClientConnection;
class Cursor;
class KeyEvent;
class Menu;
class MenuBar;
class Menubar;
class MenuItem;
class MouseEvent;
@ -333,9 +333,9 @@ public:
Gfx::DisjointRectSet& transparency_rects() { return m_transparency_rects; }
Gfx::DisjointRectSet& transparency_wallpaper_rects() { return m_transparency_wallpaper_rects; }
MenuBar* menubar() { return m_menubar; }
const MenuBar* menubar() const { return m_menubar; }
void set_menubar(MenuBar*);
Menubar* menubar() { return m_menubar; }
const Menubar* menubar() const { return m_menubar; }
void set_menubar(Menubar*);
private:
virtual void event(Core::Event&) override;
@ -354,7 +354,7 @@ private:
Vector<WeakPtr<Window>> m_child_windows;
Vector<WeakPtr<Window>> m_accessory_windows;
RefPtr<MenuBar> m_menubar;
RefPtr<Menubar> m_menubar;
String m_title;
Gfx::IntRect m_rect;