9522d4e302 
					 
					
						
						
							
							renderer: Bring button drawing closer to Rust  
						
						 
						
						
						
						
					 
					
						2020-12-04 15:35:02 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5e43a31051 
					 
					
						
						
							
							Fix leak endlessly adding a resource path to the default theme  
						
						 
						
						
						
						
					 
					
						2020-10-03 16:23:13 +10:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						306c11f1fd 
					 
					
						
						
							
							treewide: Use new style function definitions  
						
						 
						
						
						
						
					 
					
						2020-09-11 18:15:02 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8ff8e8ac48 
					 
					
						
						
							
							Merge remote-tracking branch 'upstream/master' into scaling  
						
						 
						
						
						
						
					 
					
						2020-03-07 10:46:09 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						784f9127fa 
					 
					
						
						
							
							layout: Minor generalizations  
						
						 
						
						
						
						
					 
					
						2020-03-07 10:31:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4ff9cf087b 
					 
					
						
						
							
							renderer: Simplify by dropping gobjectness  
						
						 
						
						
						
						
					 
					
						2020-03-07 10:31:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						92e9d994fe 
					 
					
						
						
							
							modifiers: Support Control and Alt  
						
						 
						
						... 
						
						
						
						Control and Alt are special in that they aren't expected to switch levels, and so don't need to change what characters are output.
Use in layouts by adding `modifier: Control` or `modifier: Alt` in place of `text: "foo"`.
The latching of the modifier will force the keyboard to emit raw key presses and prevent it from outputting text. 
						
						
					 
					
						2020-02-28 11:21:07 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4b34f18d34 
					 
					
						
						
							
							font: Only pass relevant data to label renderer  
						
						 
						
						... 
						
						
						
						This will help factoring the function out 
						
						
					 
					
						2020-01-28 18:13:19 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d5682de47c 
					 
					
						
						
							
							font: Use font from style context  
						
						 
						
						... 
						
						
						
						As a consequence, some dependency on renderer is gone. 
						
						
					 
					
						2020-01-28 18:13:15 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dd21bfed8d 
					 
					
						
						
							
							positioning: Calculate sizes instead of storing, move position out of widgets  
						
						 
						
						... 
						
						
						
						Sizes of widgets can be derived, so storing them was only for C compatibility. Similar with storing position inside of widgets.
Some layout margin and scaling changes could be introduced, meaning a possibility of visual differences. 
						
						
					 
					
						2019-12-07 21:20:21 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1c4d027af5 
					 
					
						
						
							
							cleanup: Remove references to squeek_view  
						
						 
						
						
						
						
					 
					
						2019-12-07 15:42:54 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						51a77c41c3 
					 
					
						
						
							
							renderer: Remove unused functions  
						
						 
						
						
						
						
					 
					
						2019-12-07 15:19:53 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f77db1bb73 
					 
					
						
						
							
							renderer: Render whole keyboard the same way as pressed buttons  
						
						 
						
						... 
						
						
						
						Removed window size dependent surface. 
						
						
					 
					
						2019-12-07 14:33:49 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						581c86809a 
					 
					
						
						
							
							renderer: Simply cut off when painting outside bounds  
						
						 
						
						
						
						
					 
					
						2019-12-07 14:03:51 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f9fbd3fb2d 
					 
					
						
						
							
							rendering: Simplify Cairo context usage, remove unneeded calls.  
						
						 
						
						... 
						
						
						
						Moved Cairo context usage to Rust, and rearranged ctx setup (position) to happen in one place.
Removed render calls that were overwritten on each draw call anyway. 
						
						
					 
					
						2019-12-07 12:47:47 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6e32a2ef41 
					 
					
						
						
							
							renderer: Simplify surface rendering  
						
						 
						
						
						
						
					 
					
						2019-12-01 16:00:40 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						34fce7395d 
					 
					
						
						
							
							renderer: Drop unused params  
						
						 
						
						
						
						
					 
					
						2019-12-01 15:36:01 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d415ecf5d0 
					 
					
						
						
							
							renderer: Drop row from button rendering  
						
						 
						
						
						
						
					 
					
						2019-12-01 15:31:16 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5266c621fd 
					 
					
						
						
							
							renderer: Simplified outline rendering  
						
						 
						
						
						
						
					 
					
						2019-12-01 15:27:14 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4ee832c594 
					 
					
						
						
							
							renderer: Remove some unneeded vars  
						
						 
						
						
						
						
					 
					
						2019-12-01 15:22:00 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						83fea8cd31 
					 
					
						
						
							
							Drop squeek_key  
						
						 
						
						
						
						
					 
					
						2019-12-01 15:01:08 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						59f6173282 
					 
					
						
						
							
							theme: Use a matching layout theme for any widget theme  
						
						 
						
						... 
						
						
						
						Dedicated styling is now possible for themes which have a corresponding style-theme.css file. Adwaita:dark gets one, whereas other themes use the new generic fallback theme. 
						
						
					 
					
						2019-11-27 16:30:32 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c096698ec1 
					 
					
						
						
							
							renderer: Remove unused ascii_font  
						
						 
						
						
						
						
					 
					
						2019-11-07 14:13:27 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3aaaed3bae 
					 
					
						
						
							
							renderer: Clean up EekColor & label  
						
						 
						
						
						
						
					 
					
						2019-11-07 14:10:20 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f1c76a0ca4 
					 
					
						
						
							
							Don't leak CSS  
						
						 
						
						
						
						
					 
					
						2019-11-06 15:46:53 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7d18f81a30 
					 
					
						
						
							
							Remove unused surface caches  
						
						 
						
						
						
						
					 
					
						2019-11-06 14:32:23 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ce223e04e6 
					 
					
						
						
							
							icons: Fix scaling to 16 units of scale  
						
						 
						
						
						
						
					 
					
						2019-10-29 13:32:53 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c917a1f818 
					 
					
						
						
							
							layout: Keep kind metadata in loaded layouts  
						
						 
						
						... 
						
						
						
						It will come useful for applying per-kind styling later without having to give each layout a new stylesheet 
						
						
					 
					
						2019-10-29 13:27:54 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8f7f6c05c0 
					 
					
						
						
							
							renderer: Remove dependencies on renderer in button rendering functions  
						
						 
						
						... 
						
						
						
						The rendering functions become more pure, which, once reached, will allow for better tracking of what they do and easier modularization. 
						
						
					 
					
						2019-10-28 21:13:58 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						01fe433612 
					 
					
						
						
							
							icons: Remove caching  
						
						 
						
						
						
						
					 
					
						2019-10-25 15:43:29 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						63e55ff5c4 
					 
					
						
						
							
							renderer: Free temporary surfaces  
						
						 
						
						
						
						
					 
					
						2019-10-25 15:18:37 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c99efc430c 
					 
					
						
						
							
							presses: Move press handling to Rust  
						
						 
						
						... 
						
						
						
						This fixes some rendering things which would happen with multiple state-sharing buttons. It also removes some interfaces exposing rows, views, layouts, and buttons, bringing the code closer to removing them from the FFI entirely. 
						
						
					 
					
						2019-10-23 15:11:16 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						162b828c4c 
					 
					
						
						
							
							Merge branch 'targets' into 'master'  
						
						 
						
						... 
						
						
						
						buttons: Buttons are next to each other, padding is visual only
