-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain_window.fl
92 lines (92 loc) · 2.93 KB
/
main_window.fl
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# data file for the Fltk User Interface Designer (fluid)
version 1.0308
header_name {.h}
code_name {.cxx}
class main_window {open
} {
Function {main_window()} {open
} {
Fl_Window NMLRootWindow {
label {NoMoreLeeches v0.1} open
xywh {1434 32 315 555} type Single labelfont 4 hide
} {
Fl_Button ToggleNMLButton {
label {Enable NML
(currently disabled)}
tooltip {Disable or enable NML.} xywh {10 10 140 60}
}
Fl_Text_Editor BlockedWindownamesEdit {
label {Blocked Window Classes (one per line)}
tooltip {If a window's class is in this list, it'll be blocked.} xywh {10 150 295 140} align 5
}
Fl_Text_Editor BlockedWildcardsEdit {
label {Blocked Wildcards (one per line)}
tooltip {If any of these strings are found in a window's name, that window will be blocked.} xywh {10 312 295 130} align 5
}
Fl_Button OpenUpdatePage {
label {Open Update Page}
callback {fl_open_uri("https://github.com/asolidtime/nomoreleeches/releases");}
tooltip {Opens NML's download page. Make sure to get the newest version!} xywh {165 10 140 20}
code0 {\#include <FL/filename.H>}
}
Fl_Button OpenAboutPage {
label {GitHub page}
callback {fl_open_uri("https://github.com/asolidtime/nomoreleeches/");} selected
tooltip {Show information about NML.} xywh {165 30 140 20}
}
Fl_Button SaveBlocklistButton {
label {Save Block Options}
xywh {165 50 140 20}
}
Fl_Text_Display {} {
label {Window Name:}
xywh {10 457 50 30} box NO_BOX labelsize 13 align 6
}
Fl_Text_Display {} {
label {Window Class:}
xywh {10 486 50 30} box NO_BOX labelsize 13 align 6
}
Fl_Output CurrentWindowNameOutput {
xywh {115 483 189 28} labeltype NO_LABEL labelfont 4 textfont 4 textsize 10
}
Fl_Output CurrentWindowClassOutput {
xywh {115 512 189 28} labeltype NO_LABEL labelfont 4 textfont 4 textsize 10
}
Fl_Choice ColorThemeChooser {
label {Color Theme:} open
xywh {105 107 200 20} down_box BORDER_BOX
} {
MenuItem {} {
label Dark
xywh {0 0 34 24}
}
MenuItem {} {
label Black
xywh {0 0 34 24}
}
MenuItem {} {
label Gray
xywh {0 0 34 24}
}
MenuItem {} {
label Tan
xywh {0 0 34 24}
}
MenuItem {} {
label Shake
xywh {0 0 34 24}
}
}
Fl_Button LockdownButton {
label {ENTER LOCKDOWN MODE}
xywh {10 75 295 25}
}
Fl_Input BlockedWindowDelayInput {
label {Blocked window delay:}
tooltip {The amount of time you'll need to wait before a blocked window is shown. Set this to a negative number to hide them forever.} xywh {170 448 135 28} type Int
}
}
}
Function {} {open
} {}
}