Summary: Extend the current GUI/Widgeting system to support out of the box
sleek customizable Widgets which use EventListeners (for drawing and
updating) to separate code better. Making a more dynamic GUI system as
well as one much easier to code.
Goals and Specifics:
1. Easier coding - Putting chunks of code into event listeners helps in
organizing your code. Of course the old version of handling events in the
update method will still be there.
2. Themed Widgets - Creating buttons from scratch is difficult, so
providing a basic set of reusable buttons easily transformed would
streamline the dev process. Using modern buttons as a default, then having
a default Theme that would be easily editable by the developer. An example
constructor could be ThemedButton(String text, int x, int y, Color
buttonBaseColor). Pulpcore would automaticcaly convert the default button
image to the base color of the developer specifies using some handy image
processing techniques (http://www.jhlabs.com)
(http://www.javalobby.org/articles/ultimate-image/)
3. Clean Up - Specifically making a really sexy scroll bar for the
ScrollPane, automatically creating beveled borders for Group's of widgets,
and adding a basic Layout such as a LinearLayout.
Original issue reported on code.google.com by Josiah.H...@gmail.com on 8 Jun 2009 at 4:03
Original issue reported on code.google.com by
Josiah.H...@gmail.com
on 8 Jun 2009 at 4:03