作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (18): 275-277. doi: 10.3969/j.issn.1000-3428.2011.18.092

• 开发研究与设计技术 • 上一篇    下一篇

一种轻量级跨平台嵌入式GUI库

胡 旭,蒋从锋   

  1. (杭州电子科技大学计算机学院,杭州 310018)
  • 收稿日期:2011-05-06 出版日期:2011-09-20 发布日期:2011-09-20
  • 作者简介:胡 旭(1988-),男,学士,主研方向:嵌入式系统;蒋从锋,讲师、博士
  • 基金资助:

    浙江省科技计划基金资助面上项目(2009C31033);浙江省科技计划重大专项基金资助项目(2008C11099-1)

Lightweight Multi-platform Embedded GUI Library

HU Xu, JIANG Cong-feng   

  1. (School of Computer Science and Technology, Hangzhou Dianzi University, Hangzhou 310018, China)
  • Received:2011-05-06 Online:2011-09-20 Published:2011-09-20

摘要: 嵌入式系统之间的差异会造成应用程序移植困难。为此,提出一种轻量级跨平台嵌入式图形用户界面(GUI)库,即huG。该库的 2个库文件负责将与具体平台和系统进行交互的类组成后台库,其核心库为应用程序提供编程所需的基本功能类。测试结果表明,该库结构精简、编程模式简单,具有良好的可移植性。

关键词: 嵌入式系统, 图形用户界面, 跨平台, 设计模式, 平台抽象

Abstract: The difference between embedded systems can cause application program transplanting difficulty. This paper proposes a lightweight multi-platform Graphics User Interface(GUI) library——huG to solve the problem introduced above. The functions of the two library files designed by the library include: part responsible for specific platform and the classes of the system interaction which constitutes to be a backend library. The core library offers basic programming functions to applications. Test results show that huG has reduced structure, easy programming model and good portability.

Key words: embedded system, Graphics User Interface(GUI), multi-platform, design pattern, platform abstraction

中图分类号: