mirror of https://github.com/axmolengine/axmol.git
commit
692d8450c2
|
@ -113,7 +113,7 @@ static TestScene* CreateTestScene(int nIdx)
|
||||||
TestController::TestController()
|
TestController::TestController()
|
||||||
: m_tBeginPos(CCPointZero)
|
: m_tBeginPos(CCPointZero)
|
||||||
{
|
{
|
||||||
CCDirector::sharedDirector()->setDeviceOrientation(CCDeviceOrientationPortrait);
|
//CCDirector::sharedDirector()->setDeviceOrientation(CCDeviceOrientationPortrait);
|
||||||
|
|
||||||
// add close menu
|
// add close menu
|
||||||
CCMenuItemImage *pCloseItem = CCMenuItemImage::itemFromNormalImage(s_pPathClose, s_pPathClose, this, menu_selector(TestController::closeCallback) );
|
CCMenuItemImage *pCloseItem = CCMenuItemImage::itemFromNormalImage(s_pPathClose, s_pPathClose, this, menu_selector(TestController::closeCallback) );
|
||||||
|
|
Loading…
Reference in New Issue