要做一个抠图应用,所以随手做了个鼠标取色,代码如下:1 void mousePressed(){2 int imgC = get(mouseX,mouseY);3 int R = (imgC >> 16) & 0xFF;4 int G = (imgC >> 8) & 0xFF;5 i...
分类:
其他好文 时间:
2014-07-27 21:53:49
阅读次数:
197
Description Resource Path Location Type
Error occured processing XML 'Cannot find class [springmvc.extention.BeanArgumentResolver]'. See Error Log for more details applicationContext.xml
maven在管...
分类:
编程语言 时间:
2014-07-26 02:22:46
阅读次数:
224
Mini version:set enc=utf-8 ffs=unix,dos,mac lm=zh_CN.utf-8set nu nowb nocp nowrap ru nobk sm is noswf acd hls autoread set hi=700 mouse=a sel=exclusiv...
分类:
其他好文 时间:
2014-07-25 14:07:21
阅读次数:
265
win7下面运行ASP程序总是出错,原来是站点配置的问题。。。 问题一:MS Jet引擎改变了临时目录的位置,但是又没有对临时目录的存取权限,导致数据库使用失败(因为sql问题,后改用access数据库测试)。 解决办法: 给“系统盘:\Windows\ServiceProfiles\Network...
分类:
其他好文 时间:
2014-07-24 21:20:33
阅读次数:
228
1.4.1.1 用 LINQ 处理数据
如果你已经在使用 LINQ,那么这个示例只是提醒,但我们会用它来展示一些更重要的内容。这里示例代码处理数据,使用的是标准的命令式编程风格。
Listing 1.3 Imperative data processing (C#)
IEnumerablestring>GetExpenisveProducts() {
Listst...
分类:
其他好文 时间:
2014-07-24 12:26:05
阅读次数:
183
The present invention relates to processing of time series data. There is disclosed a method and apparatus for processing time series data, the method...
分类:
其他好文 时间:
2014-07-24 09:54:03
阅读次数:
264
How to use Virstalbox to share files with Linux and Windows, and to move the mouse in and out Virtualbox freely without click Ctrl key, herewith what I have done to achieve both....
[转载]对这几个消息的理解要先了解一下Window消息的背景。在Windows3.1里,控件会将mouse,keybord等等的消息通知它的父窗口,使用的消息就只有WM_COMMAND,事件种类和控件ID被包含在wParam中,控件的句柄包含在lParam中。由于wParam和lParam已经满了,...
分类:
其他好文 时间:
2014-07-23 12:09:36
阅读次数:
242
The processing instruction target matching "[xX][mM][lL]" is not allowed.问题描述原因及解决方法XML第一行没有写而直接写了第二行,XML前面空行或者有空格都会导致匹配错误。[I18N] Hardcoded string "3"...
分类:
移动开发 时间:
2014-07-23 12:09:16
阅读次数:
194
鼠标与body的交互就靠这个mouse 关节了。在使用中:主要分成3步:步1:mouseDown : 这个时期,调用world->QueryAABB。它有一个回调接口,并依据鼠标指针指定一个AABB的极小区域。有3个细节需注意:细节1:鼠标的xy值是屏幕坐标系统的,要转换成stage坐标系统(sta...
分类:
其他好文 时间:
2014-07-22 23:08:52
阅读次数:
231