Skip to content

Commit 1ca268b

Browse files
Add Black Ops Cold War's GameExe
1 parent c522f75 commit 1ca268b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Lib/Shared/Gui/IconSelector.ahk

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
; @todo WIP, need to finish
2+
class IconSelector extends DialogBox {
3+
defaultValue := ""
4+
isPassword := false
5+
6+
__New(title, themeObj, text, defaultValue := "", windowKey := "", owner := "", parent := "", isPassword := false) {
7+
InvalidParameterException.CheckTypes("SingleInputBox", "defaultValue", defaultValue, "")
8+
this.defaultValue := defaultValue
9+
this.isPassword := isPassword
10+
super.__New(title, themeObj, text, windowKey, owner, parent, "*&OK|&Cancel")
11+
}
12+
13+
Controls() {
14+
super.Controls()
15+
}
16+
17+
ProcessResult(result) {
18+
value := "" ; Get the selected icon path
19+
result := (result == "OK") ? value : ""
20+
return super.ProcessResult(result)
21+
}
22+
}

0 commit comments

Comments
 (0)