Prev | Current Page 694 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

In this
section you will attempt to build a whole UI library using pure haXe code. The library is built upon the
following requirements:
Platform Independence and Isolation: The haXe nature to be a multi - target environment must be
respected. This implies also isolating the mouse and keyboard events from the target system.
Lightweight: The library must have a reduced footprint in terms of bytes; it must be loaded and
displayed fast.
Basic Set of Controls: Buttons, text inputs, and labels are the very bare minimum required to
build interaction.
Easy Positioning: Some UI API delegate to the developer the responsibility to manage and dispose
the controls. Although it is important to have the freedom to create accurate pixel - perfect
positioning, in the majority of cases it is more important to be able to dispose of the controls easily
and let the system handle the arrangement issues. A set of containers is implemented to ease
the visual layout process.
??‘
??‘
??‘
??‘
Part II: Server Side, JavaScript, and Flash: Oh My!
370
Visually Appealing: Controls must be nice.


Pages:
682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706