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.
32 lines
791 B
32 lines
791 B
//========= 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 |
|
|
|
|
|
|