summaryrefslogtreecommitdiff
path: root/plugins/Skins/SkinLib/ImageFieldState.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Skins/SkinLib/ImageFieldState.h')
-rw-r--r--plugins/Skins/SkinLib/ImageFieldState.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/Skins/SkinLib/ImageFieldState.h b/plugins/Skins/SkinLib/ImageFieldState.h
new file mode 100644
index 0000000000..493c4db16d
--- /dev/null
+++ b/plugins/Skins/SkinLib/ImageFieldState.h
@@ -0,0 +1,28 @@
+#ifndef __IMAGE_FIELD_STATE_H__
+# define __IMAGE_FIELD_STATE_H__
+
+#include "ImageField.h"
+#include "FieldState.h"
+
+
+class ImageFieldState : public FieldState
+{
+public:
+ virtual ~ImageFieldState();
+
+ virtual ImageField * getField() const;
+
+ virtual Size getPreferedSize() const;
+
+ virtual HBITMAP getImage() const;
+
+ virtual bool isEmpty() const;
+
+private:
+ ImageFieldState(DialogState *dialog, ImageField *field);
+
+ friend class ImageField;
+};
+
+
+#endif // __IMAGE_FIELD_STATE_H__ \ No newline at end of file