mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
1
This commit is contained in:
50
utils/vgui_panel_zoo/SampleRadioButtons.cpp
Normal file
50
utils/vgui_panel_zoo/SampleRadioButtons.cpp
Normal file
@@ -0,0 +1,50 @@
|
||||
//========= 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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user