Thomi Richards
2006-08-23 21:54:53 UTC
Hi guys,
What are the main differences going to be between 0.8 and 0.9? For those of
us trying to work out how we should structure our applications this
information would be very useful.
Personally, the two biggest changes I'd like to see are:
* An improved resource system - one that allows developers to create custom
resources that contain many different ClanLib resources. At the moment the
custom resource system is very weak - it only allows you to create resources
with all new components. If you want t include a CL_Sprite as part of your
new resource, you're out of luck. (unless I'm missing something big here, in
which case I'd appreciate a heads-up).
* An improved GUI system, whereby each GUI component has a CL_Surface to
draw to, and the layout of those surfaces is andled by the GUI manager. I've
done a lot of wxWidgets development work, and one of the standout features
in that library is the system in place to allow developers to subclass
existing controls and change their appearance and / or behaivour. For
example, If i wanted to make a CL_Window with some background images, I
could subclass CL_Window, and draw images to it's builtin surface. Drawing
at 0,0 draws at the top-left corder of the widnow, not of the entire screen.
* Ok, so there's a third change... please please please use Doxygen style
comments for code documetnation. Doxygen can output to XML as well as a
number of different formats, so if you want to change the appearance and/or
organisation of your docs you can. Using a standard input format allows
others the choice of generating the docs the way they like them, rather than
being forced to use the current docs. Furthermore, it allows people like
myself to contribute missing documentation (since there's a set standard for
documentation).
Anyway, I'm more than happy to work on improving the CL code - perhaps I
could start with code documentation? If I get a green light I can start
submitting patches this week..
Thanks,
What are the main differences going to be between 0.8 and 0.9? For those of
us trying to work out how we should structure our applications this
information would be very useful.
Personally, the two biggest changes I'd like to see are:
* An improved resource system - one that allows developers to create custom
resources that contain many different ClanLib resources. At the moment the
custom resource system is very weak - it only allows you to create resources
with all new components. If you want t include a CL_Sprite as part of your
new resource, you're out of luck. (unless I'm missing something big here, in
which case I'd appreciate a heads-up).
* An improved GUI system, whereby each GUI component has a CL_Surface to
draw to, and the layout of those surfaces is andled by the GUI manager. I've
done a lot of wxWidgets development work, and one of the standout features
in that library is the system in place to allow developers to subclass
existing controls and change their appearance and / or behaivour. For
example, If i wanted to make a CL_Window with some background images, I
could subclass CL_Window, and draw images to it's builtin surface. Drawing
at 0,0 draws at the top-left corder of the widnow, not of the entire screen.
* Ok, so there's a third change... please please please use Doxygen style
comments for code documetnation. Doxygen can output to XML as well as a
number of different formats, so if you want to change the appearance and/or
organisation of your docs you can. Using a standard input format allows
others the choice of generating the docs the way they like them, rather than
being forced to use the current docs. Furthermore, it allows people like
myself to contribute missing documentation (since there's a set standard for
documentation).
Anyway, I'm more than happy to work on improving the CL code - perhaps I
could start with code documentation? If I get a green light I can start
submitting patches this week..
Thanks,