upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
@@ -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