blob: 4f6c9463c25d719de11f84a380121ccb5c5b4d97 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
//========= 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
|