UI Improvements, Round 2: Match UI
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
Re: UI Improvements, Round 2: Match UI
by Hellfish » 30 Nov 2011, 10:54
Found a slight problem, the "Always Accept/Decline" context menu does not work with the new stack. Performance-wise however, everything now feels up to the standard of the old UI (Or possibly even better, it's a little hard to tell) 
Also, the Burning Vengeance deck I was talking about is the one I posted here: viewtopic.php?f=48&t=5696
EDIT: Also a minor niggle; When I hover over a card and press Ctrl+D to view details, the view reverts to image as soon as the mouse is moved, even if I'm still over the same card. It would be a little more user friendly if it didn't revert until the next time you hovered over a card instead.
Also, the Burning Vengeance deck I was talking about is the one I posted here: viewtopic.php?f=48&t=5696
EDIT: Also a minor niggle; When I hover over a card and press Ctrl+D to view details, the view reverts to image as soon as the mouse is moved, even if I'm still over the same card. It would be a little more user friendly if it didn't revert until the next time you hovered over a card instead.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-

Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: UI Improvements, Round 2: Match UI
by Sloth » 30 Nov 2011, 11:58
I still favor having the details and the picture visible all the time.Hellfish wrote:EDIT: Also a minor niggle; When I hover over a card and press Ctrl+D to view details, the view reverts to image as soon as the mouse is moved, even if I'm still over the same card. It would be a little more user friendly if it didn't revert until the next time you hovered over a card instead.
EDIT: Little bugs
When I click on my own library I get the message "Decklist too long for dialog" (53 cards). The opponents Hand and the libraries are still available when the developer feature is disabled.
EDIT2:
When I start a game with the new GUI and after that a game with the old GUI, I get this crash:
- | Open
- forge.GuiDisplay cannot be cast to forge.view.match.ViewTopLevel
Version:
Forge version SVN
OS: Windows 7 Version: 6.1 Architecture: amd64
Java Version: 1.6.0_24 Vendor: Sun Microsystems Inc.
Detailed error trace:
java.lang.ClassCastException: forge.GuiDisplay cannot be cast to forge.view.match.ViewTopLevel
at forge.view.match.ViewField.updateDetails(ViewField.java:150)
at forge.control.match.ControlField$2.update(ControlField.java:129)
at java.util.Observable.notifyObservers(Unknown Source)
at java.util.Observable.notifyObservers(Unknown Source)
at forge.MyObservable.updateObservers(MyObservable.java:38)
at forge.GuiDisplay.addObservers(GuiDisplay.java:733)
at forge.GuiDisplay.<init>(GuiDisplay.java:165)
at forge.view.swing.OldGuiNewGame.startButtonActionPerformed(OldGuiNewGame.java:890)
at forge.view.swing.OldGuiNewGame$14.actionPerformed(OldGuiNewGame.java:635)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
-

Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: UI Improvements, Round 2: Match UI
by slapshot5 » 30 Nov 2011, 13:17
Yep. Looks good. 25%, eh? Must mean you're on a quad-core. Must be nice.Doublestrike wrote:slapshot5 wrote:Any progress on this?Sorted that. How 'bout now? r12333.Doublestrike wrote:I'll have a look into that excessive amount of repaints - that could be the problem right there.
-slapshot5
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: UI Improvements, Round 2: Match UI
by slapshot5 » 30 Nov 2011, 13:29
We need something better than a giant question mark for a player's avatar. I thought we had some kind of a "face in shadow" looking icon, but I don't see it in SVN anywhere. Perhaps moomarc can whip something up.
-slapshot5
-slapshot5
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: UI Improvements, Round 2: Match UI
by moomarc » 30 Nov 2011, 14:13
I'll try put something together this evening.slapshot5 wrote:We need something better than a giant question mark for a player's avatar. I thought we had some kind of a "face in shadow" looking icon, but I don't see it in SVN anywhere. Perhaps moomarc can whip something up.
-slapshot5
-Marc
-

moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: UI Improvements, Round 2: Match UI
by Rob Cashwalker » 30 Nov 2011, 15:08
Or we could just use moomarc's avatar itself......."face in shadow"
The Force will be with you, Always.
-

Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: UI Improvements, Round 2: Match UI
by moomarc » 30 Nov 2011, 16:23
Can't say I EVER thought I'd have my face in a gameRob Cashwalker wrote:Or we could just use moomarc's avatar itself......."face in shadow"
Here's one I just drew up and a slight variation on it.moomarc wrote:I'll try put something together this evening.slapshot5 wrote:We need something better than a giant question mark for a player's avatar. I thought we had some kind of a "face in shadow" looking icon, but I don't see it in SVN anywhere. Perhaps moomarc can whip something up.
-Marc
-

moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: UI Improvements, Round 2: Match UI
by Sloth » 30 Nov 2011, 17:41
I vote for the variation, because it doesn't look like Jace.moomarc wrote:Here's one I just drew up and a slight variation on it.
-

Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: UI Improvements, Round 2: Match UI
by moomarc » 30 Nov 2011, 19:51
Yip. I'd planned on the first having more colours with some red side lighting perhaps, but just didn't have the time to get that right. So I thought I'd just post those two variations for now seeing as I don't think I'll have any spare time for the next few weeks. Anyone with image editing skills can feel free to play with themSloth wrote:I vote for the variation, because it doesn't look like Jace.moomarc wrote:Here's one I just drew up and a slight variation on it.
-Marc
-

moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: UI Improvements, Round 2: Match UI
by Jaedayr » 30 Nov 2011, 22:44
I agree.Sloth wrote:I still favor having the details and the picture visible all the time.
The old UI checkbox does not take effect if you then go into quest mode.
Is the player avatar the same format etc. as the quest opponent avatars? If so, is it possible to copy/rename/replace the player file with the icon of your choice? And then, is that format easily created so players could even create their own player avatars?
Re: UI Improvements, Round 2: Match UI
by slapshot5 » 30 Nov 2011, 23:44
Yeah, I think it's the same. We should probably have a default image, then allow a user to put a custom image in a different directory. Ideally, we would probably have an "Import avatar pic" option so the user doesn't need to manually put anything in a directory. I was thinking about this this morning.Jaedayr wrote:Is the player avatar the same format etc. as the quest opponent avatars? If so, is it possible to copy/rename/replace the player file with the icon of your choice? And then, is that format easily created so players could even create their own player avatars?
-slapshot5
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: UI Improvements, Round 2: Match UI
by Doublestrike » 01 Dec 2011, 00:04
I'll be committing a new new UI incorporating this, and friarsol's suggestions, and resizable regions, in about 12 hours (assuming nothing goes wrong).sloth wrote:I still favor having the details and the picture visible all the time.
After that, I'll be attacking all the small requests generally starting from page 2 of this thread.
Re: avatar - looks good. We'll need one for the AI as well.
Last edited by Doublestrike on 01 Dec 2011, 00:12, edited 1 time in total.
---
A joke is a very serious thing.
A joke is a very serious thing.
-

Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: UI Improvements, Round 2: Match UI
by Doublestrike » 01 Dec 2011, 00:12
I think it would be good in the skin, so if you're playing the rebel skin, you play as Luke against Vader, or something. The look would change depending on the skin, which is the whole idea.We should probably have a default image, then allow a user to put a custom image in a different directory. Ideally, we would probably have an "Import avatar pic" option so the user doesn't need to manually put anything in a directory. I was thinking about this this morning.
EDIT
It shall be done.Jaedyr wrote:Is the player avatar the same format etc. as the quest opponent avatars? If so, is it possible to copy/rename/replace the player file with the icon of your choice? And then, is that format easily created so players could even create their own player avatars?
Last edited by Doublestrike on 01 Dec 2011, 04:43, edited 1 time in total.
---
A joke is a very serious thing.
A joke is a very serious thing.
-

Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: UI Improvements, Round 2: Match UI
by Doublestrike » 01 Dec 2011, 04:37
Fixed r12356.slowe wrote:If I start a match in quest mode, it uses the new GUI even if I have the old GUI checkbox selected.
Fixed r12357.Hellfish wrote:When I start a game with the new GUI and after that a game with the old GUI, I get this crash:
Cheers. Will get right on it.Hellfish wrote:Also, the Burning Vengeance deck I was talking about is the one I posted here
---
A joke is a very serious thing.
A joke is a very serious thing.
-

Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: UI Improvements, Round 2: Match UI
by slapshot5 » 01 Dec 2011, 07:13
Doublestrike, I'm not sure what all this is going to look like when you check it in, but I wanted to throw something out there at this point: Some of the View boxes (like the ViewInput) look like they hang off the edge of the screen. Maybe I'm the only one this bothers, maybe not. I've tweaked a few things to the point where I think it looks much cleaner. (Some of the gaps between boxes can still be adjusted for consistency, but this shows the general idea):Doublestrike wrote:I'll be committing a new new UI incorporating this, and friarsol's suggestions, and resizable regions, in about 12 hours (assuming nothing goes wrong).sloth wrote:I still favor having the details and the picture visible all the time.
-slapshot5
PS: I put the two avatars in locally. It looks pretty cool!
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Who is online
Users browsing this forum: No registered users and 15 guests