the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 28 lines 950 B view raw
1#pragma once 2 3// 4J Stu - A list control that responds by sending the message to it's parent and 4// returning what the parent returns 5 6class CXuiCtrlPassThroughList : public CXuiListImpl 7{ 8public: 9 XUI_IMPLEMENT_CLASS(CXuiCtrlPassThroughList, L"CXuiCtrlPassThroughList", XUI_CLASS_LIST); 10protected: 11 12 XUI_BEGIN_MSG_MAP() 13 XUI_ON_XM_INIT(OnInit) 14 XUI_ON_XM_KEYDOWN(OnKeyDown) 15 XUI_ON_XM_GET_SOURCE_TEXT(OnGetSourceDataText) 16 XUI_ON_XM_GET_SOURCE_IMAGE(OnGetSourceDataImage) 17 XUI_ON_XM_GET_ITEMCOUNT_ALL(OnGetItemCountAll) 18 XUI_END_MSG_MAP() 19 20 21 HRESULT OnInit( XUIMessageInit* pInitData, BOOL& bHandled ); 22 HRESULT OnKeyDown(XUIMessageInput* pInputData, BOOL& bHandled); 23 HRESULT OnGetSourceDataText(XUIMessageGetSourceText *pGetSourceTextData, BOOL& bHandled); 24 HRESULT OnGetSourceDataImage(XUIMessageGetSourceImage *pGetSourceImageData,BOOL& bHandled); 25 HRESULT OnGetItemCountAll(XUIMessageGetItemCount *pGetItemCountData, BOOL& bHandled); 26 27 28};