aboutsummaryrefslogtreecommitdiff
path: root/src/installer/ui_askpasswd.fl
blob: f27357c0d255e9e494ad41ea82d4341179a86f51 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# data file for the Fltk User Interface Designer (fluid)
version 1.0107 
header_name {.h} 
code_name {.cxx}
decl {using namespace std;} {public
} 

decl {\#include <string>} {public
} 

class UI_Askpasswd {open
} {
  decl {char* currscreen;} {public
  }
  decl {char* instdir;} {public
  }
  Function {make_window(char* p_currscreen,char* p_instdir)} {open
  } {
    Fl_Window {} {
      label {HD24tools HD24VERSION - Setup Wizard} open selected
      xywh {1246 284 590 350} type Double color 7
      code0 {currscreen=p_currscreen;}
      code1 {instdir=p_instdir;} visible
    } {
      Fl_Box {} {
        image {welcome.png} xywh {0 -137 165 487}
      }
      Fl_Button {} {
        label {&Browse...}
        xywh {505 191 80 20} color 53 labelsize 12
      }
      Fl_Box {} {
        label {Please enter your password}
        xywh {175 -3 320 33} labelfont 1 labelsize 16 align 20
      }
      Fl_Group {} {open
        xywh {-5 315 620 35} box BORDER_BOX color 53 selection_color 47
      } {
        Fl_Button button_next {
          label {&Next >}
          callback {currscreen="next\\0";
Fl_Window* winx=Fl::first_window();
winx->~Fl_Window();}
          xywh {415 320 85 25} color 53 labelsize 12
        }
        Fl_Button {} {
          label Cancel
          callback {currscreen="cancel\\0";
Fl_Window* winx=Fl::first_window();
winx->~Fl_Window();}
          xywh {505 320 85 25} color 53 labelsize 12
        }
        Fl_Button {} {
          label {< &Back}
          callback {currscreen="back\\0";
Fl_Window* winx=Fl::first_window();
winx->~Fl_Window();}
          xywh {330 320 85 25} color 53 labelsize 12
        }
      }
      Fl_Output password {
        xywh {175 191 325 20} labelsize 12 align 5 textsize 11
      }
      Fl_Box {} {
        label {The setup wizard needs administrator privileges to allow
writing to the folder where some HD24tools components
need to be installed.

Please enter your password to allow the setup wizard
to access this folder.

Alternatively, if you are an experienced user, you can
temporarily enable write access to the library directory.}
        xywh {175 38 405 149} labelsize 12 align 21
      }
    }
  }
}