5268de8dd8 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into myk_classic  
							
							
							
						 
						
							2023-05-17 11:27:33 -07:00  
				
					
						
							
							
								 
						
							
							
								29ece9ce3f 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3381  from myk002/myk_substring_filter  
							
							... 
							
							
							
							make full text search configurable for list filters 
							
						 
						
							2023-05-17 11:26:45 -07:00  
				
					
						
							
							
								 
						
							
							
								899422aaf8 
								
									
								
							
								 
							
						 
						
							
							
								
								give widgets.TabBar default hotkeys  
							
							
							
						 
						
							2023-05-16 17:26:16 -07:00  
				
					
						
							
							
								 
						
							
							
								11361975f9 
								
									
								
							
								 
							
						 
						
							
							
								
								look up texpos values instead of assuming they're constant  
							
							
							
						 
						
							2023-05-16 17:14:36 -07:00  
				
					
						
							
							
								 
						
							
							
								217be6b58d 
								
									
								
							
								 
							
						 
						
							
							
								
								make full text search configurable for list filters  
							
							
							
						 
						
							2023-05-16 12:36:58 -07:00  
				
					
						
							
							
								 
						
							
							
								ef0c8950bd 
								
							
								 
							
						 
						
							
							
								
								renamed val_gap to option_gap, updated docs/changelog  
							
							
							
						 
						
							2023-05-02 16:46:46 +02:00  
				
					
						
							
							
								 
						
							
							
								f181b50a30 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into cyclehotkey2  
							
							
							
						 
						
							2023-05-02 08:22:10 +02:00  
				
					
						
							
							
								 
						
							
							
								3f51f24f91 
								
									
								
							
								 
							
						 
						
							
							
								
								fix errors when dragging a scrollbar and the mouse leaves the window  
							
							
							
						 
						
							2023-04-30 17:12:43 -07:00  
				
					
						
							
							
								 
						
							
							
								cfcb1cd937 
								
							
								 
							
						 
						
							
							
								
								make val_sep useful if label_below == true  
							
							
							
						 
						
							2023-04-30 10:18:15 +02:00  
				
					
						
							
							
								 
						
							
							
								48ffad2f71 
								
							
								 
							
						 
						
							
							
								
								added  and  attributes to  
							
							
							
						 
						
							2023-04-26 01:02:38 +02:00  
				
					
						
							
							
								 
						
							
							
								8371aa0b8b 
								
							
								 
							
						 
						
							
							
								
								renamed Slider to RangeSlider, and added draft of Lua API.rst entry  
							
							
							
						 
						
							2023-04-20 13:24:47 +02:00  
				
					
						
							
							
								 
						
							
							
								ae2bdfad5f 
								
							
								 
							
						 
						
							
							
								
								moved Slider class from filterselection.lua to widgets.lua  
							
							
							
						 
						
							2023-04-19 11:28:57 +02:00  
				
					
						
							
							
								 
						
							
							
								147b0ba84a 
								
									
								
							
								 
							
						 
						
							
							
								
								fix and extend Labels/CycleHotkeyLabels  
							
							
							
						 
						
							2023-03-28 23:36:49 -07:00  
				
					
						
							
							
								 
						
							
							
								63772fd808 
								
									
								
							
								 
							
						 
						
							
							
								
								ensure rclicks don't bleed through for dialogs  
							
							
							
						 
						
							2023-03-27 03:51:45 -07:00  
				
					
						
							
							
								 
						
							
							
								0ba4225d85 
								
									
								
							
								 
							
						 
						
							
							
								
								support showing a different tile on hover for Labels  
							
							
							
						 
						
							2023-03-25 15:19:24 -07:00  
				
					
						
							
							
								 
						
							
							
								a5d22705e8 
								
									
								
							
								 
							
						 
						
							
							
								
								add label_below attribute  
							
							
							
						 
						
							2023-02-27 04:13:05 -08:00  
				
					
						
							
							
								 
						
							
							
								656a26504a 
								
									
								
							
								 
							
						 
						
							
							
								
								make FilteredList searching case insensitive by default  
							
							
							
						 
						
							2023-02-26 09:47:15 -08:00  
				
					
						
							
							
								 
						
							
							
								fced215ac2 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into myk_no_disabled_click  
							
							
							
						 
						
							2023-02-26 09:24:32 -08:00  
				
					
						
							
							
								 
						
							
							
								1cacc526e3 
								
									
								
							
								 
							
						 
						
							
							
								
								allow token.tile to be a function  
							
							
							
						 
						
							2023-02-24 17:16:30 -08:00  
				
					
						
							
							
								 
						
							
							
								8b378735fa 
								
									
								
							
								 
							
						 
						
							
							
								
								don't fire HotkeyLabel if the label is disabled  
							
							
							
						 
						
							2023-02-24 17:13:45 -08:00  
				
					
						
							
							
								 
						
							
							
								3c24e67a9a 
								
							
								 
							
						 
						
							
							
								
								Address additional PR comments  
							
							... 
							
							
							
							on_activate is likely to happen first so we shouldn't need to check the
