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.3 KiB

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#ifndef ATTRIBUTEDETAILTYPEPICKERPANEL_H
#define ATTRIBUTEDETAILTYPEPICKERPANEL_H
#ifdef _WIN32
#pragma once
#endif
#include "dme_controls/AttributeBasePickerPanel.h"
#include "matsys_controls/Picker.h"
//-----------------------------------------------------------------------------
// Forward declarations
//-----------------------------------------------------------------------------
class CPickerFrame;
//-----------------------------------------------------------------------------
// CAttributeDetailTypePickerPanel
//-----------------------------------------------------------------------------
class CAttributeDetailTypePickerPanel : public CAttributeBasePickerPanel
{
DECLARE_CLASS_SIMPLE( CAttributeDetailTypePickerPanel, CAttributeBasePickerPanel );
public:
CAttributeDetailTypePickerPanel( vgui::Panel *parent, const AttributeWidgetInfo_t &info );
~CAttributeDetailTypePickerPanel();
private:
// Reads the detail types
void AddDetailTypesToList( PickerList_t &list );
MESSAGE_FUNC_PARAMS( OnPicked, "Picked", kv );
virtual void ShowPickerDialog();
};
#endif // ATTRIBUTEDETAILTYPEPICKERPANEL_H