Skip to content

gui_toolkit 0.342.0

Choose a tag to compare

@sachahjkl sachahjkl released this 21 Nov 18:48
· 406 commits to master since this release
v0.342.0
56c6f3c

Added

  • ui.ink_for(row, fg) and custom-drawn .Chosen rows:
    • ui.ink_for(row, fg) exposes the toolkit's selection-ink mapping (title ink, weak/faint/soft ink, or custom
      colour pushed to 4.5:1 contrast, returning fg unchanged when row == nil or not chosen) for programs that pass an
      explicit fg inside a selected row.
    • Custom-drawn .Chosen rows (without .Draw_Background) now use their target_bg selection fill as the ground when
      computing inks, fixing dark ink on Old Head's navy selection.