summaryrefslogtreecommitdiff
path: root/plugins/Skins/SkinLib/ImageFieldState.h
blob: 493c4db16d2b8af4c98c49cd85e7732e8bd9c9f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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__