CCControlPotentiometer旋转调节调节按钮学习笔记
来源:互联网 发布:繁体字转换简体字软件 编辑:程序博客网 时间:2024/04/28 01:14
CCControlPotentiometer *potentiometer = CCControlPotentiometer::create("extensions/potentiometerTrack.png"
,"extensions/potentiometerProgress.png"
,"extensions/potentiometerButton.png");
potentiometer->setPosition(ccp (layer_width + 10 + potentiometer->getContentSize().width / 2, 0));
// When the value of the slider will change, the given selector will be call
potentiometer->addTargetWithActionForControlEvents(this, cccontrol_selector(CCControlPotentiometerTest::valueChanged), CCControlEventValueChanged);
m_pDisplayValueLabel->setString(CCString::createWithFormat("%.02f", pControl->getValue())->getCString());
,"extensions/potentiometerProgress.png"
,"extensions/potentiometerButton.png");
potentiometer->setPosition(ccp (layer_width + 10 + potentiometer->getContentSize().width / 2, 0));
// When the value of the slider will change, the given selector will be call
potentiometer->addTargetWithActionForControlEvents(this, cccontrol_selector(CCControlPotentiometerTest::valueChanged), CCControlEventValueChanged);
m_pDisplayValueLabel->setString(CCString::createWithFormat("%.02f", pControl->getValue())->getCString());
0 0
- CCControlPotentiometer旋转调节调节按钮学习笔记
- 调节
- 调节
- 调节
- 数值调节按钮
- MFC_SPIN 数值调节按钮
- 调节按钮亮度,调节扁平化
- 5数值调节按钮Spin
- MFC-SpinControl(数值调节按钮)
- 通过Button按钮调节亮度
- MFC-SpinControl(数值调节按钮)
- XNA学习笔记(5)-调节刷新率(framerate)
- DL学习笔记【5】caffe参数调节-solver文件
- DL学习笔记【7】caffe参数调节-Pooling层
- DL学习笔记【8】caffe参数调节-激活函数层
- DL学习笔记【9】caffe参数调节-全连接层
- DL学习笔记【11】caffe参数调节-loss层
- DL学习笔记【12】caffe参数调节-数据层
- ContextMenu 的使用 和 OptionsMenu 区别
- ARM Linux中断机制分析
- 疑将遭扫地出门的几款国外软件
- Item M6:自增(increment)、自减(decrement)操作符前缀形式与后缀形式的区别
- Timer中schedule()的用法
- CCControlPotentiometer旋转调节调节按钮学习笔记
- Android Camera (二)通过Intent 录像
- Django generic view
- LDR
- OOB(out-of-band data)
- 为什么年事已高的我还在编程?
- 对选择排序的理解
- C++ delete a node from BST
- Linux下配置SVN