Prev | Current Page 717 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

The generated files are small because
they do not rely on embedded or loaded resources; all the graphic elements are generated dynamically
using the drawing API.
Using the style static field it is possible to change a lot of the aspects of the controls in their different
states. The current implementation does not permit radical changes such as adding a background image,
Figure 13 - 6
Chapter 13: Replacing the Need for an IDE
385
but tweaking the render() method a little bit is not hard at all and it is possible to eventually write
more than one context for each control.
The system can really be improved. Just follow a list of suggestions in case you think you can extend the
basic system to fit your needs:
Adding new controls ??” checkboxes, combo boxes, select controls, tree lists, sliders, and scrolling
bars are good candidates.
Adding new containers like a FlowLayout (objects are disposed from left to right and from top
to bottom when one line is not enough to fit them all) or windows and message boxes, and
improving on the existing ones; span functionality for the GridLayout for example.


Pages:
705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729