35ce361b09 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2542  from myk002/myk_dwarfmode_dims  
							
							... 
							
							
							
							clear out obsolete area map and menu logic from the Gui module 
							
						 
						
							2023-01-02 20:42:30 -08:00  
				
					
						
							
							
								 
						
							
							
								da63d6294b 
								
									
								
							
								 
							
						 
						
							
							
								
								ensure the scrollbar midpoint is always rendered  
							
							... 
							
							
							
							this mimics the vanilla scrollbar behavior (and looks better) 
							
						 
						
							2023-01-01 17:55:06 -08:00  
				
					
						
							
							
								 
						
							
							
								7d5d2d0a9b 
								
									
								
							
								 
							
						 
						
							
							
								
								clear out obsolete area map and menu logic  
							
							... 
							
							
							
							in particular, return the correct map dimensions in getDwarfmodeDims() 
							
						 
						
							2022-12-31 22:49:30 -08:00  
				
					
						
							
							
								 
						
							
							
								bf995a0968 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2533  from myk002/myk_lua_input  
							
							... 
							
							
							
							adjust Lua widgets to new input scheme 
							
						 
						
							2022-12-30 22:37:12 -08:00  
				
					
						
							
							
								 
						
							
							
								a7dd14d699 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2535  from myk002/myk_smart_refresh  
							
							... 
							
							
							
							only do a full refresh when needed 
							
						 
						
							2022-12-30 22:36:42 -08:00  
				
					
						
							
							
								 
						
							
							
								cf65f48aa0 
								
									
								
							
								 
							
						 
						
							
							
								
								don't use defunct MENU_CONFIRM keybinding  
							
							
							
						 
						
							2022-12-30 22:35:08 -08:00  
				
					
						
							
							
								 
						
							
							
								21f137644f 
								
									
								
							
								 
							
						 
						
							
							
								
								remove trailing whitespace  
							
							
							
						 
						
							2022-12-30 22:35:08 -08:00  
				
					
						
							
							
								 
						
							
							
								3a76fc086f 
								
									
								
							
								 
							
						 
						
							
							
								
								fix keyboard movement of Panel widgets  
							
							
							
						 
						
							2022-12-30 22:35:08 -08:00  
				
					
						
							
							
								 
						
							
							
								6871bc20c4 
								
									
								
							
								 
							
						 
						
							
							
								
								use new KEYBOARD interface keys in move delta  
							
							
							
						 
						
							2022-12-30 22:35:08 -08:00  
				
					
						
							
							
								 
						
							
							
								04f2d555c6 
								
									
								
							
								 
							
						 
						
							
							
								
								implement context-aware mouse wheel scrolling  
							
							
							
						 
						
							2022-12-30 22:35:08 -08:00  
				
					
						
							
							
								 
						
							
							
								38b525bdb5 
								
									
								
							
								 
							
						 
						
							
							
								
								adapt lua library widgets to new keyboard keybindings  
							
							
							
						 
						
							2022-12-30 22:35:08 -08:00  
				
					
						
							
							
								 
						
							
							
								1d7a7c8a49 
								
									
								
							
								 
							
						 
						
							
							
								
								Don't leave artifats behind when dimissing mboxes  
							
							
							
						 
						
							2022-12-30 22:20:50 -08:00  
				
					
						
							
							
								 
						
							
							
								dd0cc087d5 
								
									
								
							
								 
							
						 
						
							
							
								
								Revert "consolidate full refresh logic in widgets.Panel"  
							
							... 
							
							
							
							This reverts commit 33787473f0 
							
						 
						
							2022-12-30 22:13:53 -08:00  
				
					
						
							
							
								 
						
							
							
								33787473f0 
								
									
								
							
								 
							
						 
						
							
							
								
								consolidate full refresh logic in widgets.Panel  
							
							
							
						 
						
							2022-12-30 20:44:15 -08:00  
				
					
						
							
							
								 
						
							
							
								88dcdfd158 
								
									
								
							
								 
							
						 
						
							
							
								
								move trigger code from Window to Panel  
							
							... 
							
							
							
							where the drag/resize code actually is. Panels can be dragged around the
parent screen without them being a Window 
							
						 
						
							2022-12-30 20:01:09 -08:00  
				
					
						
							
							
								 
						
							
							
								70a0f4a718 
								
									
								
							
								 
							
						 
						
							
							
								
								only do a full refresh when needed  
							
							... 
							
							
							
							this significantly reduces CPU utilization when DFHack-owned screens are
