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.
51 lines
1.1 KiB
51 lines
1.1 KiB
![]()
4 years ago
|
//========= 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 SampleRadioButtons: public DemoPage
|
||
|
{
|
||
|
public:
|
||
|
SampleRadioButtons(Panel *parent, const char *name);
|
||
|
~SampleRadioButtons();
|
||
|
|
||
|
private:
|
||
|
|
||
|
};
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Purpose: Constructor
|
||
|
//-----------------------------------------------------------------------------
|
||
|
SampleRadioButtons::SampleRadioButtons(Panel *parent, const char *name) : DemoPage(parent, name)
|
||
|
{
|
||
|
LoadControlSettings("Demo/SampleRadioButtons.res");
|
||
|
}
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Purpose: Destructor
|
||
|
//-----------------------------------------------------------------------------
|
||
|
SampleRadioButtons::~SampleRadioButtons()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Panel* SampleRadioButtons_Create(Panel *parent)
|
||
|
{
|
||
|
return new SampleRadioButtons(parent, "Radio buttons");
|
||
|
}
|
||
|
|
||
|
|