Преглед изворни кода

LibGUI: Remove remaining G prefixes

Tibor Nagy пре 5 година
родитељ
комит
30964ba7d0

+ 1 - 1
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);

+ 2 - 2
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);
     };

+ 1 - 1
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());
 }
 

+ 1 - 1
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();
 }