It is currently 22 Jan 2019, 17:25
   
Text Size

graphical selection from libraries, graveyards, etc.

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

graphical selection from libraries, graveyards, etc.

Postby pfps » 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.
Attachments
foo.jpg
screenshot of graphical library selection
pfps
 
Posts: 53
Joined: 09 Jan 2015, 14:34
Has thanked: 0 time
Been thanked: 7 times

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 5 guests

cron

Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 5 guests

Login Form