forked from Courseplay/courseplay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
inputCourseNameDialogue.xml
75 lines (63 loc) · 2.25 KB
/
inputCourseNameDialogue.xml
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
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<GUI onOpen="onOpen" onClose="onClose" onEnterPressed="onEnterPressed">
<GuiElement name="background" type="bitmap" position="0px 300px" size="512px 128px" screenAlign="middleCenter" positionOrigin="middleCenter" imageFilename="shared/splash.png" MOD_imageDir="img/inputCourseNameGUI/" MOD_imageFilename="inputCourseName_bg.png" imageColor="1 1 1 1">
<!-- Title text -->
<GuiElement
name="titleText"
type="text"
onCreate="onCreateTitleText"
textSize="10px"
textBold="false"
textColor="0.95 0.95 0.95 1"
text="$CP_COURSEPLAY_COURSE_NAME,$CP_COURSEPLAY_FOLDER_NAME,$CP_COURSEPLAY_FILTER_COURSES"
screenAlign="topLeft" positionOrigin="topLeft" position="8px+10px -8px"
profile="textDefault"
/>
<GuiElement
name="textInput" type="textInput" text=""
screenAlign="topLeft" positionOrigin="topLeft" position="8px+32px -8px-13px"
size="432px 40px"
onCreate="onCreateTextInput" onEnterPressed="onEnterPressed" onTextChanged="onTextChanged" onIsUnicodeAllowed="onIsUnicodeAllowed"
maxInputTextWidth="432px"
maxCharacters="25"
focusId="1"
focusChangeRight="2"
focusChangeBottom="2"
focusInit="onOpen"
textColor="0.12 0.12 0.12 1"
textSelectedColor="0.12 0.12 0.12 1"
textSize="20px"
textBold="false"
textAlignment="left"
cursorFilename="g_baseUIFilename"
cursorUVs="176px 457px 208px 489px"
cursorOffset="4px 0px"
/>
<!-- Cancel With ESC -->
<GuiElement
name="titleText"
type="text"
onCreate="onCreateCancelText"
textSize="10px"
textBold="false"
textAlignment="left"
textColor="0.95 0.95 0.95 1"
text="$CP_COURSEPLAY_CANCEL_WITH"
screenAlign="bottomLeft" positionOrigin="bottomLeft" position="8px+10px 12px"
profile="textDefault"
/>
<!-- Save With Return -->
<GuiElement
name="titleText"
type="text"
onCreate="onCreateSaveText"
textSize="10px"
textBold="false"
textAlignment="right"
textColor="0.95 0.95 0.95 1"
text="$CP_COURSEPLAY_SAVE_COURSE_WITH,$CP_COURSEPLAY_SAVE_FOLDER_NAME_WITH,$CP_COURSEPLAY_FILTER_COURSE_WITH"
screenAlign="bottomRight" positionOrigin="bottomRight" position="-8px-10px 12px"
profile="textDefault"
/>
</GuiElement>
</GUI>