1
0
forked from 0ad/0ad
0ad/source/gui/CRadioButton.h

43 lines
719 B
C
Raw Normal View History

2004-05-29 06:06:50 +02:00
/*
GUI Object - Radio Button
--Overview--
GUI Object representing a radio button
--More info--
Check GUI.h
*/
#ifndef INCLUDED_CRADIOBUTTON
#define INCLUDED_CRADIOBUTTON
2004-05-29 06:06:50 +02:00
//--------------------------------------------------------
// Includes / Compiler directives
//--------------------------------------------------------
#include "GUI.h"
#include "CCheckBox.h"
/**
* Just like a check box, but it'll nullify its siblings (of the same kind),
* and it won't switch itself.
*
* @see CCheckBox
*/
class CRadioButton : public CCheckBox
{
GUI_OBJECT(CRadioButton)
public:
/**
* Handle Messages
*
* @param Message GUI Message
*/
virtual void HandleMessage(const SGUIMessage &Message);
};
#endif