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 "../media/xuiscene_savemessage.h"
4
5class CScene_SaveMessage : public CXuiSceneImpl
6{
7 protected:
8 CXuiControl m_button;
9 CXuiControl m_SaveMessage;
10
11 XUI_BEGIN_MSG_MAP()
12 XUI_ON_XM_INIT( OnInit )
13 XUI_ON_XM_KEYDOWN(OnKeyDown)
14 XUI_ON_XM_NOTIFY_PRESS_EX(OnNotifyPressEx)
15 XUI_ON_XM_TIMER( OnTimer )
16 XUI_END_MSG_MAP()
17
18 BEGIN_CONTROL_MAP()
19 MAP_CONTROL(IDC_ConfirmButton, m_button)
20 MAP_CONTROL(IDC_Description, m_SaveMessage)
21 END_CONTROL_MAP()
22
23
24 HRESULT OnInit( XUIMessageInit* pInitData, BOOL& bHandled );
25 HRESULT OnNotifyPressEx(HXUIOBJ hObjPressed, XUINotifyPress* pNotifyPressData,BOOL& rfHandled);
26 HRESULT OnKeyDown(XUIMessageInput* pInputData, BOOL& rfHandled);
27 HRESULT OnTimer( XUIMessageTimer *pXUIMessageTimer, BOOL &bHandled);
28
29 bool m_bIgnoreInput;
30public:
31
32 // Define the class. The class name must match the ClassOverride property
33 // set for the scene in the UI Authoring tool.
34 XUI_IMPLEMENT_CLASS( CScene_SaveMessage, L"CScene_SaveMessage", XUI_CLASS_SCENE )
35
36};