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

47 lines
764 B
C
Raw Normal View History

2004-05-29 06:06:50 +02:00
/*
GUI Object - Radio Button
by Gustav Larsson
gee@pyro.nu
--Overview--
GUI Object representing a radio button
--More info--
Check GUI.h
*/
#ifndef CRadioButton_H
#define CRadioButton_H
//--------------------------------------------------------
// Includes / Compiler directives
//--------------------------------------------------------
#include "GUI.h"
#include "CCheckBox.h"
/**
* @author Gustav Larsson
*
* 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