- //當背景被點擊時觸發鍵盤彈出
- if (background->boundingBox().containsPoint(pTouch->getLocation())) {
- age_edit->touchDownAction(NULL, NULL); //彈出鍵盤
- }
2017年4月24日 星期一
0424 cocos2d-x 有關CCEditBox設置除輸入框以外的可點擊觸發區域
http://blog.csdn.net/song_hui_xiang/article/details/17441137
訂閱:
文章 (Atom)
cocos2dx-lua 建立滑鼠監聽
重要關鍵字 EVENT_MOUSE_SCROLL addEventListenerWithSceneGraphPriority if IsPc() then --建立滑鼠監聽 local listener = cc.EventListenerMouse...
-
1..Indent Guides 程式碼排版回自動加上虛線,有這個功能也很方便 2. Developer Assistant 佛心的Microsoft 做了「Bing Developer Assistant」VS.NET的擴充工具, 讓我們寫程式找Cod...
-
https://changeyu.wordpress.com/2015/03/25/%E4%BD%A0%E7%9A%84macbook-air%E7%B8%BD%E6%98%AF%E7%A9%BA%E9%96%93%E4%B8%8D%E5%A4%A0%E5%97%8E%EF%BC...
-
AppDelegate::applicationDidFinishLaunching()函數里 把 glview = GLViewImpl::createWithRect("NAME", Rect(0, 0, designResolutionSize.widt...