| Rev | Line | |
|---|
| [25392] | 1 | /* Copyright (C) 2021 Wildfire Games.
|
|---|
| [27965] | 2 | * This file is part of 0 A.D.
|
|---|
| [6830] | 3 | *
|
|---|
| [27965] | 4 | * 0 A.D. is free software: you can redistribute it and/or modify
|
|---|
| [6830] | 5 | * it under the terms of the GNU General Public License as published by
|
|---|
| 6 | * the Free Software Foundation, either version 2 of the License, or
|
|---|
| 7 | * (at your option) any later version.
|
|---|
| 8 | *
|
|---|
| [27965] | 9 | * 0 A.D. is distributed in the hope that it will be useful,
|
|---|
| [6830] | 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 12 | * GNU General Public License for more details.
|
|---|
| 13 | *
|
|---|
| 14 | * You should have received a copy of the GNU General Public License
|
|---|
| [27965] | 15 | * along with 0 A.D. If not, see <http://www.gnu.org/licenses/>.
|
|---|
| [6830] | 16 | */
|
|---|
| 17 |
|
|---|
| [5040] | 18 | #ifndef INCLUDED_CRADIOBUTTON
|
|---|
| 19 | #define INCLUDED_CRADIOBUTTON
|
|---|
| [290] | 20 |
|
|---|
| [23028] | 21 | #include "gui/ObjectTypes/CCheckBox.h"
|
|---|
| [290] | 22 |
|
|---|
| 23 | /**
|
|---|
| [25392] | 24 | * Just like a check box, but it'll nullify its siblings,
|
|---|
| [290] | 25 | * and it won't switch itself.
|
|---|
| [16931] | 26 | *
|
|---|
| [290] | 27 | * @see CCheckBox
|
|---|
| 28 | */
|
|---|
| 29 | class CRadioButton : public CCheckBox
|
|---|
| 30 | {
|
|---|
| 31 | GUI_OBJECT(CRadioButton)
|
|---|
| 32 |
|
|---|
| 33 | public:
|
|---|
| [22741] | 34 | CRadioButton(CGUI& pGUI);
|
|---|
| [22587] | 35 |
|
|---|
| [290] | 36 | /**
|
|---|
| [9340] | 37 | * @see IGUIObject#HandleMessage()
|
|---|
| [290] | 38 | */
|
|---|
| [16931] | 39 | virtual void HandleMessage(SGUIMessage& Message);
|
|---|
| [290] | 40 | };
|
|---|
| 41 |
|
|---|
| [16931] | 42 | #endif // INCLUDED_CRADIOBUTTON
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.