#include #include "statswnd.h" #include StatsWnd::StatsWnd() { registerXml(); WASABI_API_WNDMGR->autopopup_registerGroupId(L"statswnd.group", L"Internal Statistics"); WASABI_API_SYSCB->syscb_registerCallback(this); } StatsWnd::~StatsWnd() { WASABI_API_SYSCB->syscb_deregisterCallback(this); } int StatsWnd::skincb_onBeforeLoadingElements() { registerXml(); return 1; } void StatsWnd::registerXml() { StringW xml; xml = L"buf:"; xml += L"\n"; xml += L"\n"; xml += L"\n"; xml += L" \n"; xml += L"\n"; xml += L"\n"; WASABI_API_SKIN->loadSkinFile(xml); }