summaryrefslogtreecommitdiff
path: root/public/dme_controls/attributedetailtypepickerpanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'public/dme_controls/attributedetailtypepickerpanel.h')
-rw-r--r--public/dme_controls/attributedetailtypepickerpanel.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/public/dme_controls/attributedetailtypepickerpanel.h b/public/dme_controls/attributedetailtypepickerpanel.h
new file mode 100644
index 0000000..4f6c946
--- /dev/null
+++ b/public/dme_controls/attributedetailtypepickerpanel.h
@@ -0,0 +1,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