forked from Courseplay/courseplay
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinputCourseNameDialogue.xml
More file actions
112 lines (100 loc) · 3.32 KB
/
inputCourseNameDialogue.xml
File metadata and controls
112 lines (100 loc) · 3.32 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<GUI onOpen="onOpen" onClose="onClose" onEnterPressed="onEnterPressed">
<GuiElement name="background" type="bitmap" position="0.4096 0.8" size="0.2667 0.1185" imageFilename="dataS2/menu/dialog_bg.png" MOD_imageDir="img/inputCourseNameGUI/" MOD_imageFilename="inputCourseName_bg.png" imageColor="1 1 1 1">
<!-- Title text -->
<GuiElement
name="titleText"
type="text"
profile="defaultText"
position="0.006 0.065"
onCreate="onCreateTitleText"
size="0.8 1"
textSize="0.015"
text2Size="0"
textOffset="0 0"
textColor="0.95 0.95 0.95 1"
textBold="false"
text="$CP_CPCourseName,$CP_CPFolderName,$CP_CPFilterFor"
textWrapWidth="0.8"
alignment="left"
/>
<!-- Text input -->
<GuiElement
name="textInput"
type="textInput"
profile="defaultTextInput"
position="0 0"
size="0.2667 0.1185"
text=""
onCreate="onCreateTextInput"
onEnterPressed="onEnterPressed"
onTextChanged="onTextChanged"
onIsUnicodeAllowed="onIsUnicodeAllowed"
maxCharacters="25"
focusId="1"
focusChangeRight="2"
focusChangeBottom="2"
focusInit="onOpen"
textColor="0.15 0.15 0.15 1"
textSize="0.017"
textBold="false"
textOffset="0.0085 0.038"
text2Size="0"
MOD_imageDir="img/inputCourseNameGUI/"
MOD_imageFilename="inputCourseName_input_normal.png"
MOD_imageFocusedFilename="inputCourseName_input_focused.png"
MOD_imagePressedFilename="inputCourseName_input_focused.png"
/>
<!-- Cancel button -->
<GuiElement
name="cancelButton"
type="button"
profile="defaultButton"
position="0.1410 0.01"
size="0.01354167 0.02407"
text=""
onCreate="onCreateCancelButton"
onClick="onCancelClick"
focusId="2"
focusChangeLeft="1"
focusChangeRight="3"
focusChangeTop="1"
textColor="0.1 0.1 0.1 1"
textDisabledColor="0.1 0.1 0.1 0.4"
textOffset="0 0"
textSize="0.026"
textBold="false"
text2Size="0"
MOD_imageDir="img/inputCourseNameGUI/"
MOD_imageFilename="inputCourseName_cancelButton_normal.png"
MOD_imageFocusedFilename="inputCourseName_cancelButton_focused.png"
MOD_imagePressedFilename="inputCourseName_cancelButton_pressed.png"
/>
<!-- Save button -->
<GuiElement
name="saveButton"
type="button"
profile="defaultButton"
position="0.1590 0.01"
size="0.01354167 0.02407"
text=""
onCreate="onCreateSaveButton"
onClick="onSaveClick"
focusId="3"
focusChangeLeft="2"
focusChangeTop="1"
disabled="true"
textColor="0.1 0.1 0.1 1"
textDisabledColor="0.1 0.1 0.1 0.4"
textOffset="0 0"
textSize="0.026"
textBold="false"
text2Size="0"
MOD_imageDir="img/inputCourseNameGUI/"
MOD_imageFilename="$course:inputCourseName_saveButton_normal.png,$folder:$course,$filter:inputCourseName_searchButton_normal.png"
MOD_imageFocusedFilename="$course:inputCourseName_saveButton_focused.png,$folder:$course,$filter:inputCourseName_searchButton_focused.png"
MOD_imagePressedFilename="$course:inputCourseName_saveButton_pressed.png,$folder:$course,$filter:inputCourseName_searchButton_pressed.png"
MOD_imageDisabledFilename="$course:inputCourseName_saveButton_disabled.png,$folder:$course,$filter:inputCourseName_searchButton_disabled.png"
/>
</GuiElement>
</GUI>