Merge pull request #3942 from myk002/myk_thin

add FRAME_THIN
develop
Myk 2023-11-01 18:29:14 -07:00 committed by GitHub
commit a2735125bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

@ -73,6 +73,7 @@ Template for new versions:
## Lua
- ``dfhack.gui.revealInDwarfmodeMap``: gained ``highlight`` parameter to control setting the tile highlight on the zoom target
- ``dfhack.maps.getWalkableGroup``: get the walkability group of a tile
- ``gui.FRAME_THIN``: a panel frame suitable for floating tooltips
## Removed

@ -4583,6 +4583,10 @@ There are the following predefined frame style tables:
A frame suitable for overlay widget panels.
* ``FRAME_THIN``
A frame suitable for floating tooltip panels that need the DFHack signature.
* ``FRAME_BOLD``
A frame suitable for a non-draggable panel meant to capture the user's focus,

@ -940,6 +940,9 @@ end
function FRAME_BOLD()
return make_frame(textures.tp_border_bold, true)
end
function FRAME_THIN()
return make_frame(textures.tp_border_thin, false)
end
function FRAME_INTERIOR()
local frame = make_frame(textures.tp_border_thin, false)
frame.signature_pen = false