15
15
* You should have received a copy of the GNU General Public License
16
16
* along with wxSmith. If not, see <http://www.gnu.org/licenses/>.
19
* $Id: wxssizerflagsproperty.h 4850 2008-01-29 21:45:49Z byo $
20
* $HeadURL: svn://svn.berlios.de/codeblocks/tags/8.02/src/plugins/contrib/wxSmith/wxwidgets/properties/wxssizerflagsproperty.h $
19
* $Id: wxssizerflagsproperty.h 5796 2009-09-16 12:09:22Z mortenmacfly $
20
* $HeadURL: svn+ssh://jenslody@svn.berlios.de/svnroot/repos/codeblocks/trunk/src/plugins/contrib/wxSmith/wxwidgets/properties/wxssizerflagsproperty.h $
23
23
#ifndef WXSSIZERFLAGSPROPERTY_H
40
40
static const long BorderBottom = 0x0002;
41
41
static const long BorderLeft = 0x0004;
42
42
static const long BorderRight = 0x0008;
43
static const long Expand = 0x0010;
44
static const long Shaped = 0x0020;
45
static const long FixedMinSize = 0x0040;
46
static const long AlignLeft = 0x0080;
47
static const long AlignRight = 0x0100;
48
static const long AlignTop = 0x0200;
49
static const long AlignBottom = 0x0400;
50
static const long AlignCenterVertical = 0x0800;
51
static const long AlignCenterHorizontal = 0x1000;
43
static const long BorderAll = 0x0010;
44
static const long BorderPrevAll = 0x0020;
45
static const long Expand = 0x0040;
46
static const long Shaped = 0x0080;
47
static const long FixedMinSize = 0x0100;
48
static const long AlignLeft = 0x0200;
49
static const long AlignRight = 0x0400;
50
static const long AlignTop = 0x0800;
51
static const long AlignBottom = 0x1000;
52
static const long AlignCenterVertical = 0x2000;
53
static const long AlignCenterHorizontal = 0x4000;
54
56
* \param Offset offset to long handling border flags
55
57
* \param Priority priority of this property
57
wxsSizerFlagsProperty(long Offset,int Priority);
59
wxsSizerFlagsProperty(long Offset,int Priority);
59
61
/** \brief Returning type of this property */
60
62
virtual const wxString GetTypeName() { return _T("SizerFlags"); }
85
static const long BorderAll = 0x10000;
86
static const long BorderPrevAll = 0x20000;
88
87
static const long BorderMask = BorderTop|BorderBottom|BorderLeft|BorderRight;
89
88
static const long AlignHMask = AlignLeft|AlignRight|AlignCenterHorizontal;
90
89
static const long AlignVMask = AlignTop|AlignBottom|AlignCenterVertical;