It is currently 12 Nov 2019, 18:49
   
Text Size

Unify confirm GUI

Post MTG Forge Related Programming Questions Here

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

Unify confirm GUI

Postby pfps » 20 Jan 2017, 20:25

Right now there are two ways of getting user confirmation in the desktop GUI. Some confirmations use a pop-up window. Some confirmations use the prompt pane.

I don't see any reason to keep both methods. If I don't hear any reason to keep both, I'll start moving confirmations over to one method. As I don't like pop-ups, that will be via the input pane.
pfps
 
Posts: 53
Joined: 09 Jan 2015, 14:34
Has thanked: 0 time
Been thanked: 7 times

Re: Unify confirm GUI

Postby friarsol » 20 Jan 2017, 20:43

That's mostly how they got to this state to begin with. Lots of them were pop-ups, and a bunch of the easier ones were converted.
friarsol
Global Moderator
 
Posts: 7476
Joined: 15 May 2010, 04:20
Has thanked: 241 times
Been thanked: 936 times

Re: Unify confirm GUI

Postby pfps » 20 Jan 2017, 20:46

OK. I think that there is infrastructure to easily move most of them over so I'll give it a try.
pfps
 
Posts: 53
Joined: 09 Jan 2015, 14:34
Has thanked: 0 time
Been thanked: 7 times

Re: Unify confirm GUI

Postby pfps » 21 Jan 2017, 16:33

It wasn't as easy as I thought, as sometimes there is a card to show but no spellability so the prompt pane had to be changed to work with a cardview.
I did move several over.

One that might not be possible to move over is the prompt inside the mulligan confirmation.
pfps
 
Posts: 53
Joined: 09 Jan 2015, 14:34
Has thanked: 0 time
Been thanked: 7 times

Re: Unify confirm GUI

Postby pfps » 25 Jan 2017, 02:19

In the desktop interface almost all confirmations use the prompt area. The mobile interface doesn't yet.
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


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 427 on 11 Nov 2019, 13:00

Users browsing this forum: No registered users and 5 guests

Login Form