source-engine/public/dme_controls/AttributeSoundPickerPanel.h

42 lines
1.1 KiB
C
Raw Normal View History

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