ultimatepp/bazaar/Form/FormLayout.hpp
cxl 80b2bedd73 bazaar: C++11 fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@9128 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-11-01 18:48:32 +00:00

37 lines
739 B
C++

#ifndef FORM_LAYOUT_HPP
#define FORM_LAYOUT_HPP
#include "FormObject.hpp"
class FormLayout : public XMLConfig, public Moveable<FormLayout>
{
typedef FormLayout CLASSNAME;
PARAMETER(Rect, PageRect);
PARAMETER(WithDeepCopy< Vector<FormObject> >, Objects);
public:
FormLayout();
FormLayout(const FormLayout& other)
{
*this <<= other;
}
FormLayout& operator<<=(const FormLayout& other)
{
WhenProgressBar = other.WhenProgressBar;
_PageRect = other.GetPageRect();
_Objects <<= other.GetObjects();
Name = other.Name;
Path = other.Path;
Map <<= other.Map;
return *this;
}
void Clear();
Size GetFormSize();
virtual void Xmlize(XmlIO xml);
};
#endif // .. FORM_LAYOUT_HPP