针对目前现有图形库难以满足低存储空间的嵌入式设备开发需求问题,提出了面向ARMCortexMO的轻量级图形界面系统设计;系统采用分层结构的思想,构建模块化的图形界面模型;利用面向对象和继承的思想创建内核控件树;创建管理树结构实现对封装的页面组动态管理;实际应用表明,系统占用的资源少,响应速率快,移植性和扩展性较好,具有轻量级的特点,可满足低存储空间的嵌入式设备需求。
Aiming at the problem of current graphical library could not satisfy the development demand of embedded device with low memory, a lightweight embedded graphical user interface system was proposed for ARM Cortex--M0. System adopted the thought of hierar chical structure to build the modular graphical interface model. By taking advantage of the idea of object oriented and inheritance to create the kernel control tree and derive the controls properties. The management tree structure was created to manage the packed page modules dy namically. The practical application shows that system has little resource consumption occupied, high response rate and better quality of portable and extending, which meets the requirement for the embedded device which is low memory.