source-engine-2018-hl2_src/public/dme_controls/AttributeMDLPickerPanel.h

44 lines
1.2 KiB
C
Raw Normal View History

2020-04-23 00:56:21 +08:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#ifndef ATTRIBUTEMDLPICKERPANEL_H
#define ATTRIBUTEMDLPICKERPANEL_H
#ifdef _WIN32
#pragma once
#endif
#include "dme_controls/AttributeBasePickerPanel.h"
#include "vgui_controls/PHandle.h"
//-----------------------------------------------------------------------------
// Forward declarations
//-----------------------------------------------------------------------------
class CMDLPickerFrame;
//-----------------------------------------------------------------------------
// CAttributeMDLPickerPanel
//-----------------------------------------------------------------------------
class CAttributeMDLPickerPanel : public CAttributeBasePickerPanel
{
DECLARE_CLASS_SIMPLE( CAttributeMDLPickerPanel, CAttributeBasePickerPanel );
public:
CAttributeMDLPickerPanel( vgui::Panel *parent, const AttributeWidgetInfo_t &info );
~CAttributeMDLPickerPanel();
private:
MESSAGE_FUNC_PARAMS( OnMDLSelected, "MDLSelected", kv );
virtual void ShowPickerDialog();
};
#endif // ATTRIBUTEMDLPICKERPANEL_H