mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:22:45 +00:00 
			
		
		
		
	LibGUI: Run clang-format on everything.
This commit is contained in:
		
							parent
							
								
									bc951ca565
								
							
						
					
					
						commit
						7ad8790d80
					
				
					 43 changed files with 525 additions and 363 deletions
				
			
		|  | @ -1,8 +1,8 @@ | |||
| #include <LibGUI/GPainter.h> | ||||
| #include <LibGUI/GScrollBar.h> | ||||
| #include <SharedGraphics/StylePainter.h> | ||||
| #include <SharedGraphics/CharacterBitmap.h> | ||||
| #include <SharedGraphics/GraphicsBitmap.h> | ||||
| #include <LibGUI/GPainter.h> | ||||
| #include <SharedGraphics/StylePainter.h> | ||||
| 
 | ||||
| static const char* s_up_arrow_bitmap_data = { | ||||
|     "         " | ||||
|  | @ -28,7 +28,6 @@ static const char* s_down_arrow_bitmap_data = { | |||
|     "         " | ||||
| }; | ||||
| 
 | ||||
| 
 | ||||
| static const char* s_left_arrow_bitmap_data = { | ||||
|     "         " | ||||
|     "    #    " | ||||
|  | @ -146,7 +145,7 @@ Rect GScrollBar::increment_gutter_rect() const | |||
| { | ||||
|     auto scrubber_rect = this->scrubber_rect(); | ||||
|     if (orientation() == Orientation::Vertical) | ||||
|         return { 0, scrubber_rect.bottom() + 1, button_width(), height() - button_height() - scrubber_rect.bottom() - 1}; | ||||
|         return { 0, scrubber_rect.bottom() + 1, button_width(), height() - button_height() - scrubber_rect.bottom() - 1 }; | ||||
|     else | ||||
|         return { scrubber_rect.right() + 1, 0, width() - button_width() - scrubber_rect.right() - 1, button_width() }; | ||||
| } | ||||
|  | @ -174,7 +173,7 @@ int GScrollBar::scrubber_size() const | |||
| Rect GScrollBar::scrubber_rect() const | ||||
| { | ||||
|     if (!has_scrubber()) | ||||
|         return { }; | ||||
|         return {}; | ||||
|     float x_or_y; | ||||
|     if (m_value == m_min) | ||||
|         x_or_y = button_size(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling