Comments (1)
void CursorTextField::setColor(const ccColor3B& c){
#if COCOS2D_VERSION < 0x00020100
m_sColor = m_sColorUnmodified = c;
if(m_bOpacityModifyRGB){
m_sColor.r = c.r * m_nOpacity/255.0f;
m_sColor.g = c.g * m_nOpacity/255.0f;
m_sColor.b = c.b * m_nOpacity/255.0f;
}
#endif
CCSprite::setColor(c); <----------------缺少了这句
updateColor();
_cursor->setColor(c);
}
from cocos2dx-luaproxy.
Related Issues (17)
- Example Support HOT 1
- 在lua中使用getUserObject 读取不出来 HOT 2
- 加载第二个lua文件出错 HOT 1
- CCBAnimationManager 你这里少一个,动作完成时的回调的功能。 HOT 4
- link error in cocos2d-x 2.1.4f. HOT 1
- CCEditBox的运行时错误 HOT 5
- attempt to call method 'getNodeWithType' (a nil value) HOT 2
- 编译出错 HOT 1
- 在quick-cocos2d-x中使用,出现错误 HOT 1
- LuaTableView的一个问题 HOT 2
- MAC some bugs HOT 1
- Mod to tolua_CCHttpResponse_getResponseData to support binaray data HOT 2
- attempt to index local 'lbl' (a nil value) HOT 1
- ccbi读取问题 HOT 3
- ccb使用Custom class报错 HOT 7
- 能给解释下LuaEventHandler的runLuaFunction方法么 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocos2dx-luaproxy.