﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-飘风之语-最新评论</title><link>http://www.cnblogs.com/shrimps/CommentsRSS.aspx</link><description>DotNet菜鸟</description><language>zh-cn</language><pubDate>Sat, 11 Feb 2012 14:04:20 GMT</pubDate><lastBuildDate>Sat, 11 Feb 2012 14:04:20 GMT</lastBuildDate><generator>cnblogs</generator><item><title>Re:OGRE+CEGUI+OIS 完美解决鼠标非独占使用</title><link>http://www.cnblogs.com/shrimps/archive/2011/12/22/1437664.html#2276673</link><dc:creator>不呆和上</dc:creator><author>不呆和上</author><pubDate>Thu, 22 Dec 2011 05:22:49 GMT</pubDate><guid>http://www.cnblogs.com/shrimps/archive/2011/12/22/1437664.html#2276673</guid><description><![CDATA[我明白了 这个跟你那两句功能是一样的

呵呵……
都是设置成窗口的大小　<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/shrimps/" target="_blank">不呆和上</a> 2011-12-22 13:22 <a href="http://www.cnblogs.com/shrimps/archive/2011/12/22/1437664.html#2276673#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:OGRE+CEGUI+OIS 完美解决鼠标非独占使用</title><link>http://www.cnblogs.com/shrimps/archive/2011/12/22/1437664.html#2276668</link><dc:creator>不呆和上</dc:creator><author>不呆和上</author><pubDate>Thu, 22 Dec 2011 05:17:26 GMT</pubDate><guid>http://www.cnblogs.com/shrimps/archive/2011/12/22/1437664.html#2276668</guid><description><![CDATA[mouse-&gt;getMouseState().width=_render_window-&gt;getWidth();

_mouse-&gt;getMouseState().height=_render_window-&gt;getHeight();

请问一下啊：
我这里面是这样的：
 unsigned int width, height, depth;
    int left, top;
    rw-&gt;getMetrics(width, height, depth, left, top);

    const OIS::MouseState &amp;ms = mMouse-&gt;getMouseState();
     ms.width = width;
     ms.height = height;
