1 //------------------------------------------------------------------------------
2 // emPackGroup.h
3 //
4 // Copyright (C) 2015,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 emPackGroup_h
22 #define emPackGroup_h
23 
24 #ifndef emPackLayout_h
25 #include <emCore/emPackLayout.h>
26 #endif
27 
28 
29 //==============================================================================
30 //================================ emPackGroup =================================
31 //==============================================================================
32 
33 class emPackGroup : public emPackLayout {
34 
35 public:
36 
37 	// Class for a group of panels which are laid out by a pack algorithm.
38 	// This is just like emPackLayout, but it has a group border and it is
39 	// focusable.
40 
41 	emPackGroup(
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 ~emPackGroup();
49 };
50 
51 
52 #endif
53