blob: 24dbff532f8a71cc31bf66ce8782f8d6f909875a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef COMMANDCHECKBUTTON_H
#define COMMANDCHECKBUTTON_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui_controls/CheckButton.h>
class CCommandCheckButton : public vgui::CheckButton
{
public:
CCommandCheckButton( vgui::Panel *parent, const char *panelName, const char *text, const char *downcmd, const char *upcmd );
~CCommandCheckButton();
// virtual void OnCheckButtonChecked(vgui::Panel *panel);
virtual void SetSelected( bool state );
private:
typedef vgui::CheckButton BaseClass;
char *m_pszDown;
char *m_pszUp;
};
#endif // COMMANDCHECKBUTTON_H
|