source-engine/public/dme_controls/AttributeSequencePickerPanel.h
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

47 lines
1.4 KiB
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#ifndef ATTRIBUTESEQUENCEPICKERPANEL_H
#define ATTRIBUTESEQUENCEPICKERPANEL_H
#ifdef _WIN32
#pragma once
#endif
#include "dme_controls/AttributeBasePickerPanel.h"
#include "vgui_controls/PHandle.h"
//-----------------------------------------------------------------------------
// Forward declarations
//-----------------------------------------------------------------------------
class CMDLPickerFrame;
class CSequencePickerFrame;
//-----------------------------------------------------------------------------
// CAttributeSequencePickerPanel
//-----------------------------------------------------------------------------
class CAttributeSequencePickerPanel : public CAttributeBasePickerPanel
{
DECLARE_CLASS_SIMPLE( CAttributeSequencePickerPanel, CAttributeBasePickerPanel );
public:
CAttributeSequencePickerPanel( vgui::Panel *parent, const AttributeWidgetInfo_t &info );
~CAttributeSequencePickerPanel();
private:
MESSAGE_FUNC_PARAMS( OnMDLSelected, "AssetSelected", kv );
MESSAGE_FUNC_PARAMS( OnSequenceSelected, "SequenceSelected", kv );
virtual void ShowPickerDialog();
void ShowSequencePickerDialog( const char *pMDLName );
};
#endif // ATTRIBUTESEQUENCEPICKERPANEL_H