Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.4 KiB

5 years ago
//========= 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