mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-09-01 23:19:18 +00:00
upload "kind" alien swarm
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
#ifndef _INCLUDED_KV_COMBO_LEAF_PANEL_H
|
||||
#define _INCLUDED_KV_COMBO_LEAF_PANEL_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include "kv_editor_base_panel.h"
|
||||
|
||||
namespace vgui
|
||||
{
|
||||
class TextEntry;
|
||||
class Label;
|
||||
class ComboBox;
|
||||
};
|
||||
|
||||
// a vgui panel for showing a generic leaf
|
||||
class CKV_Combo_Leaf_Panel : public CKV_Editor_Base_Panel
|
||||
{
|
||||
DECLARE_CLASS_SIMPLE( CKV_Combo_Leaf_Panel, CKV_Editor_Base_Panel );
|
||||
|
||||
public:
|
||||
CKV_Combo_Leaf_Panel( Panel *parent, const char *name);
|
||||
|
||||
virtual void PerformLayout();
|
||||
virtual void UpdatePanel();
|
||||
virtual void ApplySchemeSettings(vgui::IScheme *pScheme);
|
||||
virtual void OnCommand( const char *command );
|
||||
|
||||
MESSAGE_FUNC_PTR( OnTextChanged, "TextChanged", panel );
|
||||
vgui::ComboBox *m_pCombo;
|
||||
vgui::Label *m_pLabel;
|
||||
vgui::Button* m_pDeleteButton;
|
||||
bool m_bIntegerChoice; // if set to true, this combo box represents an enum or some choice of integers, rather than a list of strings
|
||||
};
|
||||
|
||||
|
||||
#endif // _INCLUDED_KV_COMBO_LEAF_PANEL_H
|
||||
Reference in New Issue
Block a user