visible. 
							
						 
						
							2022-12-30 17:06:41 -08:00  
				
					
						
							
							
								 
						
							
							
								3aac79fe4f 
								
									
								
							
								 
							
						 
						
							
							
								
								skin our scrollbars to look and hover like DF's  
							
							
							
						 
						
							2022-12-30 05:33:17 -08:00  
				
					
						
							
							
								 
						
							
							
								cff603e243 
								
									
								
							
								 
							
						 
						
							
							
								
								allow Labels to write tile textures  
							
							
							
						 
						
							2022-12-28 23:16:13 -08:00  
				
					
						
							
							
								 
						
							
							
								d7b67e9528 
								
									
								
							
								 
							
						 
						
							
							
								
								remove cached USE_GRAPHICS from gui.lua  
							
							... 
							
							
							
							it's no longer constant 
							
						 
						
							2022-12-28 16:27:44 -08:00  
				
					
						
							
							
								 
						
							
							
								99ffe769fa 
								
									
								
							
								 
							
						 
						
							
							
								
								rendering the parent now involves a full refresh  
							
							... 
							
							
							
							in order to get the background 
							
						 
						
							2022-12-27 15:23:34 -08:00  
				
					
						
							
							
								 
						
							
							
								033eb2aefd 
								
									
								
							
								 
							
						 
						
							
							
								
								use default background colors  
							
							... 
							
							
							
							and ensure texpos_lower doesn't peek through 
							
						 
						
							2022-12-27 15:05:13 -08:00  
				
					
						
							
							
								 
						
							
							
								75afa88790 
								
									
								
							
								 
							
						 
						
							
							
								
								use tiles for our default frame  
							
							
							
						 
						
							2022-12-27 14:40:35 -08:00  
				
					
						
							
							
								 
						
							
							
								6a61c750e9 
								
									
								
							
								 
							
						 
						
							
							
								
								widgets.render_text(): error early if key is invalid  
							
							... 
							
							
							
							This helps identify _which_ key is invalid - otherwise, getKeyDisplay()
complains that it was called with `nil`, which is less helpful. 
							
						 
						
							2022-12-23 13:17:26 -05:00  
				
					
						
							
							
								 
						
							
							
								663e1dd541 
								
									
								
							
								 
							
						 
						
							
							
								
								ascii is now in color  
							
							
							
						 
						
							2022-12-20 16:33:11 -08:00  
				
					
						
							
							
								 
						
							
							
								42203b13f4 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2500  from myk002/myk_panel_drag  
							
							... 
							
							
							
							Support resizing for DFHack Panel widgets 
							
						 
						
							2022-12-15 14:36:33 -08:00  
				
					
						
							
							
								 
						
							
							
								06346c6269 
								
									
								
							
								 
							
						 
						
							
							
								
								implement double clicking on the title to maximize  
							
							... 
							
							
							
							also double click on a maximized window to jump to the minimum size
