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 ArsenalNut » 07 Dec 2011, 05:21
I found what is causing the problem. I was using the "Nimbus" in Menu->Display Option from the New Game gui. I switched to "Windows" and I can read the text. I tested a few of the other display options but so far "Nimbus" is the only one that caused a problem.slapshot5 wrote:ArsenalNut - Did you customize WIndows' color scheme at all?Doublestrike wrote:Looks like you're running Windows? I tested on Win7 x32 and x64 but couldn't repro this problem. Does anyone else have this problem?ArsenalNut wrote:I am having issues with seeing text in the stack/combat area...
-slapshot5
Just in case it matters:
I am running Windows 7 Home Premium 64bit. I run at 1920 x 1080 screen resolution. I am using a modified version of the United States Aero theme that came with Win7. The only thing visually modified is the "Windows Color" which is set to slate.
Edit:
I tested all the themes choices in the Display Option menu.
Nimbus is the only one with the text background issue. However "Magma" and "Raven Graphite" caused a crash when I chose them.
So many cards, so little time
-

ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: UI Improvements, Round 2: Match UI
by Doublestrike » 07 Dec 2011, 06:57
This should be finalized in r12504. Resize adapters have been added to relevant Swing components, and the dock buttons now wrap neatly. Design tested down to 800 x 600 (previously set as the minimum JFrame size).Chris H. wrote:I am wondering if it is possible to have the text scale from about 9 point up to 14 point depending on the size of the screen size.
Min text size will be 11px, max is dependent on container size in most cases.
If there's a bug and someone's feeling adventurous, in the constructor for each area there's the resize adapter. Fonts are scaled by a single number, should be easy to find and fix.
---
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 » 07 Dec 2011, 08:55
Added in r12507 (but I've saved the pixel pushing for the experts).WompWomp wrote:Attached. They could use some work, but if they save you some time have at 'em.
This revision also drastically simplifies the skin process for users: buttons can now be added directly to the sprite.
For developers, the skin now features much better memory management and accessibility, with maps for icons, images, and colors, rather than setters and getters.
Also, an icon for the deck list shortcut has been added.
Next up: streamlining keyboard and dock shortcuts.
---
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 Sloth » 07 Dec 2011, 10:17
I vote for 2. Whenever one makes a fuss, out it goes.Doublestrike wrote:So, the three options, as I see them, are all pretty unattractive:
1) Remove all background and texture support
2) Remove all LAF support (or leave in poorly functioning LAF support)
3) Make unique background/texture packages for each LAF.
...and obviously decisions I should not be making alone, so....opinions? Solutions? Options?
-

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 Chris H. » 07 Dec 2011, 11:13
`Doublestrike wrote:2) Remove all LAF support (or leave in poorly functioning LAF support)
I also vote for number 2.
Once the new UI scheme is used in other areas of the project and we have a nice collection of themes it seems like most people would choose to use one of them anyway and the need to have the LAFs would pretty much disappear.
OH, and it might be nice to have a menu option at the New Game screen that would let us choose one of the themes in a fashion that is similar to how people select a LAF.
-

Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: UI Improvements, Round 2: Match UI
by Chris H. » 07 Dec 2011, 14:31
I am play testing the r12513 build. The card text and the player panel text are scaling nicely. Good job.
Is it possible to do something similar in the message and log panels? I minimized the battlefield window to 800 x 600 and the text displayed in the two panels on the left side are displaying large text. I like the scroll bar though.
`
Is it possible to do something similar in the message and log panels? I minimized the battlefield window to 800 x 600 and the text displayed in the two panels on the left side are displaying large text. I like the scroll bar though.
`
-

Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: UI Improvements, Round 2: Match UI
by Rob Cashwalker » 07 Dec 2011, 19:11
The new home screen was clashing with LAF as well.Doublestrike wrote:1) Remove all background and texture support
2) Remove all LAF support (or leave in poorly functioning LAF support)
3) Make unique background/texture packages for each LAF.
...and obviously decisions I should not be making alone, so....opinions? Solutions? Options?
Someone added LAF support early-on, in lieu of spending the effort to revamp the UI... easy eye-candy to dress it up a bit.
IMO, fully graphical game screens are more important than LAF support, NO CONTEST.
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 Doublestrike » 08 Dec 2011, 00:44
Wow, not a single pro-LAFfer in here. Message received!
=====
=====
Yep, that's the plan in Round 3, which is fast approaching. Round 3 will port the home screen into the MVC and "single JFrame" architecture.Chris H wrote:OH, and it might be nice to have a menu option at the New Game screen that would let us choose one of the themes in a fashion that is similar to how people select a LAF.
---
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 » 08 Dec 2011, 01:07
Oh, BTW, is there a reason the old HomeScreen is being used by default?
---
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 » 08 Dec 2011, 01:44
I was going to ask the same thing, but then I realized I like the old one better. It's so much simpler to use. I guess I should start using it so I can start proposing changes...Doublestrike wrote:Oh, BTW, is there a reason the old HomeScreen is being used by default?
In favor of the New by default...
-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 » 08 Dec 2011, 04:16
Just checked in the following changes:
GUI updates:
1) remove LAF stuff
2) add a Chooser for Skin from the GuiHomeScreen (not fully functional yet)
3) hook up the GuiHomeScreen to use the New GUI (currently no option to use the old GUI)
I'll be online for a couple hours yet to do fixes in case people run into problems.
-slapshot5
GUI updates:
1) remove LAF stuff
2) add a Chooser for Skin from the GuiHomeScreen (not fully functional yet)
3) hook up the GuiHomeScreen to use the New GUI (currently no option to use the old GUI)
I'll be online for a couple hours yet to do fixes in case people run into problems.
-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 » 08 Dec 2011, 04:28
Fixed r12519. Also, the annoying overlap into the scrollbar.Chris H. wrote:Is it possible to do something similar in the message and log panels?
I'm trying to fix the alignment on the player detail labels - on OS X it's off vertical center. Can someone tell me if it's OK now (probably isn't but had a go anyway).
---
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 Rob Cashwalker » 08 Dec 2011, 04:29
There were some outstanding issues with saving the deck types in the deck editor. The new Homescreen expected to fill the deck selections with based on the deck type metadata. I made some changes a couple weeks ago related to it, but I don't think I submitted my final fix.... (why it's a problem - it's been a LONG time since I've synced.. haven't actually played the new game UI yet.. I've been so busy lately) The reason this was a show-stopper, is because the draft and sealed decks weren't showing up in the lists immediately following the deck-building phase.
LAF interaction was another issue, as I said.
There may have been some preliminary work to make multiple quest data a reality. I had wanted to add that to the quest listing. Not critical to release, but probably could be done later.
The new homescreen would need to be gone over to add/remove options that have been changed, including removing the link to the LAF chooser.
Slapshot, any particular issue of complexity for the new homescreen?
LAF interaction was another issue, as I said.
There may have been some preliminary work to make multiple quest data a reality. I had wanted to add that to the quest listing. Not critical to release, but probably could be done later.
The new homescreen would need to be gone over to add/remove options that have been changed, including removing the link to the LAF chooser.
Slapshot, any particular issue of complexity for the new homescreen?
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 slapshot5 » 08 Dec 2011, 04:34
- 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 » 08 Dec 2011, 04:41
Two main issues:Rob Cashwalker wrote:Slapshot, any particular issue of complexity for the new homescreen?
1) way too many clicks to start a game. In the old home screen:
-click dropdown
-click deck
-click Start Game
new home screen:
-click human deck
-click deck name
-click Select Deck
-click Computer Deck
-click deck name
-click Select Deck
-click Start Game
2) Deck lists aren't alphabetical
-slapshot5
- 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 46 guests
