需要与OGRE混编,加入头文件#include <CEGuiOgreBaseApplication.h>
设置中文字体,系统自带有.
:
#include <CEGuiOgreBaseApplication.h>
代码段
wnd->setText((CEGUI::utf8*)Ogre::UTFString(L"中文退出").asUTF8_c_str());
需要与OGRE混编,加入头文件#include <CEGuiOgreBaseApplication.h>
设置中文字体,系统自带有.
:
#include <CEGuiOgreBaseApplication.h>
代码段
wnd->setText((CEGUI::utf8*)Ogre::UTFString(L"中文退出").asUTF8_c_str());