first commit
This commit is contained in:
28
Minecraft.Client/Common/XUI/XUI_Ctrl_PassthroughList.h
Normal file
28
Minecraft.Client/Common/XUI/XUI_Ctrl_PassthroughList.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
// 4J Stu - A list control that responds by sending the message to it's parent and
|
||||
// returning what the parent returns
|
||||
|
||||
class CXuiCtrlPassThroughList : public CXuiListImpl
|
||||
{
|
||||
public:
|
||||
XUI_IMPLEMENT_CLASS(CXuiCtrlPassThroughList, L"CXuiCtrlPassThroughList", XUI_CLASS_LIST);
|
||||
protected:
|
||||
|
||||
XUI_BEGIN_MSG_MAP()
|
||||
XUI_ON_XM_INIT(OnInit)
|
||||
XUI_ON_XM_KEYDOWN(OnKeyDown)
|
||||
XUI_ON_XM_GET_SOURCE_TEXT(OnGetSourceDataText)
|
||||
XUI_ON_XM_GET_SOURCE_IMAGE(OnGetSourceDataImage)
|
||||
XUI_ON_XM_GET_ITEMCOUNT_ALL(OnGetItemCountAll)
|
||||
XUI_END_MSG_MAP()
|
||||
|
||||
|
||||
HRESULT OnInit( XUIMessageInit* pInitData, BOOL& bHandled );
|
||||
HRESULT OnKeyDown(XUIMessageInput* pInputData, BOOL& bHandled);
|
||||
HRESULT OnGetSourceDataText(XUIMessageGetSourceText *pGetSourceTextData, BOOL& bHandled);
|
||||
HRESULT OnGetSourceDataImage(XUIMessageGetSourceImage *pGetSourceImageData,BOOL& bHandled);
|
||||
HRESULT OnGetItemCountAll(XUIMessageGetItemCount *pGetItemCountData, BOOL& bHandled);
|
||||
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user