summaryrefslogtreecommitdiff
path: root/public/dme_controls/filtercombobox.h
blob: 81e47cf24843ad5765f033e3824a824949624e91 (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
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
//=============================================================================

#ifndef FILTERCOMBOBOX_H
#define FILTERCOMBOBOX_H

#ifdef _WIN32
#pragma once
#endif

#include "vgui_controls/combobox.h"


//-----------------------------------------------------------------------------
// Combo box that adds entry to its history when focus is lost
//-----------------------------------------------------------------------------
class CFilterComboBox : public vgui::ComboBox
{
	DECLARE_CLASS_SIMPLE( CFilterComboBox, vgui::ComboBox );

public:
	CFilterComboBox( Panel *parent, const char *panelName, int numLines, bool allowEdit );
	virtual void OnKillFocus();
};


#endif // FILTERCOMBOBOX_H