the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2
3#include <string>
4#include <XuiApp.h>
5
6using namespace std;
7
8//-----------------------------------------------------------------------------
9// CXuiCtrlSplashPulser class
10//-----------------------------------------------------------------------------
11class CXuiCtrlSplashPulser : public CXuiControlImpl
12{
13public:
14 XUI_IMPLEMENT_CLASS(CXuiCtrlSplashPulser, L"CXuiCtrlSplashPulser", XUI_CLASS_LABEL)
15
16 CXuiCtrlSplashPulser();
17 virtual ~CXuiCtrlSplashPulser() { };
18
19protected:
20
21 XUI_BEGIN_MSG_MAP()
22 XUI_ON_XM_INIT(OnInit)
23 XUI_ON_XM_RENDER(OnRender)
24 XUI_END_MSG_MAP()
25
26 HRESULT OnInit(XUIMessageInit* pInitData, BOOL& rfHandled);
27 HRESULT OnRender(XUIMessageRender *pRenderData, BOOL &rfHandled);
28
29private:
30 BOOL m_bDirty;
31 float m_fScale,m_fAlpha;
32
33 float m_fScreenWidth,m_fScreenHeight;
34 float m_fRawWidth,m_fRawHeight;
35
36};