diff options
author | Tibor Nagy <xnagytibor@gmail.com> | 2020-03-19 22:29:01 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-19 22:52:44 +0100 |
commit | 30964ba7d0c9e1d8534e7882f2947d1b5e63faa5 (patch) | |
tree | d2e6764cbbbcb499db31faaca967fa90a9962d2b /Libraries/LibGUI | |
parent | 809490dcb65b69c3f1e7d1f35ca21ae7babe5441 (diff) | |
download | serenity-30964ba7d0c9e1d8534e7882f2947d1b5e63faa5.zip |
LibGUI: Remove remaining G prefixes
Diffstat (limited to 'Libraries/LibGUI')
-rw-r--r-- | Libraries/LibGUI/Application.cpp | 2 | ||||
-rw-r--r-- | Libraries/LibGUI/InputBox.cpp | 4 | ||||
-rw-r--r-- | Libraries/LibGUI/TextPosition.h | 2 | ||||
-rw-r--r-- | Libraries/LibGUI/TextRange.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/Libraries/LibGUI/Application.cpp b/Libraries/LibGUI/Application.cpp index 4ead0a856c..b560677082 100644 --- a/Libraries/LibGUI/Application.cpp +++ b/Libraries/LibGUI/Application.cpp @@ -112,7 +112,7 @@ class Application::TooltipWindow final : public Window { public: void set_tooltip(const StringView& tooltip) { - // FIXME: Add some kind of GLabel auto-sizing feature. + // FIXME: Add some kind of GUI::Label auto-sizing feature. int text_width = m_label->font().width(tooltip); set_rect(100, 100, text_width + 10, m_label->font().glyph_height() + 8); m_label->set_text(tooltip); diff --git a/Libraries/LibGUI/InputBox.cpp b/Libraries/LibGUI/InputBox.cpp index 7a0a22918d..a38fe8396b 100644 --- a/Libraries/LibGUI/InputBox.cpp +++ b/Libraries/LibGUI/InputBox.cpp @@ -84,7 +84,7 @@ void InputBox::build() m_cancel_button->set_preferred_size(0, 20); m_cancel_button->set_text("Cancel"); m_cancel_button->on_click = [this] { - dbgprintf("GInputBox: Cancel button clicked\n"); + dbgprintf("GUI::InputBox: Cancel button clicked\n"); done(ExecCancel); }; @@ -93,7 +93,7 @@ void InputBox::build() m_ok_button->set_preferred_size(0, 20); m_ok_button->set_text("OK"); m_ok_button->on_click = [this] { - dbgprintf("GInputBox: OK button clicked\n"); + dbgprintf("GUI::InputBox: OK button clicked\n"); m_text_value = m_text_editor->text(); done(ExecOK); }; diff --git a/Libraries/LibGUI/TextPosition.h b/Libraries/LibGUI/TextPosition.h index 86eb5116e7..2248ddfd26 100644 --- a/Libraries/LibGUI/TextPosition.h +++ b/Libraries/LibGUI/TextPosition.h @@ -60,7 +60,7 @@ private: inline const LogStream& operator<<(const LogStream& stream, const TextPosition& value) { if (!value.is_valid()) - return stream << "GTextPosition(Invalid)"; + return stream << "GUI::TextPosition(Invalid)"; return stream << String::format("(%zu,%zu)", value.line(), value.column()); } diff --git a/Libraries/LibGUI/TextRange.h b/Libraries/LibGUI/TextRange.h index ce4b93fc9b..4b2db505c1 100644 --- a/Libraries/LibGUI/TextRange.h +++ b/Libraries/LibGUI/TextRange.h @@ -88,7 +88,7 @@ private: inline const LogStream& operator<<(const LogStream& stream, const TextRange& value) { if (!value.is_valid()) - return stream << "GTextRange(Invalid)"; + return stream << "GUI::TextRange(Invalid)"; return stream << value.start() << '-' << value.end(); } |