other. 
							
						 
						
							2023-02-22 17:22:04 -08:00  
				
					
						
							
							
								 
						
							
							
								697f15224c 
								
							
								 
							
						 
						
							
							
								
								Address PR comments, and remove BG fill  
							
							... 
							
							
							
							BG fill eats up a lot of cycles anyway, and there's not a real tangible
benefit in all cases, as it relies on the text label being sized
appropriately (width-wise) to the container, or would otherwise require
padding. 
							
						 
						
							2023-02-18 16:07:40 -08:00  
				
					
						
							
							
								 
						
							
							
								61227eeca1 
								
							
								 
							
						 
						
							
							
								
								Fix use of pens in render_text  
							
							... 
							
							
							
							If you ever pass in a number to `dc:pen` rather than a pen table, it
will assume the old pen's other attributes, such as `bg` and `bold`.
To workaround this, we just never pass in a number, and always call
`to_pen` aka `dfhack.pen.parse` first. 
							
						 
						
							2023-02-18 16:07:40 -08:00  
				
					
						
							
							
								 
						
							
							
								3e8d0f0f1e 
								
							
								 
							
						 
						
							
							
								
								Properly reverse BG/FG and apply per letter  
							
							... 
							
							
							
							This puts pen creation deeper into the loop in render_text.
Lists are current coloured completely wrong, though, and need
fixing (and probably anywhere else where disabled is set). 
							
						 
						
							2023-02-18 16:07:40 -08:00  
				
					
						
							
							
								 
						
							
							
								0897ca913a 
								
							
								 
							
						 
						
							
							
								
								Support mouse-hover on lists as well  
							
							
							
						 
						
							2023-02-18 16:07:40 -08:00  
				
					
						
							
							
								 
						
							
							
								0b48471607 
								
							
								 
							
						 
						
							
							
								
								Invert brightness of the background as well  
							
							... 
							
							
							
							This required some tinkering. 
							
						 
						
							2023-02-18 16:07:40 -08:00  
				
					
						
							
							
								 
						
							
							
								2d68b21547 
								
							
								 
							
						 
						
							
							
								
								Show mouse hover on HotkeyLabels  
							
							... 
							
							
							
							Labels show the hover colour when on_click is set, HotkeyLabels should
