检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:丁智[1] 肖宇[1] DING Zhi;XIAO Yu(Computer and Information Engineering College,Bengbu University,Bengbu 233030,China)
机构地区:[1]蚌埠学院计算机与信息工程学院,安徽蚌埠233030
出 处:《通化师范学院学报》2021年第8期101-107,共7页Journal of Tonghua Normal University
基 金:国家线上线下混合式一流课程“多媒体创作基础及应用”;安徽省智慧课堂研究项目“多媒体技术及应用”(2018ZHKT069);蚌埠学院新工科教学研究项目“基于华为ICT学院的新工科人才培养模式的研究”(2020XGKJY9)。
摘 要:图形控件是图形用户界面的重要元素,该文讨论了基于OpenGL和GLUT图形库构造及实现轻量级跨平台图形用户界面图形控件实验的实现过程.首先,以滑动条、单复选按钮等例讨论如何绘制图形用户界面控件的外观图形;其次,阐述如何将相关控件与GLUT的窗口事件回调函数相关联,并用C++类对相关控件的功能函数进行封装;最后,以实例验证设计方法的可行性和有效性.实验表明:该图形控件C++类使用方法简单,可复用性强,对窗口事件反应灵敏.设计方法可用于各类基于OpenGL和GLUT的跨平面应用程序的图形用户界面设计.Visual controllers are key and essential components of graphics user interface(GUI).In this paper,we presented a simple method about how to construct visual controls for platform-cross GUI based on OpenGL and GLUT.Taking sliders and radio-buttons as examples,we firstly discuss how to render visual interface of the controllers.Then,all the functions of the controls are encapsulated in corresponding C++classes,and we show how to connect the controls to the window events by implanting the class functions of the controls to window callbacks.Experiments show that our method in is feasible and efficient.The designed classes have some good properties,such as useable and reusable.Experiments also show the controls can be used in various OpenGL and GLUT based graphic applications.
关 键 词:图形用户界面 图形控件 界面设计 跨平台图形应用
分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.223.121.54