mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 22:27:05 +00:00
51 lines
1.1 KiB
C++
51 lines
1.1 KiB
C++
//========= 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");
|
|
}
|
|
|
|
|