?? app.h
字號(hào):
#pragma once
#include "windows.h"
#include "Listener.h"
#include <CEGUI\CEGUI.h>
#include "OgreCEGUIRenderer.h"
#include "OgreCEGUIResourceProvider.h"
#include "exampleapplication.h"
#include "Terrain.h"
#include "Tree.h"
class CApp :
public ExampleApplication
{
public:
CApp(void);
~CApp(void);
void load();
void createScene();
void createFrameListener();
void chooseSceneManager();
void setCEGUI(void);
void setupButtonEvent();
//游戲按鈕函數(shù)
bool buttonStart(const CEGUI::EventArgs& e);
bool buttonExit(const CEGUI::EventArgs& e);
bool buttonYesExit(const CEGUI::EventArgs& e);
bool buttonNOExit(const CEGUI::EventArgs& e);
//地編按鈕函數(shù)
bool buttonEditor(const CEGUI::EventArgs& e);
bool buttonMenu(const CEGUI::EventArgs& e);
bool buttonSave(const CEGUI::EventArgs& e);
bool buttonLoad(const CEGUI::EventArgs& e);
bool buttonSelect(const CEGUI::EventArgs& e);
bool buttonExit2(const CEGUI::EventArgs& e);
private:
CEGUI::OgreCEGUIRenderer* mGUIRenderer;
CEGUI::System * mGUISystem;
bool m_bIsShowExit;
CListener* m_pListener;
};
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -