ultimatepp/bazaar/Form/FormLayout.hpp
koldo ac7821deb8 Form: Form core package, Editor and sample from Sc0rch
git-svn-id: svn://ultimatepp.org/upp/trunk@2412 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-05-19 18:38:45 +00:00

37 lines
723 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(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