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 "XUI_Ctrl_SlotItemCtrlBase.h"
4
5class CXuiCtrlSlotItemListItem : public CXuiListItemImpl, public CXuiCtrlSlotItemCtrlBase
6{
7public:
8 // Define the class. The class name must match the ClassOverride property
9 // set for the scene in the UI Authoring tool.
10 XUI_IMPLEMENT_CLASS( CXuiCtrlSlotItemListItem, L"CXuiCtrlSlotItemListItem", XUI_CLASS_LISTITEM )
11
12 XUI_BEGIN_MSG_MAP()
13 XUI_ON_XM_INIT( OnInit )
14 XUI_ON_XM_DESTROY(OnDestroy)
15 XUI_ON_XM_GETSLOTITEM_MESSAGE(OnCustomMessage_GetSlotItem)
16
17 // 4J WESTY : Pointer Prototype : Added to support prototype only.
18 XUI_ON_XM_CONTROL_NAVIGATE( OnControlNavigate )
19
20 XUI_ON_XM_KEYDOWN( OnKeyDown )
21 XUI_END_MSG_MAP()
22
23 using CXuiCtrlSlotItemCtrlBase::OnInit;
24 HRESULT OnInit(XUIMessageInit* pInitData, BOOL& bHandled) { return this->OnInit( m_hObj, pInitData, bHandled ); };
25
26 using CXuiCtrlSlotItemCtrlBase::OnDestroy;
27 HRESULT OnDestroy() { return this->OnDestroy( m_hObj ); };
28
29 using CXuiCtrlSlotItemCtrlBase::OnCustomMessage_GetSlotItem;
30 HRESULT OnCustomMessage_GetSlotItem(CustomMessage_GetSlotItem_Struct *pData, BOOL& bHandled) { return this->OnCustomMessage_GetSlotItem( m_hObj, pData, bHandled ); };
31
32 // 4J WESTY : Pointer Prototype : Added to support prototype only.
33 using CXuiCtrlSlotItemCtrlBase::OnControlNavigate;
34 HRESULT OnControlNavigate(XUIMessageControlNavigate *pControlNavigateData, BOOL& bHandled) { return this->OnControlNavigate( m_hObj, pControlNavigateData, bHandled ); }
35
36 using CXuiCtrlSlotItemCtrlBase::OnKeyDown;
37 HRESULT OnKeyDown(XUIMessageInput *pInputData, BOOL& bHandled) { return this->OnKeyDown( m_hObj, pInputData, bHandled ); };
38};