你上面的语句得到的都是程序窗口的值 而且都一样
是不是不用换了呢？
目前我能达到的是CEGUI的光标移至在窗口内，系统光标可以移出窗外，若在窗内则跟CEGUI的光标重合
是你那个效果吗？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/shrimps/" target="_blank">不呆和上</a> 2011-12-22 13:17 <a href="http://www.cnblogs.com/shrimps/archive/2011/12/22/1437664.html#2276668#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:OGRE+CEGUI+OIS 完美解决鼠标非独占使用</title><link>http://www.cnblogs.com/shrimps/archive/2011/12/22/1437664.html#2276487</link><dc:creator>不呆和上</dc:creator><author>不呆和上</author><pubDate>Thu, 22 Dec 2011 03:08:37 GMT</pubDate><guid>http://www.cnblogs.com/shrimps/archive/2011/12/22/1437664.html#2276487</guid><description><![CDATA[问个问题  我的鼠标能移出窗外了 但是里面用的CEGUI的鼠标一开始显示出来了 过一会会就消失 了 导致我里面的控件用系统鼠标没法点击响应
指导一下 谢谢<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/shrimps/" target="_blank">不呆和上</a> 2011-12-22 11:08 <a href="http://www.cnblogs.com/shrimps/archive/2011/12/22/1437664.html#2276487#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: OGRE+CEGUI+OIS 完美解决鼠标非独占使用</title><link>http://www.cnblogs.com/shrimps/archive/2009/04/17/1437664.html#1505888</link><dc:creator>虾虾</dc:creator><author>虾虾</author><pubDate>Fri, 17 Apr 2009 10:56:39 GMT</pubDate><guid>http://www.cnblogs.com/shrimps/archive/2009/04/17/1437664.html#1505888</guid><description><![CDATA[@韦恩卑鄙<br/><br/><br/> 感谢你的认真阅读，<br/> 你的回复是我最大的支持<br/><br/> 我写的是 “鼠标都移除窗体了，为什么窗体内的那个指针还要动，那我就在MouseMoved中做边界检查，对了为了防止误点，还要在mousePressed 和 mouseReleased 做边界检查，代码就不啰嗦了！~~~=”<br/> 说明没有修正之前是有 鼠标乱点的 一个问题，所以才要做边界检查<br/><br/> <br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/shrimps/" target="_blank">虾虾</a> 2009-04-17 18:56 <a href="http://www.cnblogs.com/shrimps/archive/2009/04/17/1437664.html#1505888#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: OGRE+CEGUI+OIS 完美解决鼠标非独占使用</title><link>http://www.cnblogs.com/shrimps/archive/2009/04/17/1437664.html#1505426</link><dc:creator>韦恩卑鄙</dc:creator><author>韦恩卑鄙</author><pubDate>Fri, 17 Apr 2009 03:25:29 GMT</pubDate><guid>http://www.cnblogs.com/shrimps/archive/2009/04/17/1437664.html#1505426</guid><description><![CDATA[游戏技术方面虽然我外行 但是玩游戏我是资深玩家<br/><br/><br/>鼠标都移除窗体了，为什么窗体内的那个指针还要动？这个我觉得不应该修正  本身是个很好的功能  :D<br/><br/><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/shrimps/" target="_blank">韦恩卑鄙</a> 2009-04-17 11:25 <a href="http://www.cnblogs.com/shrimps/archive/2009/04/17/1437664.html#1505426#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 虚拟主机实现“泛解析”解决方案</title><link>http://www.cnblogs.com/shrimps/archive/2008/11/21/1337807.html#1376661</link><dc:creator>hellofox2000</dc:creator><author>hellofox2000</author><pubDate>Fri, 21 Nov 2008 01:41:05 GMT</pubDate><guid>http://www.cnblogs.com/shrimps/archive/2008/11/21/1337807.html#1376661</guid><description><![CDATA[呵呵，这样的解决方案不错，能解决一定的问题。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/shrimps/" target="_blank">hellofox2000</a> 2008-11-21 09:41 <a href="http://www.cnblogs.com/shrimps/archive/2008/11/21/1337807.html#1376661#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 虚拟主机实现“泛解析”解决方案</title><link>http://www.cnblogs.com/shrimps/archive/2008/11/20/1337807.html#1376231</link><dc:creator>Jason Cui</dc:creator><author>Jason Cui</author><pubDate>Thu, 20 Nov 2008 11:26:47 GMT</pubDate><guid>http://www.cnblogs.com/shrimps/archive/2008/11/20/1337807.html#1376231</guid><description><![CDATA[只能用同一套程序，也就是说所有的网站功能是一样的。所有的支持企业在线建站的系统都是这样的逻辑。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/shrimps/" target="_blank">Jason Cui</a> 2008-11-20 19:26 <a href="http://www.cnblogs.com/shrimps/archive/2008/11/20/1337807.html#1376231#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 虚拟主机实现“泛解析”解决方案</title><link>http://www.cnblogs.com/shrimps/archive/2008/11/20/1337807.html#1376229</link><dc:creator>canbeing</dc:creator><author>canbeing</author><pubDate>Thu, 20 Nov 2008 11:24:59 GMT</pubDate><guid>http://www.cnblogs.com/shrimps/archive/2008/11/20/1337807.html#1376229</guid><description><![CDATA[多谢分享，这样也可以<br/>不过如果把代码放到HttpContext应该会更好<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/shrimps/" target="_blank">canbeing</a> 2008-11-20 19:24 <a href="http://www.cnblogs.com/shrimps/archive/2008/11/20/1337807.html#1376229#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 虚拟主机实现“泛解析”解决方案</title><link>http://www.cnblogs.com/shrimps/archive/2008/11/20/1337807.html#1376075</link><dc:creator>遭女法官潜规则</dc:creator><author>遭女法官潜规则</author><pubDate>Thu, 20 Nov 2008 09:12:16 GMT</pubDate><guid>http://www.cnblogs.com/shrimps/archive/2008/11/20/1337807.html#1376075</guid><description><![CDATA[定你脑壳。。。。<br/>看不懂。。。。。<br/><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/shrimps/" target="_blank">遭女法官潜规则</a> 2008-11-20 17:12 <a href="http://www.cnblogs.com/shrimps/archive/2008/11/20/1337807.html#1376075#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: XML、JSON、ProtocolBuffer、Lua特点比较</title><link>http://www.cnblogs.com/shrimps/archive/2008/11/06/1327988.html#1362845</link><dc:creator>虾虾</dc:creator><author>虾虾</author><pubDate>Thu, 06 Nov 2008 05:52:16 GMT</pubDate><guid>http://www.cnblogs.com/shrimps/archive/2008/11/06/1327988.html#1362845</guid><description><![CDATA[大家说得都比较有道理，同时本人得对比 也是基于一种相对模糊，或者说是相对抽象的对比，只要得出一个相对准确的结论就可以了。<br/><br/>我也解释一下上面几位朋友的看法<br/><br/><br/>1.json的结构并不比xml简单，况且json是javascript原生对象，可在javascript中当作对象使用。<br/>这句话没蹉，我也没否认这个，我唯一提到结构的是 数据结构支持 这里所指是用xml 或者json等 描述某种数据结构 相对来说 xml 可以描述复杂结构能力比json 强，<br/><br/><br/><br/><br/>但是 有些比较是没有相同条件的<br/><br/>比如说xml 就有不同的lib来支持，不同的库性能差距都很明显<br/><br/><br/>2.开发难度xml也并不比json繁琐，现在各个语言中的XMLDocument解析组件功能都已经很完善了 <br/><br/>我说的开发繁琐？难度？的问题<br/>JSON和PB都有类似于<br/>User shrimps = new User()；<br/>ReadFile( &quot;xxxx&quot;, shrimps）<br/>WriteFile(&quot;xxxx&quot;,shrimps);<br/>类似的支持，同时性能相对于xml来说要高<br/>xml 有类似的lib支持嘛？记得dotnet 有，其他语言呢，个人不是很清楚<br/>另外dotnet的支持都是config，一种特定的xml<br/><br/><br/>学习成本来讲<br/>xml、json 只需要学习你选择得lib<br/>pb 只需要学习 pb描述语言来描述数据结构<br/>lua 不仅要学习 怎么在程序中集成lua 还要学习lua语法<br/>这就是我所谓的 高 、 低<br/><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/shrimps/" target="_blank">虾虾</a> 2008-11-06 13:52 <a href="http://www.cnblogs.com/shrimps/archive/2008/11/06/1327988.html#1362845#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
