diff options
Diffstat (limited to 'src/installer/ui_license.fl')
-rw-r--r-- | src/installer/ui_license.fl | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/src/installer/ui_license.fl b/src/installer/ui_license.fl new file mode 100644 index 0000000..b26bd95 --- /dev/null +++ b/src/installer/ui_license.fl | |||
@@ -0,0 +1,80 @@ | |||
1 | # data file for the Fltk User Interface Designer (fluid) | ||
2 | version 1.0107 | ||
3 | header_name {.h} | ||
4 | code_name {.cxx} | ||
5 | decl {using namespace std;} {public | ||
6 | } | ||
7 | |||
8 | decl {\#include <string>} {public | ||
9 | } | ||
10 | |||
11 | class UI_License {open | ||
12 | } { | ||
13 | decl {char* currscreen;} {public | ||
14 | } | ||
15 | Function {make_window(char* p_currscreen)} {open | ||
16 | } { | ||
17 | Fl_Window {} { | ||
18 | label {HD24tools HD24VERSION - Setup Wizard} open selected | ||
19 | xywh {1302 140 590 350} type Double color 7 | ||
20 | code0 {currscreen=p_currscreen;} visible | ||
21 | } { | ||
22 | Fl_Box {} { | ||
23 | image {welcome.png} xywh {0 -137 165 487} | ||
24 | } | ||
25 | Fl_Box {} { | ||
26 | label {License Agreement} | ||
27 | xywh {175 -3 435 33} labelfont 1 labelsize 16 align 20 | ||
28 | } | ||
29 | Fl_Group agreedisagree {open | ||
30 | xywh {170 265 395 45} | ||
31 | } { | ||
32 | Fl_Round_Button agree { | ||
33 | label {I accept the terms in the license agreement} | ||
34 | callback {agree->value(1); | ||
35 | disagree->value(0); | ||
36 | button_next->activate();} | ||
37 | xywh {175 275 385 15} down_box ROUND_DOWN_BOX labelsize 12 | ||
38 | } | ||
39 | Fl_Round_Button disagree { | ||
40 | label {I do not accept the terms in the license agreement} | ||
41 | callback {agree->value(0); | ||
42 | disagree->value(1); | ||
43 | button_next->deactivate();} | ||
44 | xywh {175 290 385 20} down_box ROUND_DOWN_BOX value 1 labelsize 12 | ||
45 | } | ||
46 | } | ||
47 | Fl_Group {} {open | ||
48 | xywh {-5 315 620 35} box BORDER_BOX color 53 selection_color 47 | ||
49 | } { | ||
50 | Fl_Button button_next { | ||
51 | label {&Next >} | ||
52 | callback {currscreen="next\\0"; | ||
53 | Fl_Window* winx=Fl::first_window(); | ||
54 | winx->~Fl_Window();} | ||
55 | xywh {415 320 85 25} color 53 labelsize 12 | ||
56 | code0 {o->deactivate();} | ||
57 | } | ||
58 | Fl_Button {} { | ||
59 | label Cancel | ||
60 | callback {currscreen="cancel\\0"; | ||
61 | Fl_Window* winx=Fl::first_window(); | ||
62 | winx->~Fl_Window();} | ||
63 | xywh {505 320 85 25} color 53 labelsize 12 | ||
64 | } | ||
65 | Fl_Button {} { | ||
66 | label {< &Back} | ||
67 | callback {currscreen="back\\0"; | ||
68 | Fl_Window* winx=Fl::first_window(); | ||
69 | winx->~Fl_Window();} | ||
70 | xywh {330 320 85 25} color 53 labelsize 12 | ||
71 | } | ||
72 | } | ||
73 | Fl_Output {} { | ||
74 | label {Please read the following license agreement carefully.} | ||
75 | xywh {175 45 405 220} type Multiline labelsize 12 align 5 textsize 11 | ||
76 | code0 {o->value("HD24tools End User License Agreement\\n\\nThis program is SHAREWARE. You are hereby granted\\npermission to download and use this software free of\\ncharge, as well as to give away UNALTERED copies of it.\\n\\nThis program is provided in the hope that it\\nwill be useful, but comes with ABSOLUTELY NO WARRANTY.\\n\\nIf you find this program useful, please make a donation\\nto the author. For details, see\\nhttp://ringbreak.dnd.utwente.nl/~mrjb/hd24tools/\\n\\nThis software is not endorsed not affiliated by Alesis.");} | ||
77 | } | ||
78 | } | ||
79 | } | ||
80 | } | ||