1 //------------------------------------------------------------------------------ 2 // emRadioBox.h 3 // 4 // Copyright (C) 2005-2010,2014,2018 Oliver Hamann. 5 // 6 // Homepage: http://eaglemode.sourceforge.net/ 7 // 8 // This program is free software: you can redistribute it and/or modify it under 9 // the terms of the GNU General Public License version 3 as published by the 10 // Free Software Foundation. 11 // 12 // This program is distributed in the hope that it will be useful, but WITHOUT 13 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 14 // FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for 15 // more details. 16 // 17 // You should have received a copy of the GNU General Public License version 3 18 // along with this program. If not, see <http://www.gnu.org/licenses/>. 19 //------------------------------------------------------------------------------ 20 21 #ifndef emRadioBox_h 22 #define emRadioBox_h 23 24 #ifndef emRadioButton_h 25 #include <emCore/emRadioButton.h> 26 #endif 27 28 29 //============================================================================== 30 //================================= emRadioBox ================================= 31 //============================================================================== 32 33 class emRadioBox : public emRadioButton { 34 35 public: 36 37 // This is like emRadioButton, but with a different visualization: 38 // Instead of a push button, a small check box is shown with the label 39 // on the right. 40 41 emRadioBox( 42 ParentArg parent, const emString & name, 43 const emString & caption=emString(), 44 const emString & description=emString(), 45 const emImage & icon=emImage() 46 ); 47 48 virtual ~emRadioBox(); 49 }; 50 51 52 #endif 53