淡淡心情

文章
3
资源
0
加入时间
3年1月13天

Android SurfaceView原理分析

首先,我们看看SurfaceView的官方介绍:Provides a dedicated drawing surface embedded inside of a view hierarchy. You can control the format of this surface and, if you like, its size; the SurfaceView takes care of...

监听鼠标滚轮事件

js://兼容性写法,该函数也是网上别人写的,不过找不到出处了,蛮好的,所有我也没有必要修改了//判断鼠标滚轮滚动方向if (window.addEventListener)//FF,火狐浏览器会识别该方法 window.addEventListener('DOMMouseScroll', wheel, false);window.onmousewheel = ...