mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:22:45 +00:00 
			
		
		
		
	LibGfx: Unpublish Gfx::Point from global namespace
This commit is contained in:
		
							parent
							
								
									20cfd2a6bf
								
							
						
					
					
						commit
						9b87843af1
					
				
					 34 changed files with 51 additions and 53 deletions
				
			
		|  | @ -209,7 +209,7 @@ Gfx::Rect ScrollableWidget::widget_inner_rect() const | |||
|     return rect; | ||||
| } | ||||
| 
 | ||||
| Point ScrollableWidget::to_content_position(const Gfx::Point& widget_position) const | ||||
| Gfx::Point ScrollableWidget::to_content_position(const Gfx::Point& widget_position) const | ||||
| { | ||||
|     auto content_position = widget_position; | ||||
|     content_position.move_by(horizontal_scrollbar().value(), vertical_scrollbar().value()); | ||||
|  | @ -217,7 +217,7 @@ Point ScrollableWidget::to_content_position(const Gfx::Point& widget_position) c | |||
|     return content_position; | ||||
| } | ||||
| 
 | ||||
| Point ScrollableWidget::to_widget_position(const Gfx::Point& content_position) const | ||||
| Gfx::Point ScrollableWidget::to_widget_position(const Gfx::Point& content_position) const | ||||
| { | ||||
|     auto widget_position = content_position; | ||||
|     widget_position.move_by(-horizontal_scrollbar().value(), -vertical_scrollbar().value()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling