aboutsummaryrefslogtreecommitdiff
path: root/src/installer/ui_askpasswd.fl
diff options
context:
space:
mode:
Diffstat (limited to 'src/installer/ui_askpasswd.fl')
-rw-r--r--src/installer/ui_askpasswd.fl78
1 files changed, 78 insertions, 0 deletions
diff --git a/src/installer/ui_askpasswd.fl b/src/installer/ui_askpasswd.fl
new file mode 100644
index 0000000..f27357c
--- /dev/null
+++ b/src/installer/ui_askpasswd.fl
@@ -0,0 +1,78 @@
1# data file for the Fltk User Interface Designer (fluid)
2version 1.0107
3header_name {.h}
4code_name {.cxx}
5decl {using namespace std;} {public
6}
7
8decl {\#include <string>} {public
9}
10
11class UI_Askpasswd {open
12} {
13 decl {char* currscreen;} {public
14 }
15 decl {char* instdir;} {public
16 }
17 Function {make_window(char* p_currscreen,char* p_instdir)} {open
18 } {
19 Fl_Window {} {
20 label {HD24tools HD24VERSION - Setup Wizard} open selected
21 xywh {1246 284 590 350} type Double color 7
22 code0 {currscreen=p_currscreen;}
23 code1 {instdir=p_instdir;} visible
24 } {
25 Fl_Box {} {
26 image {welcome.png} xywh {0 -137 165 487}
27 }
28 Fl_Button {} {
29 label {&Browse...}
30 xywh {505 191 80 20} color 53 labelsize 12
31 }
32 Fl_Box {} {
33 label {Please enter your password}
34 xywh {175 -3 320 33} labelfont 1 labelsize 16 align 20
35 }
36 Fl_Group {} {open
37 xywh {-5 315 620 35} box BORDER_BOX color 53 selection_color 47
38 } {
39 Fl_Button button_next {
40 label {&Next >}
41 callback {currscreen="next\\0";
42Fl_Window* winx=Fl::first_window();
43winx->~Fl_Window();}
44 xywh {415 320 85 25} color 53 labelsize 12
45 }
46 Fl_Button {} {
47 label Cancel
48 callback {currscreen="cancel\\0";
49Fl_Window* winx=Fl::first_window();
50winx->~Fl_Window();}
51 xywh {505 320 85 25} color 53 labelsize 12
52 }
53 Fl_Button {} {
54 label {< &Back}
55 callback {currscreen="back\\0";
56Fl_Window* winx=Fl::first_window();
57winx->~Fl_Window();}
58 xywh {330 320 85 25} color 53 labelsize 12
59 }
60 }
61 Fl_Output password {
62 xywh {175 191 325 20} labelsize 12 align 5 textsize 11
63 }
64 Fl_Box {} {
65 label {The setup wizard needs administrator privileges to allow
66writing to the folder where some HD24tools components
67need to be installed.
68
69Please enter your password to allow the setup wizard
70to access this folder.
71
72Alternatively, if you are an experienced user, you can
73temporarily enable write access to the library directory.}
74 xywh {175 38 405 149} labelsize 12 align 21
75 }
76 }
77 }
78}