diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-01-06 05:45:37 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-01-06 05:45:37 +0000 |
commit | 3abd781670e4cd7a82d5ab2966ef9f8131535b54 (patch) | |
tree | 85cc3fcad80d491c706d77ed7a399cc17349dc6f /Plugins/skins/SkinLib/DialogState.h | |
parent | 30f9565911217d38cefda3920f55d183d8f6e219 (diff) |
skins:
Added border to fields
State is now got through interface
It works!
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@124 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/skins/SkinLib/DialogState.h')
-rw-r--r-- | Plugins/skins/SkinLib/DialogState.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Plugins/skins/SkinLib/DialogState.h b/Plugins/skins/SkinLib/DialogState.h index 08b98d6..e27fc92 100644 --- a/Plugins/skins/SkinLib/DialogState.h +++ b/Plugins/skins/SkinLib/DialogState.h @@ -18,6 +18,15 @@ public: std::vector<FieldState *> fields;
FieldState * getField(const char *name) const;
+ // Used inside script
+
+ virtual int getX() const;
+ virtual int getY() const;
+ virtual int getLeft() const;
+ virtual int getTop() const;
+ virtual int getRight() const;
+ virtual int getBottom() const;
+
int getWidth() const;
void setWidth(int width);
@@ -27,6 +36,11 @@ public: BorderState * getBorders();
const BorderState * getBorders() const;
+ // Results
+
+ RECT getInsideRect() const;
+ RECT getRect() const;
+
private:
DialogState(Dialog *dialog);
|