mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:12:45 +00:00 
			
		
		
		
	LibGUI: Remove remaining G prefixes
This commit is contained in:
		
							parent
							
								
									809490dcb6
								
							
						
					
					
						commit
						30964ba7d0
					
				
					 4 changed files with 5 additions and 5 deletions
				
			
		|  | @ -112,7 +112,7 @@ class Application::TooltipWindow final : public Window { | ||||||
| public: | public: | ||||||
|     void set_tooltip(const StringView& tooltip) |     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); |         int text_width = m_label->font().width(tooltip); | ||||||
|         set_rect(100, 100, text_width + 10, m_label->font().glyph_height() + 8); |         set_rect(100, 100, text_width + 10, m_label->font().glyph_height() + 8); | ||||||
|         m_label->set_text(tooltip); |         m_label->set_text(tooltip); | ||||||
|  |  | ||||||
|  | @ -84,7 +84,7 @@ void InputBox::build() | ||||||
|     m_cancel_button->set_preferred_size(0, 20); |     m_cancel_button->set_preferred_size(0, 20); | ||||||
|     m_cancel_button->set_text("Cancel"); |     m_cancel_button->set_text("Cancel"); | ||||||
|     m_cancel_button->on_click = [this] { |     m_cancel_button->on_click = [this] { | ||||||
|         dbgprintf("GInputBox: Cancel button clicked\n"); |         dbgprintf("GUI::InputBox: Cancel button clicked\n"); | ||||||
|         done(ExecCancel); |         done(ExecCancel); | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|  | @ -93,7 +93,7 @@ void InputBox::build() | ||||||
|     m_ok_button->set_preferred_size(0, 20); |     m_ok_button->set_preferred_size(0, 20); | ||||||
|     m_ok_button->set_text("OK"); |     m_ok_button->set_text("OK"); | ||||||
|     m_ok_button->on_click = [this] { |     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(); |         m_text_value = m_text_editor->text(); | ||||||
|         done(ExecOK); |         done(ExecOK); | ||||||
|     }; |     }; | ||||||
|  |  | ||||||
|  | @ -60,7 +60,7 @@ private: | ||||||
| inline const LogStream& operator<<(const LogStream& stream, const TextPosition& value) | inline const LogStream& operator<<(const LogStream& stream, const TextPosition& value) | ||||||
| { | { | ||||||
|     if (!value.is_valid()) |     if (!value.is_valid()) | ||||||
|         return stream << "GTextPosition(Invalid)"; |         return stream << "GUI::TextPosition(Invalid)"; | ||||||
|     return stream << String::format("(%zu,%zu)", value.line(), value.column()); |     return stream << String::format("(%zu,%zu)", value.line(), value.column()); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -88,7 +88,7 @@ private: | ||||||
| inline const LogStream& operator<<(const LogStream& stream, const TextRange& value) | inline const LogStream& operator<<(const LogStream& stream, const TextRange& value) | ||||||
| { | { | ||||||
|     if (!value.is_valid()) |     if (!value.is_valid()) | ||||||
|         return stream << "GTextRange(Invalid)"; |         return stream << "GUI::TextRange(Invalid)"; | ||||||
|     return stream << value.start() << '-' << value.end(); |     return stream << value.start() << '-' << value.end(); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tibor Nagy
						Tibor Nagy