From: SourceForge.net <no...@so...> - 2007-09-19 12:55:31
|
Patches item #1797780, was opened at 2007-09-19 13:09 Message generated for change (Comment added) made by nilojg You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300588&aid=1797780&group_id=588 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: general Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nilo J. Gonzalez (nilojg) Assigned to: Nobody/Anonymous (nobody) Summary: New splashscreen with transparency and blur Initial Comment: I've done a new org.gjt.sp.jedit.gui.SplashScreen.java class. The old class paints an opaque png and the user sees a rectangular image. The new class paints a png with transparency, so the user sees an image with any shape. And the new class blurs the background too. The patch has a class (org.gjt.sp.jedit.gui.SplashScreen.java) and four images (the splashscreen, a mask to define the blured zone, the progressbar background and the progressbar foreground). How does it works? - The class loads the images - The class takes an screen capture with the width and height of the splash.png image. - Blurs the captured image area which is black in the splashMask.png. - Paints the blured captured image. - Paints the splash.png image. - Paints the splashProgressBackgroud.png - Paints the portion of the splashProgressForegroud.png If splash.png has transparent parts, user will see the background, and if that transparent parts are painted in the mask, the user will see that parts transparents and blured. I send four images for testing, but I'm sure a photoshop guru can do it better! PD: Sorry for my english... ---------------------------------------------------------------------- >Comment By: Nilo J. Gonzalez (nilojg) Date: 2007-09-19 14:55 Message: Logged In: YES user_id=1377186 Originator: YES Images are in the org\gjt\sp\jedit\icons directory and the classes are in their places. When will I commit the changes to SVN? Which is the procedure? ---------------------------------------------------------------------- Comment By: Matthieu Casanova (kpouer) Date: 2007-09-19 14:44 Message: Logged In: YES user_id=285591 Originator: NO Oh and I just saw a big problem : it doesn't work with java 1.5 ... ---------------------------------------------------------------------- Comment By: Matthieu Casanova (kpouer) Date: 2007-09-19 14:41 Message: Logged In: YES user_id=285591 Originator: NO Hi, only the project admins are allowed to commit in the core. I tried your patch, it seems nice to me but I think the other developpers should agree before applying this patch. And there is a little problem with your code : you reformatted all the Splashscreen code, but it would be easier if you could keep things at the same place, for example not moving the fields on the top of the class. And please respect the coding rules about braces, and using tabs instead of spaces Matthieu ---------------------------------------------------------------------- Comment By: Nilo J. Gonzalez (nilojg) Date: 2007-09-19 13:15 Message: Logged In: YES user_id=1377186 Originator: YES Images are in the org\gjt\sp\jedit\icons directory and the classes are in their places. When will I commit the changes to SVN? Which is the procedure? ---------------------------------------------------------------------- Comment By: Nilo J. Gonzalez (nilojg) Date: 2007-09-19 13:13 Message: Logged In: YES user_id=1377186 Originator: YES File Added: splashProgressForegroud.png ---------------------------------------------------------------------- Comment By: Nilo J. Gonzalez (nilojg) Date: 2007-09-19 13:12 Message: Logged In: YES user_id=1377186 Originator: YES File Added: splashProgressBackgroud.png ---------------------------------------------------------------------- Comment By: Nilo J. Gonzalez (nilojg) Date: 2007-09-19 13:12 Message: Logged In: YES user_id=1377186 Originator: YES File Added: splashMask.png ---------------------------------------------------------------------- Comment By: Nilo J. Gonzalez (nilojg) Date: 2007-09-19 13:11 Message: Logged In: YES user_id=1377186 Originator: YES File Added: splash.png ---------------------------------------------------------------------- Comment By: Nilo J. Gonzalez (nilojg) Date: 2007-09-19 13:11 Message: Logged In: YES user_id=1377186 Originator: YES File Added: GUIUtilities.java ---------------------------------------------------------------------- Comment By: Nilo J. Gonzalez (nilojg) Date: 2007-09-19 13:10 Message: Logged In: YES user_id=1377186 Originator: YES File Added: SplashScreen.java ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300588&aid=1797780&group_id=588 |