forked from Courseplay/courseplay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinputCourseNameDialogue.xml
17 lines (14 loc) · 1008 Bytes
/
inputCourseNameDialogue.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<GUI name="inputCourseNameDialogue" onOpen="onOpen" onClose="onClose">
<GuiElement type="empty" profile="newLayer" />
<GuiElement type="bitmap" profile="dialogFullscreenBg" />
<GuiElement type="bitmap" profile="dialogBg" id="dialogElement">
<GuiElement type="text" profile="dialogTitle" text="$l10n_COURSEPLAY_COURSE_NAME" id="titleTextElement" position="0px -50px" />
<!-- not sure if the onFocus onLeave is needed -->
<GuiElement type="textInput" profile="dialogTextInput" id="textInputElement" onEnterPressed="onEnterPressed" onTextChanged="onTextChanged" onEscPressed="onEscPressed" onLeave="onInputLeave" focusInit="onOpen"/>
<GuiElement type="flowLayout" profile="buttonBoxDialog">
<GuiElement type="button" profile="buttonBack" text="$l10n_button_back" onClick="onCancelClick"/>
<GuiElement type="button" profile="buttonOK" text="$l10n_button_save" onClick="onClickOk" id="buttonSave"/>
</GuiElement>
</GuiElement>
</GUI>