graphical selection from libraries, graveyards, etc.
Posted: 05 Jan 2019, 21:50
Right now, selection of cards from most Zones (in particular selection from
the player's library) is done using text selection boxes. It would be
better to permit selection from a visual depiction of the Zone itself.
Most of the code is already present for this, at least in the desktop GUI,
as cards in FloatingCardAreas are selectable. The changes needed are to
track the selected status of cards, to make the cards visible as necessary,
to show all cards in the area if appropriate, and to control the visibility
of the areas themselves.
I have already done the first two parts using interface components that
should work for all GUIs. I also added the last part, but for the desktop GUI only.
I have attached a screenshot.
the player's library) is done using text selection boxes. It would be
better to permit selection from a visual depiction of the Zone itself.
Most of the code is already present for this, at least in the desktop GUI,
as cards in FloatingCardAreas are selectable. The changes needed are to
track the selected status of cards, to make the cards visible as necessary,
to show all cards in the area if appropriate, and to control the visibility
of the areas themselves.
I have already done the first two parts using interface components that
should work for all GUIs. I also added the last part, but for the desktop GUI only.
I have attached a screenshot.