Closes  #110 
See merge request Librem5/squeekboard!209  
						
						
					 
					
						2019-10-18 19:14:04 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9e078be603 
					 
					
						
						
							
							buttons: Buttons are next to each other, padding is visual only  
						
						 
						
						
						
						
					 
					
						2019-10-09 20:34:46 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						212e55d7cf 
					 
					
						
						
							
							caches: Stop using due to bugginness  
						
						 
						
						... 
						
						
						
						The button cache is storing only button outlines (not useful to us), and it only cares about active/inactive states (there are more).
This will have to be rewritten sanely, so for the time being, disabling it is not going to deal a big performance penalty. 
						
						
					 
					
						2019-10-09 09:24:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						477a883885 
					 
					
						
						
							
							style: Add styling for locked buttons  
						
						 
						
						
						
						
					 
					
						2019-10-02 16:32:13 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1c56de8698 
					 
					
						
						
							
							Merge branch 'style' into 'master'  
						
						 
						
						... 
						
						
						
						style: Avoid conflict with GTK widget names
Closes  #119 
See merge request Librem5/squeekboard!184  
						
						
					 
					
						2019-09-29 15:01:32 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9b5e0109a7 
					 
					
						
						
							
							Merge branch 'style_better' into 'master'  
						
						 
						
						... 
						
						
						
						Style better
See merge request Librem5/squeekboard!180  
						
						
					 
					
						2019-09-29 14:28:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						60f1ca1408 
					 
					
						
						
							
							style: Avoid conflict with GTK widget names  
						
						 
						
						... 
						
						
						
						GTK style provider loads the theme on top of the selected CSS file. To ignore the theme, element names must be different than the predefined ones. 
						
						
					 
					
						2019-09-28 12:11:32 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						de7211d1a5 
					 
					
						
						
							
							Merge branch 'drop_color' into 'master'  
						
						 
						
						... 
						
						
						
						cleanup: Unused default backgrounds
See merge request Librem5/squeekboard!179  
						
						
					 
					
						2019-09-26 20:58:49 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						26380ab987 
					 
					
						
						
							
							Merge branch 'style' into 'master'  
						
						 
						
						... 
						
						
						
						Style: Change classes to paths
See merge request Librem5/squeekboard!178  
						
						
					 
					
						2019-09-26 19:57:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e513cb9b54 
					 
					
						
						
							
							style: Use outline name as CSS class  
						
						 
						
						
						
						
					 
					
						2019-09-26 13:28:31 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6fd7ab7405 
					 
					
						
						
							
							rendering: Generalize outline rendering  
						
						 
						
						
						
						
					 
					
						2019-09-26 12:51:45 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						15833323ae 
					 
					
						
						
							
							styling: Use same context for the entire rendering of a button  
						
						 
						
						
						
						
					 
					
						2019-09-26 12:51:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						653462721b 
					 
					
						
						
							
							cleanup: Unused default backgrounds  
						
						 
						
						
						
						
					 
					
						2019-09-26 12:48:22 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2889e50507 
					 
					
						
						
							
							style: Simplified layout styling  
						
						 
						
						... 
						
						
						
						Layout background is styled in the same place as button background, and obtains the path "layout". 
						
						
					 
					
						2019-09-26 11:10:25 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6b15f69e00 
					 
					
						
						
							
							style: Use path instead of class for key  
						
						 
						
						
						
						
					 
					
						2019-09-26 11:08:38 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						231982d7f7 
					 
					
						
						
							
							Drop dead drawing procedures  
						
						 
						
						
						
						
					 
					
						2019-09-26 07:27:16 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						aa9523338f 
					 
					
						
						
							
							Merge branch 'buttonlists' into reparse  
						
						 
						
						
						
						
					 
					
						2019-09-09 15:11:59 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						26d1a6047c 
					 
					
						
						
							
							Merge branch 'fixes' into reparse  
						
						 
						
						
						
						
					 
					
						2019-09-04 10:18:53 +00:00