summaryrefslogtreecommitdiff
path: root/plugins/Skins/SkinLib/ButtonField.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Skins/SkinLib/ButtonField.cpp')
-rw-r--r--plugins/Skins/SkinLib/ButtonField.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/Skins/SkinLib/ButtonField.cpp b/plugins/Skins/SkinLib/ButtonField.cpp
new file mode 100644
index 0000000000..e6c82ba5e3
--- /dev/null
+++ b/plugins/Skins/SkinLib/ButtonField.cpp
@@ -0,0 +1,22 @@
+#include "globals.h"
+#include "ButtonField.h"
+#include "ButtonFieldState.h"
+
+
+ButtonField::ButtonField(Dialog *dlg, const char *name, HWND hwnd) : ControlField(dlg, name, hwnd)
+{
+}
+
+ButtonField::~ButtonField()
+{
+}
+
+FieldType ButtonField::getType() const
+{
+ return CONTROL_BUTTON;
+}
+
+FieldState * ButtonField::createState(DialogState *dialogState)
+{
+ return new ButtonFieldState(dialogState, this);
+} \ No newline at end of file