also do the same when they are clickable. 
							
						 
						
							2023-02-18 16:07:40 -08:00  
				
					
						
							
							
								 
						
							
							
								4167c2e652 
								
							
								 
							
						 
						
							
							
								
								Add key_back, rename switch_tab_key to key  
							
							
							
						 
						
							2023-02-16 02:56:52 -05:00  
				
					
						
							
							
								 
						
							
							
								5154eb181a 
								
							
								 
							
						 
						
							
							
								
								Add Tab/TabBar to widgets  
							
							
							
						 
						
							2023-02-16 02:51:09 -05:00  
				
					
						
							
							
								 
						
							
							
								7651f6a91e 
								
							
								 
							
						 
						
							
							
								
								Add edit_on_change to FilteredList  
							
							
							
						 
						
							2023-02-12 17:44:19 -05:00  
				
					
						
							
							
								 
						
							
							
								1787d2435c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into hotkeylabel-enhancements  
							
							
							
						 
						
							2023-02-08 12:37:16 -08:00  
				
					
						
							
							
								 
						
							
							
								201fec6873 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2837  from robob27/case-insensitive-filterlist  
							
							... 
							
							
							
							Add case_sensitive attr to FilteredList 
							
						 
						
							2023-02-08 11:18:31 -08:00  
				
					
						
							
							
								 
						
							
							
								b950b56926 
								
							
								 
							
						 
						
							
							
								
								Add methods to HotkeyLabel  
							
							
							
						 
						
							2023-02-08 13:00:13 -05:00  
				
					
						
							
							
								 
						
							
							
								54560bc5db 
								
							
								 
							
						 
						
							
							
								
								Don't duplicate regex  
							
							
							
						 
						
							2023-02-08 03:39:43 -05:00  
				
					
						
							
							
								 
						
							
							
								c1b9de87d2 
								
							
								 
							
						 
						
							
							
								
								Add case_sensitive attr to FilteredList  
							
							
							
						 
						
							2023-02-08 03:39:43 -05:00  
				
					
						
							
							
								 
						
							
							
								ef81a91181 
								
									
								
							
								 
							
						 
						
							
							
								
								only realign out-of-alignment list positions  
							
							
							
						 
						
							2023-02-07 14:12:52 -08:00  
				
					
						
							
							
								 
						
							
							
								c0358d642d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2833  from myk002/myk_list_recenter  
							
							... 
							
							
							
							ensure scrollable lists are centered in the visible viewport 
							
						 
						
							2023-02-06 12:57:43 -08:00  
				
					
						
							
							
								 
						
							
							
								0b9b258224 
								
									
								
							
								 
							
						 
						
							
							
								
								ensure scrollable lists are centered in the visible viewport  
							
							
							
						 
						
							2023-02-06 12:54:05 -08:00  
				
					
						
							
							
								 
						
							
							
								fdf1d38b23 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'cycle-hotkey-rev' of  https://github.com/johncosker/dfhack  into cycle-hotkey-rev  
							
							
							
						 
						
							2023-02-06 15:13:13 -05:00  
				
					
						
							
							
								 
						
							
							
								36391af27c 
								
							
								 
							
						 
						
							
							
								
								More cleanup  
							
							
							
						 
						
							2023-02-06 15:12:47 -05:00  
				
					
						
							
							
								 
						
							
							
								0769afc961 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into cycle-hotkey-rev  
							
							
							
						 
						
							2023-02-06 15:04:57 -05:00  
				
					
						
							
							
								 
						
							
							
								39dc0ccc8a 
								
							
								 
							
						 
						
							
							
								
								Cleanup  
							
							
							
						 
						
							2023-02-06 15:03:28 -05:00  
				
					
						
							
							
								 
						
							
							
								e1f74ab068 
								
							
								 
							
						 
						
							
							
								
								Tweak to completely nil the key_back table for setText if not set  
							
							
							
						 
						
							2023-02-06 14:53:26 -05:00  
				
					
						
							
							
								 
						
							
							
								99f84fa175 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2811  from TaxiService/patch-3  
							
							... 
							
							
							
							increase min scrollbar height to 2 (from 1) 
							
						 
						
							2023-02-06 08:10:08 -08:00  
				
					
						
							
							
								 
						
							
							
								d7d6c5aea6 
								
							
								 
							
						 
						
							
							
								
								Backwards options for cycle hotkey working  
							
							
							
						 
						
							2023-02-06 08:55:46 -05:00  
				
					
						
							
							
								 
						
							
							
								86b57380a6 
								
							
								 
							
						 
						
							
							
								
								fixup unnecessary changes, remove unnecessary stuff  
							
							
							
						 
						
							2023-02-05 19:04:21 -05:00  
				
					
						
							
							
								 
						
							
							
								a770a4cae4 
								
							
								 
							
						 
						
							
							
								
								WIP  
							
							
							
						 
						
							2023-02-05 19:04:21 -05:00  
				
					
						
							
							
								 
						
							
							
								b6196e91e4 
								
									
								
							
								 
							
						 
						
							
							
								
								increase min scrollbar height to 2 (from 1)  
							
							... 
							
							
							
							rationale:
- vanilla scrollbars dont get shorter than 2.
- 2-tall 'bars are easier to click on than 1-tall 'bars.
- this avoids having to make short custom graphics for 1-tall tiles, which most of the time look terrible...
cons:
- short scrollbars are cool : ( 
							
						 
						
							2023-02-05 19:00:38 +01:00  
				
					
						
							
							
								 
						
							
							
								30a1f2f924 
								
									
								
							
								 
							
						 
						
							
							
								
								de-hardcoding scrollbar spritesheet definitions  
							
							... 
							
							
							
							added a new variable "SBSO", and redefined all scrollbar tile definitions as this variable + an offset.
this could make it easier to switch scrollbar graphics from within the game, if necessary. 
							
						 
						
							2023-02-05 18:56:51 +01:00  
				
					
						
							
							
								 
						
							
							
								de04cf04e0 
								
									
								
							
								 
							
						 
						
							
							
								
								wrong scrollbar sprites mapping fix (issue  #2777 )  
							
							... 
							
							
							
							i've taken a crack at it, and this seems to fix this "issue" i filed here: https://github.com/DFHack/dfhack/issues/2777 
https://i.imgur.com/aFnq80M.mp4  
							
						 
						
							2023-02-04 15:18:26 +01:00