Graphics 版 (精华区)

发信人: dcs (euraka), 信区: Graphics
标  题: Motif&Opengl(9)
发信站: 紫 丁 香 (Mon Mar 29 21:45:26 1999), 转信

3.1 Handling Iconification

When the paperplane window is open, we want the animate work procedure to update the 3D scene continuously. If the
user iconifies the window, it would be wasteful to continue animating a no longer visible scene. To avoid wasting resources
rendering to an unmapped window, paperplane installs an event handler called map_state_changed for the top-level
widget to notice UnmapNotify and MapNotify events. The handler makes sure the work procedure is removed or added to
reflect the map state of the window. 

--
※ 来源:.紫 丁 香 bbs.hit.edu.cn.[FROM: 202.118.239.121]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:4.320毫秒