summaryrefslogtreecommitdiff
path: root/common/about.hh
diff options
context:
space:
mode:
Diffstat (limited to 'common/about.hh')
-rw-r--r--common/about.hh30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/about.hh b/common/about.hh
new file mode 100644
index 0000000..2a46483
--- /dev/null
+++ b/common/about.hh
@@ -0,0 +1,30 @@
+#ifndef __COMMON_ABOUT_HH__
+#define __COMMON_ABOUT_HH__
+
+#include <FL/Fl_Window.H>
+
+namespace rtfl {
+
+namespace common {
+
+class AboutWindow: public Fl_Window
+{
+private:
+ char *title, *text;
+
+ static void close (Fl_Widget *widget, void *data);
+
+ enum { WIDTH = 450, BUTTON_WIDTH = 80, BUTTON_HEIGHT = 25, SPACE = 10 };
+
+public:
+ enum { HEIGHT_SIMPLE = 300, HEIGHT_EXCEPTION = 480 };
+
+ AboutWindow (const char *prgName, const char *licenceException, int height);
+ ~AboutWindow ();
+};
+
+} // namespace common
+
+} // namespace rtfl
+
+#endif // __COMMON_ABOUT_HH__