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
摘要: 嵌入式系统之间的差异会造成应用程序移植困难。为此,提出一种轻量级跨平台嵌入式图形用户界面(GUI)库,即huG。该库的 2个库文件负责将与具体平台和系统进行交互的类组成后台库,其核心库为应用程序提供编程所需的基本功能类。测试结果表明,该库结构精简、编程模式简单,具有良好的可移植性。
关键词:
嵌入式系统,
图形用户界面,
跨平台,
设计模式,
平台抽象
CLC Number:
HU Xu, JIANG Cong-Feng. Lightweight Multi-platform Embedded GUI Library[J]. Computer Engineering, 2011, 37(18): 275-277.
胡旭, 蒋从锋. 一种轻量级跨平台嵌入式GUI库[J]. 计算机工程, 2011, 37(18): 275-277.