Re: Aug 2011 GUI Overhaul
I have not had a chance to link about it but I like the idea with the list of cards that you can select with the picture and the card detail panel.
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=52&t=5204
I'd like my Jeweled Torque to remain un-kicked.nobody has really said whether we're going through with it. please see http://www.slightlymagic.net/forum/viewtopic.php?f=52&t=5204&start=15#p68526Doublestrike wrote:How do I assign myself to an issue on Mantis? I'd like to take a stab at http://cardforge.org/bugz/view.php?id=155 but I can't seem to find where to volunteer. (Access level? Still a 'reporter')
@Braids - I know this is your pet, hopefully you don't mind a little hand-holding since I'm still learning the ropes?I'd like my Jeweled Torque to remain un-kicked.
Alternatively, since there's a very real possibility of my taking more than 48 hours to finish this change, perhaps there's a way I could duplicate or complete the work for whoever takes on this task...
Definitely not. Code takes as much time as it takes. As long as it's clear that you are handling that portion of the code, noone else should be stepping on your toes.Braids wrote:i don't think you're under a 48 hour time limit.
Was thinking the same re: JComponent. Dispatcher threads noted. Even if the splash screen isn't used, it'll be a good place to have my first go. Will do my best, thanks for the tips.Braids wrote:i would hope it to be {extend?} a JComponent or such that fills up as much space horizontally as its container will allow. maybe it could have a getModel() method that returns another class that extends net.slightlymagic.braids.util.progress_monitor.BaseProgressMonitor, which is how external forces could increment the units processed.
mind your threads. only code running in an event dispatch thread is allowed to update the GUI. other code should run in a different thread if possible.
well, i should have rephrased that. the progress bar should take up the entire width granted by the container. it shouldn't demand more than it needs. its minimum width? i'll leave that an exercise to you.Doublestrike wrote:Was thinking the same re: JComponent. Dispatcher threads noted. Even if the splash screen isn't used, it'll be a good place to have my first go. Will do my best, thanks for the tips.
forge.view.util
|- ProgressBar_Base.java
|- ProgressBar_DialogsMultiple.java
|- ProgressBar_DialogsSingle.java
|- ProgressBar_Embedded.java
|- ProgressBar_Interface.java
|- ProgressBar_StdErr.java
I've commited a fix for it. Please check if it started working.friarsol wrote:I just played a few quest games and it seems like the Card Picture in the new Quest Won Card screen isn't displayed (but the CardDetailPanel is). Is this not completed yet? I have all the LQ Set pictures downloaded. I've been grabbing Legacy packs if that makes a difference.
Yep it worked, although you should probably be using the Card.getMostRecentSet() not Card.getRandomSet() since if you grab a Standard pack but it shows a Revised Plains it might look weird.Max mtg wrote:I've commited a fix for it. Please check if it started working.friarsol wrote:I just played a few quest games and it seems like the Card Picture in the new Quest Won Card screen isn't displayed (but the CardDetailPanel is). Is this not completed yet? I have all the LQ Set pictures downloaded. I've been grabbing Legacy packs if that makes a difference.
1. class names should not have underscores in them. both CheckStyle and PMD will complain about this.Doublestrike wrote:@Braids - the interfaces and base class for the progress bar are great tools for future GUI work. I'd like to put them in a forge.view.util package for all progress bars required in the project. Proposed structure:
- Code: Select all
forge.view.util
|- ProgressBar_Base.java
|- ProgressBar_DialogsMultiple.java
. . .
integrated? braids.util.progress_monitor? are you talking about moving the package's contents? i fail to see what you mean by {evolved/integrated}. i am concerned you are trying to change or move something that should be neither.Much of this comes from ...braids.util.progress_monitor which looks pretty much ready to be evolved/integrated.
I'm actually busy at a different area of forge.friarsol wrote:Yep it worked, although you should probably be using the Card.getMostRecentSet() not Card.getRandomSet() since if you grab a Standard pack but it shows a Revised Plains it might look weird.
Changed. Am getting into CheckStyle and PMD today.Braids wrote: 1. class names should not have underscores in them. both CheckStyle and PMD will complain about this.
Yes, it's the same code, with a less specific name. The BraidsProgressMonitor and BaseProgressMonitor are now ProgressBarInterface and ProgressBarBase (base class implements interface, extended as described below).Braids wrote:were you not able to reuse any code in net.slightlymagic.braids.progress_monitor
It looks like the interface and base progress bars could be used as utilities for the new GUI in various places - splash, download, update check, etc - under a naming structure consistent with the project. This is why I moved them into a "view.util" area to go with other GUI utilities that will come later.Braids wrote:i fail to see what you mean by {evolved/integrated}.
Renamed to forge.view.swing.utils.Braids wrote:if your class is specific to swing, it should now go somewhere in the forge.view.swing package hierarchy.