summaryrefslogtreecommitdiff
path: root/plugins/Skins/SkinLib/ButtonFieldState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Skins/SkinLib/ButtonFieldState.cpp')
-rw-r--r--plugins/Skins/SkinLib/ButtonFieldState.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/plugins/Skins/SkinLib/ButtonFieldState.cpp b/plugins/Skins/SkinLib/ButtonFieldState.cpp
deleted file mode 100644
index 986484b20b..0000000000
--- a/plugins/Skins/SkinLib/ButtonFieldState.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
-#include "globals.h"
-#include "ButtonFieldState.h"
-
-ButtonFieldState::ButtonFieldState(DialogState *dialog, ControlField *field)
- : ControlFieldState(dialog, field)
-{
-}
-
-ButtonFieldState::~ButtonFieldState()
-{
-}
-
-Size ButtonFieldState::getPreferedSize() const
-{
- Size ret = getTextPreferedSize(DT_SINGLELINE);
-
- int border = getField()->getBorderSize();
- ret.x += 2 * border;
- ret.y += 2 * border;
-
- ret.x += 12;
- ret.y += 10;
-
- return ret;
-}
-
-bool ButtonFieldState::isEmpty() const
-{
- return false;
-} \ No newline at end of file