Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.
 
 
 
 
 
 

50 lines
1.1 KiB

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "DemoPage.h"
#include <VGUI/IVGui.h>
#include <Keyvalues.h>
#include <vgui_controls/Controls.h>
using namespace vgui;
class SampleCheckButtons: public DemoPage
{
public:
SampleCheckButtons(Panel *parent, const char *name);
~SampleCheckButtons();
private:
};
//-----------------------------------------------------------------------------
// Purpose: Constructor
//-----------------------------------------------------------------------------
SampleCheckButtons::SampleCheckButtons(Panel *parent, const char *name) : DemoPage(parent, name)
{
LoadControlSettings("Demo/SampleCheckButtons.res");
}
//-----------------------------------------------------------------------------
// Purpose: Destructor
//-----------------------------------------------------------------------------
SampleCheckButtons::~SampleCheckButtons()
{
}
Panel* SampleCheckButtons_Create(Panel *parent)
{
return new SampleCheckButtons(parent, "Check buttons");
}