| This thesis begins with the practical problem existing in GUI frameworks of embedded software and describes the design and implementation of a GUI framework, which is portable, flexible, extensible and suitable for embedded software. It can also support alpha blending, anti-aliasing and font smoothing, and provides multi-media API, self-contained script-interpreting animation effect and other featured solutions.This thesis introduce an XML resource file loading mechanism, used to describe the tree structure of GUI elements in applications, which means loading resource files dynamically at the bootstrap. This makes softwares able to change GUI without re-compiling, as well as possible to appear or function diversely by loading distinct resource files. Besides, this mechanism brings the GUI framework flexibility to incorporate new elements and to adapt to new requirements. The features built in this framework, for example, optimized Alpha blending, enhanced animation effects, anti-aliasing and smoothing for color fonts, multi-media API and so forth, not only help developers to develop fancier user interface which will bring users more vision enjoyment and multi-media fun; but significantly reduce the development cost on GUI, which can further shorten software development cycle and accelerate the pace for embedded products to market. Those benefits can bring software developers more profits due to the increased attraction and competitive strength of their products.So far, the GUI framework in this thesis has been applied to NSMID, a commercial project solely developed by a R&D department of embedded product in NEUSOFT. |