使用opengl函数写一个控制台程序,要求基于鼠标、键盘、窗口缩放等事件处理实现对某个图形的颜色改变、位置改变、以及大小随窗口改变等。
-Use opengl function to write a console program, the request for a mouse, keyboard, window scaling event handling to achieve the color change on a certain graph, position changes, as well as the size and changes with the window.
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001381s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.087245s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001089s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001338s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000977s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003112s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000774s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003816s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.015009s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001132s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 196656 [ RunTime:0.014751s ]