the location of the window isn't guaranteed to be the same after
maximizing and un-maximizing, but we could implement that if there is
call for it. 
							
						 
						
							2022-12-14 19:03:38 -08:00  
				
					
						
							
							
								 
						
							
							
								434e9322cc 
								
									
								
							
								 
							
						 
						
							
							
								
								fix error in error message formatting  
							
							
							
						 
						
							2022-12-14 17:51:07 -08:00  
				
					
						
							
							
								 
						
							
							
								4c6daf30d9 
								
									
								
							
								 
							
						 
						
							
							
								
								add widgets.Window and fix paint_frame offset  
							
							
							
						 
						
							2022-12-14 12:04:29 -08:00  
				
					
						
							
							
								 
						
							
							
								12e62c7f9d 
								
									
								
							
								 
							
						 
						
							
							
								
								highlight anchor point when resizing with keyboard  
							
							
							
						 
						
							2022-12-14 10:34:06 -08:00  
				
					
						
							
							
								 
						
							
							
								c030704705 
								
									
								
							
								 
							
						 
						
							
							
								
								implement panel resizing  
							
							
							
						 
						
							2022-12-14 10:34:04 -08:00  
				
					
						
							
							
								 
						
							
							
								99b599e9ab 
								
									
								
							
								 
							
						 
						
							
							
								
								add docs for panel dragging  
							
							
							
						 
						
							2022-12-13 13:01:49 -08:00  
				
					
						
							
							
								 
						
							
							
								3f43f72731 
								
									
								
							
								 
							
						 
						
							
							
								
								fix the math  
							
							
							
						 
						
							2022-12-13 12:39:17 -08:00  
				
					
						
							
							
								 
						
							
							
								38a3bec953 
								
									
								
							
								 
							
						 
						
							
							
								
								dragging logic  
							
							
							
						 
						
							2022-12-12 18:07:05 -08:00  
				
					
						
							
							
								 
						
							
							
								ffd646462a 
								
									
								
							
								 
							
						 
						
							
							
								
								ensure `enable` doesn't miss newly-added scripts  
							
							... 
							
							
							
							and add some more documentation 
							
						 
						
							2022-12-10 22:13:38 -08:00  
				
					
						
							
							
								 
						
							
							
								e88b1fdfe5 
								
									
								
							
								 
							
						 
						
							
							
								
								move script-manager into core  
							
							
							
						 
						
							2022-12-10 21:59:51 -08:00  
				
					
						
							
							
								 
						
							
							
								2b87307e11 
								
									
								
							
								 
							
						 
						
							
							
								
								allow visible and active to be dynamic properties  
							
							
							
						 
						
							2022-12-04 15:46:19 -08:00  
				
					
						
							
							
								 
						
							
							
								aac89d4942 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into myk_default_search_key  
							
							
							
						 
						
							2022-11-29 15:07:12 -08:00  
				
					
						
							
							
								 
						
							
							
								5b311163a9 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2431  from myk002/myk_widget_fixes  
							
							... 
							
							
							
							fix minor errors in ResizablePanel, Label, and HotkeyLabel widgets 
							
						 
						
							2022-11-29 15:06:15 -08:00  
				
					
						
							
							
								 
						
							
							
								726771c8d3 
								
									
								
							
								 
							
						 
						
							
							
								
								supply default search key for tokenized text  
							
							
							
						 
						
							2022-11-28 16:02:47 -08:00  
				
					
						
							
							
								 
						
							
							
								adb9c5ea12 
								
									
								
							
								 
							
						 
						
							
							
								
								fix frame size calculation when frame_inset is set  
							
							... 
							
							
							
							also fix error when clicking on HotkeyLabels where no on_activate
callback has been set 
							
						 
						
							2022-11-28 15:12:22 -08:00  
				
					
						
							
							
								 
						
							
							
								fb6483fe6c 
								
									
								
							
								 
							
						 
						
							
							
								
								allow frames to be drawn without DFHack signature  
							
							
							
						 
						
							2022-11-28 15:04:28 -08:00  
				
					
						
							
							
								 
						
							
							
								c9cf5ecca8 
								
									
								
							
								 
							
						 
						
							
							
								
								we kept editfield as MOUSE_L for click and drag  
							
							
							
						 
						
							2022-11-21 17:51:24 -08:00  
				
					
						
							
							
								 
						
							
							
								24dc879888 
								
									
								
							
								 
							
						 
						
							
							
								
								adapt library code to newly correct mouse events  
							
							
							
						 
						
							2022-11-21 17:36:46 -08:00  
				
					
						
							
							
								 
						
							
							
								5b1ebdf72a 
								
									
								
							
								 
							
						 
						
							
							
								
								don't return list idx when mouse is on scrollbar  
							
							
							
						 
						
							2022-11-11 10:40:10 -08:00  
				
					
						
							
							
								 
						
							
							
								ccd43f1710 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2381  from myk002/myk_framed_panel  
							
							... 
							
							
							
							[widgets.Panel] support frames around panel widgets 
							
						 
						
							2022-11-09 10:32:23 -08:00  
				
					
						
							
							
								 
						
							
							
								9fed02435e 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2378  from myk002/myk_list_mouse  
							
							... 
							
							
							
							Allow widgets.List to report hover target and respond to shift-click 
							
						 
						
							2022-11-09 10:32:06 -08:00  
				
					
						
							
							
								 
						
							
							
								32dc80729a 
								
									
								
							
								 
							
						 
						
							
							
								
								support drawing frames around panels  
							
							
							
						 
						
							2022-11-07 16:50:21 -08:00  
				
					
						
							
							
								 
						
							
							
								83f560a6f4 
								
									
								
							
								 
							
						 
						
							
							
								
								allow shift-click to trigger submit2 for List  
							
							
							
						 
						
							2022-11-07 16:14:16 -08:00  
				
					
						
							
							
								 
						
							
							
								1b7b75d8ab 
								
									
								
							
								 
							
						 
						
							
							
								
								factor out detection of the list index under mouse  
							
							
							
						 
						
							2022-11-07 16:13:45 -08:00  
				
					
						
							
							
								 
						
							
							
								28aadea6af 
								
									
								
							
								 
							
						 
						
							
							
								
								allow an alternate ViewRect for getMousePos  
							
							
							
						 
						
							2022-11-07 15:54:56 -08:00