Make holdings scrollable
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 25 Dec 2016 16:20:30 +0000 (17:20 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Fri, 13 Jan 2017 15:39:25 +0000 (16:39 +0100)
commit1d2eec53fb91655d002d67fe54b5256f0a49719b
tree5a19a8bba0f5720a710c634d7d5a81d5734f7627
parentab773ff40f992d0462d500b429d4df863be9d288
Make holdings scrollable

When the hand size exceeds the number of board ranks R, the holdings will
either display either the first R-1 or last R-1 piece types. The remaining
square will then act as a toggle button between the two states. If there
is indeed material that is not displayed, the toggle square will display
a Prince of the opposite color. (The idea is that themes for games needing
this feature would define this piece as a vertical arrow glyph.)
backend.c
backend.h
board.c
frontend.h
moves.c
winboard/winboard.c