diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-01-24 05:38:13 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-01-24 05:38:13 +0000 |
commit | de4ef8a65afd0c38f8bbdfcb3b90ff82a98d1483 (patch) | |
tree | feefeaeb3734eaebdb5872609606edc84d6f8fa3 /Plugins/skins/SkinLib/FieldState.h | |
parent | be94a568ef65120465b49f5c6db90cd4ec3c3eb2 (diff) |
skins: fix for floats and added valign (not used yet)
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@133 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/skins/SkinLib/FieldState.h')
-rw-r--r-- | Plugins/skins/SkinLib/FieldState.h | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/Plugins/skins/SkinLib/FieldState.h b/Plugins/skins/SkinLib/FieldState.h index 201e12c..98c1f86 100644 --- a/Plugins/skins/SkinLib/FieldState.h +++ b/Plugins/skins/SkinLib/FieldState.h @@ -8,9 +8,16 @@ class DialogState; enum HORIZONTAL_ALIGN
{
- LEFT = 1,
- CENTER,
- RIGHT
+ HORIZONTAL_ALIGN_LEFT = 1,
+ HORIZONTAL_ALIGN_CENTER,
+ HORIZONTAL_ALIGN_RIGHT
+};
+
+enum VERTICAL_ALIGN
+{
+ VERTICAL_ALIGN_TOP = 1,
+ VERTICAL_ALIGN_CENTER,
+ VERTICAL_ALIGN_BOTTOM
};
@@ -61,6 +68,12 @@ public: virtual BorderState * getBorders();
virtual const BorderState * getBorders() const;
+ virtual HORIZONTAL_ALIGN getHAlign() const;
+ virtual void setHAlign(HORIZONTAL_ALIGN halign);
+
+ virtual VERTICAL_ALIGN getVAlign() const;
+ virtual void setVAlign(VERTICAL_ALIGN valign);
+
virtual bool isEmpty() const = 0;
// Results
@@ -82,6 +95,8 @@ protected: BorderState borders;
bool tooltipSet;
std::tstring tooltip;
+ HORIZONTAL_ALIGN halign;
+ VERTICAL_ALIGN valign;
int getHorizontalBorders() const;
int getVerticalBorders() const;
|