summaryrefslogtreecommitdiff
path: root/osframework/source/SexyAppFramework/DialogButton.h
diff options
context:
space:
mode:
Diffstat (limited to 'osframework/source/SexyAppFramework/DialogButton.h')
-rw-r--r--osframework/source/SexyAppFramework/DialogButton.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/osframework/source/SexyAppFramework/DialogButton.h b/osframework/source/SexyAppFramework/DialogButton.h
new file mode 100644
index 0000000..5fe94a1
--- /dev/null
+++ b/osframework/source/SexyAppFramework/DialogButton.h
@@ -0,0 +1,24 @@
+#ifndef __DIALOGBUTTON_H__
+#define __DIALOGBUTTON_H__
+
+#include "ButtonWidget.h"
+
+namespace Sexy
+{
+
+class DialogButton : public ButtonWidget
+{
+public:
+ Image* mComponentImage;
+ int mTranslateX, mTranslateY;
+ int mTextOffsetX, mTextOffsetY;
+
+public:
+ DialogButton(Image* theComponentImage, int theId, ButtonListener* theListener);
+
+ virtual void Draw(Graphics* g);
+};
+
+}
+
+#endif //__DIALOGBUTTON_H__ \ No newline at end of file