mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-09-01 15:09:19 +00:00
upload "kind" alien swarm
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
#ifndef _INCLUDED_KV_NODE_PANEL_H
|
||||
#define _INCLUDED_KV_NODE_PANEL_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include "kv_fit_children_panel.h"
|
||||
|
||||
namespace vgui
|
||||
{
|
||||
class Label;
|
||||
class Button;
|
||||
};
|
||||
|
||||
// a vgui panel for showing a generic leaf
|
||||
class CKV_Node_Panel : public CKV_Fit_Children_Panel
|
||||
{
|
||||
DECLARE_CLASS_SIMPLE( CKV_Node_Panel, CKV_Fit_Children_Panel );
|
||||
|
||||
public:
|
||||
CKV_Node_Panel( Panel *parent, const char *name);
|
||||
|
||||
virtual void PerformLayout();
|
||||
virtual void UpdatePanel();
|
||||
virtual void ApplySchemeSettings(vgui::IScheme *pScheme);
|
||||
virtual void OnCommand( const char *command );
|
||||
|
||||
vgui::Label *m_pLabel;
|
||||
|
||||
vgui::Button* m_pDeleteButton;
|
||||
CUtlVector<vgui::Button*> m_pAddButtons;
|
||||
|
||||
MESSAGE_FUNC_CHARPTR( OnAddButtonPressed, "AddButtonPressed", szKeyName );
|
||||
|
||||
CPanelAnimationVarAliasType( int, m_iLabelInsetX, "LabelInsetX", "2", "proportional_int" );
|
||||
CPanelAnimationVarAliasType( int, m_iLabelInsetY, "LabelInsetY", "2", "proportional_int" );
|
||||
};
|
||||
|
||||
|
||||
#endif // _INCLUDED_KV_NODE_PANEL_H
|
||||
Reference in New Issue
Block a user