码迷,mamicode.com
首页 >  
搜索关键字:mouse    ( 1160个结果
PHP 文件创建/写入
"; } $myfile2=fopen("testfile.txt","w")or die("unable to open file!"); $txt="Mickey Mouse\n"; fwrite($myfile2,$txt); $txt="Minnie ...
分类:Web程序   时间:2015-07-11 18:04:08    阅读次数:869
Unity 漫游相机脚本
1.修改unity3d的Mouse Look相机脚本:按住右键控制前进方向,方向键改变位置2.给场景相机添加系统自带的fpswalker脚本3.指定fpswalker里transform指定场景相机PS:Mouse Look.cs修改部分:001void Update ()002{003 if (I...
分类:编程语言   时间:2015-07-10 18:21:22    阅读次数:219
ZOJ 1047 Image Perimeters
Image Perimeters Time Limit: 2 Seconds      Memory Limit: 65536 KB Technicians in a pathology lab analyze digitized images of slides. Objects on a slide are selected for analysis by a mouse cl...
分类:其他好文   时间:2015-07-09 22:47:17    阅读次数:161
How to Copy and Paste in the Ubuntu Gnome Terminal
How to Copy: Select the content in terminal use your mouse , and then use Ctrl + Shift + C to copy the content. How to Paste:Use Ctrl + Shift + V to paste the content....
分类:系统相关   时间:2015-07-05 18:37:12    阅读次数:163
一点点VIM
VIM 当你喜欢它时,你会发现真的不错,不过配置真是麻烦, 不过万事开头难,当你熟练时真的会发现她的美。 1 syntax on 2 set nu 3 set tabstop=4 4 set shiftwidth=4 5 colo evening 6 set mouse=a 7 set ci...
分类:系统相关   时间:2015-07-02 20:56:34    阅读次数:201
检测不存在的值
使用形式概览: unsafe_expr?? 或 (unsafe_expr)??这个操作符告诉我们一个值是否存在。基于这种情况,结果是 true 或 false 。示例如下,假设并没有名为 mouse 的变量:Mouse foundNo mouse foundCreating mouse...Mous...
分类:其他好文   时间:2015-06-29 16:35:12    阅读次数:91
javascript图形动画设计--画简单正弦波
Rotate to Mouse Example from Foundation HTML5 Animation with JavaScript Move mouse on canvas element. ...
分类:编程语言   时间:2015-06-28 22:55:29    阅读次数:377
AS2.0鼠标跟随和拖动代码
1,鼠标跟随。 a: Mouse.hide();//隐藏鼠标,Mouse.show()显示鼠标。 MC1.startDrag(true);//直接利用函数实现。 b: Mouse.hide(); onEnterFrame=function(){//坐标赋值实现 MC1._x=_xmouse;//鼠标坐标赋值给MC1。 MC1._y=_ymouse; } 2,...
分类:其他好文   时间:2015-06-25 17:35:53    阅读次数:132
解决HTML元素的Mouse事件被内部元素的干扰
有一个DIV元素,其内部SPAN元素, 为了实现一些特殊的效果,我需要利用DIV元素的onmouseover和onmouseout事件,测试时就会发现如下的状况: 当鼠标移入DIV内部时,onmouseover事件被触发;接着再鼠标移动到DIV内部...
分类:Web程序   时间:2015-06-20 10:40:51    阅读次数:177
Windows C编程操作鼠标键盘
通过keybd_event和mouse_event功能函数,操作鼠标键盘。 #include #include #include void open(const char *str) { ShellExecuteA(0, "open", str, 0, 0, 0); } void close() { system("taskkill /f /im baidubrowser.exe"...
分类:Windows程序   时间:2015-06-19 13:30:39    阅读次数:261
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!