void Nhf::initData()
{
Size visibleSize = Director::getInstance()->getVisibleSize();
Vec2 VisibleOrigin = Director::getInstance()->getVisibleOrigin();
// add your codes here...
auto bgView = LayerColor::create(cocos2d::Color4B(126, 213, 249, 255), visibleSize.width, visibleSize.height);
// bgView->setIgnoreAnchorPointForPosition(false);
bgView->setAnchorPoint(Vec2(0, 0));
bgView->setPosition(Vec2(VisibleOrigin.x, VisibleOrigin.y));
this->addChild(bgView);
auto *button = cocos2d::ui::Button::create("HelloWorld.png");
button->setContentSize(cocos2d::Size());
button->addClickEventListener(CC_CALLBACK_1(Nhf::ButtonClick, this));
button->setIgnoreAnchorPointForPosition(false);
button->setPosition(Vec2(VisibleOrigin.x + visibleSize.width/2, VisibleOrigin.y + visibleSize.height/2));
this->addChild(button);
}