summaryrefslogtreecommitdiff
path: root/common/about.hh
blob: 2a464838dc7c5bc6e0baf6555826d25fb3c1a368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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__