axmol/cocos2dx/platform/mac/CCDevice.mm

22 lines
225 B
Plaintext
Raw Normal View History

#include "platform/CCDevice.h"
NS_CC_BEGIN
int Device::getDPI()
{
//TODO:
return 160;
}
void Device::setAccelerometerEnabled(bool isEnabled)
{
}
void Device::setAccelerometerInterval(float interval)
{
}
NS_CC_END