Commit Graph

1760 Commits (e649255c8eff684fc49e9cd4ef6336efb3c256ba)

Author SHA1 Message Date
Myk Taylor 2da3510ade
add stonesense to the build (if configured); docs
the `overlay` command option has been removed
2023-01-09 14:59:38 -08:00
Myk Taylor 72d5760ff6
add CycleHotkeyLabel:setOption() 2023-01-07 01:00:40 -08:00
Myk fe9d1e186e
Merge pull request #2562 from myk002/myk_greenify
allow color options for CycleHotkeyLabel
2023-01-06 19:10:39 -08:00
Myk Taylor 810430f1a2
make windows lockable (can ignore r-click and esc) 2023-01-06 18:48:53 -08:00
Myk Taylor 1f5ae4165f
return self from raise, update docs 2023-01-06 15:43:08 -08:00
Myk Taylor 96f19621c9
update changelog 2023-01-06 15:43:06 -08:00
Myk Taylor fbf895fe0c
document ZScreen (and view:getMouseFramePos()) 2023-01-06 15:42:41 -08:00
Myk Taylor e111a73763
allow color options for CycleHotkeyLabel
and use the option to render `On` in green for ToggleHotkeyLabel
2023-01-06 15:42:27 -08:00
Myk Taylor 1a8f60c03b
implement remaining review comments from #2517 2023-01-06 15:31:50 -08:00
Myk Taylor 91df585bf8
Merge branch 'develop' into myk_docs 2023-01-06 15:22:03 -08:00
Myk 8264415720
Update docs/dev/building/Compile.rst 2023-01-06 15:11:10 -08:00
Myk Taylor 6f46ae672e
add Gui::getDFViewscreen and Lua binding 2023-01-06 12:17:36 -08:00
Amber Brown 79206c92a7 modern windows terminal + powershell is, (un?)fortunately superior to cygwin's, so cut this for simplification 2023-01-06 21:26:57 +11:00
Amber Brown d7495bfdf8 update the install documentation to mention VS2022 properly 2023-01-06 21:26:57 +11:00
Myk b62cfa3699
Merge pull request #2552 from myk002/myk_mouse
Get correct mouse button down behavior in Lua without overwriting enabler fields
2023-01-04 19:39:43 -08:00
Myk 78be3a6463
Merge pull request #2548 from myk002/myk_logo
Display DFHack logo for the hotkeys overlay widget
2023-01-04 19:06:05 -08:00
Myk Taylor 5d04b9c4cb
add Textures module and load DFHack logo
undocumented for now since it's internal. in the future, perhaps this
could morph into a dynamic texture loading facility for tools
2023-01-04 13:30:18 -08:00
Myk Taylor cbcb8b5f88
fix up overlay config and pathable docs 2023-01-04 13:27:03 -08:00
Myk Taylor 021b24fa65
update docs 2023-01-03 14:56:49 -08:00
Myk Taylor b766b72784
update docs for widgets.EditField 2023-01-03 13:06:57 -08:00
Myk f72b3524ae
Merge pull request #2545 from myk002/myk_autobutcher
update autobutcher to work with v50
2023-01-02 20:43:21 -08:00
Myk 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
Myk 9da6bff011
Merge pull request #2540 from myk002/myk_overlay
Make OverlayWidget inherit from Panel and allow overlays to be perma-enabled
2023-01-02 20:41:53 -08:00
Myk Taylor ab5c7708d8
update docs 2023-01-01 16:35:39 -08:00
Myk Taylor 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
Myk Taylor 481bbb9df4
update changelog 2022-12-31 21:04:19 -08:00
Myk Taylor c401154393
widgets inherit from Panel and can be perma-enabled 2022-12-31 21:02:00 -08:00
Myk Taylor 5232e2b04e
add dfhack-config/scripts to default script paths 2022-12-30 23:30:11 -08:00
Myk 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
Myk 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
Myk Taylor cb6b595aff
update changelog 2022-12-30 22:35:08 -08:00
Myk Taylor 04f2d555c6
implement context-aware mouse wheel scrolling 2022-12-30 22:35:08 -08:00
Myk Taylor 38b525bdb5
adapt lua library widgets to new keyboard keybindings 2022-12-30 22:35:08 -08:00
Myk Taylor dd0cc087d5
Revert "consolidate full refresh logic in widgets.Panel"
This reverts commit 33787473f0.

I've already found another use case where we need a more general
implementation -- modal dialogs that inherit from FramedScreen that
appear and disappear
2022-12-30 22:13:53 -08:00
Myk Taylor 33787473f0
consolidate full refresh logic in widgets.Panel 2022-12-30 20:44:15 -08:00
Myk Taylor 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
Myk Taylor 4c2842a854
update docs 2022-12-30 05:33:17 -08:00
Myk Taylor d7b67e9528
remove cached USE_GRAPHICS from gui.lua
it's no longer constant
2022-12-28 16:27:44 -08:00
Myk Taylor fc523f12fe
expose and document dfhack.screen.getMousePixels() 2022-12-28 16:05:27 -08:00
Josh Cooper 7433cb463d more stuff 2022-12-23 17:58:30 -04:00
Josh Cooper 1993291a87 stuff 2022-12-23 17:58:30 -04:00
Josh Cooper 994cb30f4d
Update docs/dev/building/Compile.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:07:12 -08:00
Josh Cooper e57ef4315d
Update docs/dev/building/Compile.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:07:01 -08:00
Josh Cooper 6baac10262
Update docs/dev/building/Compile.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:06:48 -08:00
Josh Cooper 3fb249bc2a
Update docs/dev/building/Options.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:06:32 -08:00
Josh Cooper 430917ce5d
Update docs/dev/building/Options.rst
Co-authored-by: Myk <myk002@yahoo.com>
2022-12-23 12:06:15 -08:00
Josh Cooper 98badfbd72 possibly the last expected changes 2022-12-23 15:22:24 -04:00
Josh Cooper 77b6dd2f7a Updates minor things 2022-12-23 12:58:43 -04:00
Josh Cooper 66f8a0207c Updates dependency doc 2022-12-23 01:05:31 -04:00
Josh Cooper a9467f76ef Fixing links, mostly 2022-12-23 00:43:10 -04:00