示例#1
0
 void onClick( Control* control, int mbm )
 {
     ImageControl* imageControl = dynamic_cast<ImageControl*>(control);
     imageControl->setRotation( imageControl->getRotation() + 10.0f );
 }