摘要
当触摸屏手机的某个界面同时含有动画和静态文本或图像时,随着动画的刷新,可能会出现静态文本或图像被覆盖的问题。应用分层设计的方法,在某些频繁更新的界面中,把一直不变化的显示元素和频繁变化的显示元素分别提取出来,设置在不同的层中。当界面需要更新时,只需要刷新频繁变化的元素所在的层,而后将两个层合并到真正的屏幕上,解决了动画刷新过程中,可能出现的静态文本或图像被覆盖的问题。详细介绍了层的创建、激活、合并以及释放等操作,实现了动态图像刷新时的精确显示和控件的准确操作,提高了GUI的满意度。
When there are active images and static image or text on a touch-screen simultaneously, with the refreshing of animation, the static image or text may be covered. In this paper, the separating layer designing is applied, the elements that do not always change and the elements that frequently changes are extracted to different layer. When the interface need to be updated, the layer with often change elements is refreshed only and then mergering the two layers to the real screen. The problem that the static text or images may be covered in the process of animation refreshing is resolved. The details how to create, activate, release and merger the layer are discussed in the paper. The precise display of images when refresh dynamically and the precise operations of control are realized and the satisfying interface is achieved.
出处
《电子测量技术》
2009年第5期58-61,共4页
Electronic Measurement Technology
关键词
触摸屏手机
图形用户接口
层坐标系
touch-screen phone
graphics user interface(GUI)
layer coordinate system