diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-11 17:09:09 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-11 17:09:09 +0000 |
commit | bb22e7b2a0af67cc65ce5179917b20e5977ed4ef (patch) | |
tree | 120e18f5a61144f3f632263e05cb49109f672615 /plugins/Skins/SkinLib/DialogState.h | |
parent | 3b8d44fb4646951be55b3777cbe30d3280867067 (diff) |
MyDetails reverted to older version that doesn't use Skins plugin
git-svn-id: http://svn.miranda-ng.org/main/trunk@905 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Skins/SkinLib/DialogState.h')
-rw-r--r-- | plugins/Skins/SkinLib/DialogState.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/plugins/Skins/SkinLib/DialogState.h b/plugins/Skins/SkinLib/DialogState.h deleted file mode 100644 index e27fc929da..0000000000 --- a/plugins/Skins/SkinLib/DialogState.h +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef __DIALOG_STATE_H__
-# define __DIALOG_STATE_H__
-
-#include "Dialog.h"
-#include "FieldState.h"
-#include "BorderState.h"
-
-
-/// This have to be deleted before the owning dialog
-/// It is responsible for freeing the FieldStates
-class DialogState
-{
-public:
- ~DialogState();
-
- Dialog * getDialog() const;
-
- 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);
-
- int getHeight() const;
- void setHeight(int height);
-
- BorderState * getBorders();
- const BorderState * getBorders() const;
-
- // Results
-
- RECT getInsideRect() const;
- RECT getRect() const;
-
-private:
- DialogState(Dialog *dialog);
-
- Dialog *dialog;
-
- Size size;
- BorderState borders;
-
- int getHorizontalBorders() const;
- int getVerticalBorders() const;
-
- friend class Dialog;
-};
-
-
-#endif // __DIALOG_STATE_H__
\ No newline at end of file |