1 //------------------------------------------------------------------------------ 2 // emGroup.h 3 // 4 // Copyright (C) 2005-2010,2014-2015,2020 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 emGroup_h 22 #define emGroup_h 23 24 #ifndef emTiling_h 25 #include <emCore/emTiling.h> 26 #endif 27 28 29 //============================================================================== 30 //================================== emGroup =================================== 31 //============================================================================== 32 33 class emGroup : public emTiling { 34 35 public: 36 37 // ********************************************************************* 38 // * WARNING!!! * 39 // * * 40 // * This class is deprecated and will be removed in a future version. * 41 // * Please use emLinearGroup, emRasterGroup or emPackGroup instead. * 42 // ********************************************************************* 43 // 44 // Class for a group of panels. Any user-created child panels are laid 45 // out automatically. This is just like emTiling, but it has a group 46 // border and it is focusable. 47 48 EM_DEPRECATED( // Because the whole class is deprecated! 49 emGroup( 50 ParentArg parent, const emString & name, 51 const emString & caption=emString(), 52 const emString & description=emString(), 53 const emImage & icon=emImage() 54 ) 55 ); 56 57 virtual ~emGroup(); 58 59 protected: 60 // Only for emRadioButton::Group: 61 emGroup( 62 ParentArg parent, const emString & name, 63 const emString & caption, 64 const emString & description, 65 const emImage & icon, 66 int notWarningDeprecatedForInternalUse 67 ); 68 }; 69 70 71 #endif 72