diff options
Diffstat (limited to 'plugins/Skins/SkinLib/IconFieldState.cpp')
-rw-r--r-- | plugins/Skins/SkinLib/IconFieldState.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/plugins/Skins/SkinLib/IconFieldState.cpp b/plugins/Skins/SkinLib/IconFieldState.cpp deleted file mode 100644 index fad1d67084..0000000000 --- a/plugins/Skins/SkinLib/IconFieldState.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include "globals.h"
-#include "IconFieldState.h"
-
-#define ICON_SIZE 16
-
-
-IconFieldState::IconFieldState(DialogState *dialog, IconField *field)
- : FieldState(dialog, field)
-{
-}
-
-IconFieldState::~IconFieldState()
-{
-}
-
-IconField * IconFieldState::getField() const
-{
- return (IconField *) FieldState::getField();
-}
-
-Size IconFieldState::getPreferedSize() const
-{
- if (getIcon() == NULL)
- return Size(0, 0);
-
- return Size(ICON_SIZE, ICON_SIZE);
-}
-
-HICON IconFieldState::getIcon() const
-{
- return getField()->getIcon();
-}
-
-bool IconFieldState::isEmpty() const
-{
- return getIcon() == NULL;
-}
\ No newline at end of file |