group with internal panel and place

Non tested
This commit is contained in:
qPCR4vir
2015-04-13 01:59:30 +02:00
parent d13677f703
commit ae2a2aeec4
2 changed files with 49 additions and 4 deletions

View File

@@ -27,11 +27,21 @@ namespace nana{
class group
: public panel<true>
{
place plc_outer{*this};
panel<false> content {*this};
label titel/* {*this}*/;
place plc_inner{content};
unsigned int gap;
public:
group( widget &owner, ///<
string titel_ ={}, ///<
bool format =false, ///< Use a formated label?
unsigned gap =2, ///< betwen the content and the external limit
rectangle r ={} ///<
);
place& plc (){ return plc_inner; }
window inner(){ return content; }
};
}//end namespace nana
#endif