Example #1
0
bool OptionLayer::init()
{
	bool sRect = false;

	do
	{
		CC_BREAK_IF(!BaserLayer::init());
		sRect = true;

		setViews();

	}while(0);

	return sRect;
}
Example #2
0
bool pause_Layer::init()
{
		bool bRet = false;
	do{

		CC_BREAK_IF( !CCLayer::init());

		setViews();
		setView();
		bRet = true;
	
	}while(0);

	return bRet;

}
Example #3
0
void MainWindow::setWidgets()
{
    ui = new Ui::MainWindow;
    setViews();
    setButtons();
}