Andrew Kaster 
								
							 
						 
						
							
							
							
							
								
							
							
								39908fd569 
								
							 
						 
						
							
							
								
								LibGUI: Move widget registrations to the corresponding cpp file  
							
							... 
							
							
							
							This gets a lot of unecessary includes out of Widget.cpp. Doing this
didn't work before, but improvements in the C library and using dynamic
libraries have likely un-broken it :^).
Also, move the registration global object to an anonymous namespace. No
reason it has to be an extern symbol. 
							
						 
						
							2021-01-03 10:31:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								bc5635422b 
								
							 
						 
						
							
							
								
								LibGUI: Give a default min-width to a bunch of widgets  
							
							
							
						 
						
							2020-12-30 02:57:45 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								1cca2405fc 
								
							 
						 
						
							
							
								
								LibGUI: Give some widgets a reasonable default fixed height  
							
							... 
							
							
							
							Instead of hard-coding 22 in random places, just make the following
widgets have a fixed height of 22 by default: Button, CheckBox,
ColorInput, ComboBox, RadioButton, SpinBox, TextBox.
In the future we can make this relative to the current font size,
but for now at least this centralizes the setting a bit better. 
							
						 
						
							2020-12-30 01:54:53 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								cd9ad6a05e 
								
							 
						 
						
							
							
								
								LibGUI: Tweak AbstractButton and subclass constructors  
							
							... 
							
							
							
							Taking a "const StringView&" for the initial text does not achieve
anything useful. Just take a "String" and move it into storage. 
							
						 
						
							2020-12-28 15:53:10 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								b7dfa83223 
								
							 
						 
						
							
							
								
								LibGUI+LibGfx: Improve focus rect appearance  
							
							... 
							
							
							
							Draw a dotted focus rect to make it stand out more. Also make it much
larger on regular text-only GUI::Buttons. 
							
						 
						
							2020-10-26 21:01:45 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								1a2b626746 
								
							 
						 
						
							
							
								
								LibGUI+LibGfx: Move check box painting to Gfx::StylePainter  
							
							... 
							
							
							
							This will allow us to render check boxes from other places. :^) 
							
						 
						
							2020-09-11 18:42:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								d851863704 
								
							 
						 
						
							
							
								
								Userspace: Remove a bunch of unnecessary Kernel/API/KeyCode.h includes  
							
							
							
						 
						
							2020-07-04 17:25:31 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								11c4a28660 
								
							 
						 
						
							
							
								
								Kernel: Move headers intended for userspace use into Kernel/API/  
							
							
							
						 
						
							2020-07-04 17:22:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								116cf92156 
								
							 
						 
						
							
							
								
								LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize  
							
							... 
							
							
							
							This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much
better visual clue about what type of metric is being used. 
							
						 
						
							2020-06-10 10:59:04 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								977863ea07 
								
							 
						 
						
							
							
								
								LibGUI: Include keyboard modifier state with button on_click calls  
							
							... 
							
							
							
							This will allow you us to implement special behavior when Ctrl+clicking
a button. 
							
						 
						
							2020-05-12 20:31:16 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								03c91fce74 
								
							 
						 
						
							
							
								
								LibGUI: Highlight interactive area of hovered CheckBox and RadioButton  
							
							... 
							
							
							
							This is consistent what we do for regular Buttons and gives a pleasant
visual cue when you're over a clickable area. 
							
						 
						
							2020-05-08 21:12:16 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andres Vieira 
								
							 
						 
						
							
							
							
							
								
							
							
								711bcff0da 
								
							 
						 
						
							
							
								
								LibGUI: Paint CheckBox background same as widget's if it's not enabled  
							
							
							
						 
						
							2020-04-28 15:14:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								c5d913970a 
								
							 
						 
						
							
							
								
								LibGUI: Remove parent parameter to GUI::Widget constructor  
							
							
							
						 
						
							2020-02-23 12:27:53 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								34c7322d77 
								
							 
						 
						
							
							
								
								LibGUI: Remove some header dependencies from Widget.h  
							
							
							
						 
						
							2020-02-14 23:53:11 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								6a9cc66b97 
								
							 
						 
						
							
							
								
								LibGUI: Remove leading G from filenames  
							
							
							
						 
						
							2020-02-06 20:33:02 +01:00