]> Kevux Git Server - rit/commit
gitk: use text labels for commit ID buttons
authorMark Levedahl <mlevedahl@gmail.com>
Sun, 21 Sep 2025 19:13:54 +0000 (15:13 -0400)
committerMark Levedahl <mlevedahl@gmail.com>
Tue, 30 Sep 2025 00:53:40 +0000 (20:53 -0400)
commit61c0cfe08ca56877a0537889f6d218c10f72d676
treee20b560d908b06b121f3f446569efebad69c4ce5
parent7754656a4c8fb5c04a7304b73348ce54e1c189fa
gitk: use text labels for commit ID buttons

gitk maintains a stack of commit ids visited, and allows navigating
these using a pair of buttons shown with arrows using bitmaps. An attempt
is made to recolor these bitmaps to handle different color schemes, but
this is unreliable across multiple themes as the required colors are not
universally known. Let's just use text labels for these buttons,
allowing the themes to recolor the text along with everything else. Use
utf code points for the text, presuming that these arrow glyphs are
available in the selected font.

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
gitk