comparison Libs/DF/textentry.xml @ 11:2f09fe4be15c

Added an Options Panel.
author Tercio
date Mon, 20 Apr 2015 16:34:18 -0300
parents
children 0682d738499b
comparison
equal deleted inserted replaced
10:f1e32be6773e 11:2f09fe4be15c
1 <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">
2
3 <Script file="textentry.lua"/>
4
5 <EditBox name="DetailsFrameworkEditBoxTemplate2" virtual="true">
6 <Size x="232" y="20"/>
7
8 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
9 <EdgeSize>
10 <AbsValue val="10"/>
11 </EdgeSize>
12 <TileSize>
13 <AbsValue val="16"/>
14 </TileSize>
15 <BackgroundInsets>
16 <AbsInset left="1" right="1" top="0" bottom="1"/>
17 </BackgroundInsets>
18 </Backdrop>
19
20 <Layers>
21
22 <Layer level="OVERLAY">
23 <!-- box description -->
24 <FontString name="$parent_Desc" text="" parentKey="label" inherits="GameFontHighlightSmall" justifyH="LEFT" nonspacewrap="false">
25 <Color r = "0.8" g = "0.8" b = "0.8" a = "1"/>
26 <Anchors>
27 <Anchor point="RIGHT" relativeTo="$parent" relativePoint="LEFT" x="-2" y="0" />
28 </Anchors>
29 </FontString>
30
31 </Layer>
32
33 </Layers>
34
35 </EditBox>
36
37 <ScrollFrame name="DetailsFrameworkEditBoxMultiLineTemplate" inherits="UIPanelScrollFrameTemplate" virtual="true">
38 <Size x="232" y="20"/>
39 <ScrollChild>
40 <EditBox name="$parentEditBox" multiLine="true" letters="255" autoFocus="false" countInvisibleLetters="true" parentKey="editbox">
41 <Size x="232" y="20"/>
42 <Anchors>
43 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" />
44 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT" />
45 <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT" />
46 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT" />
47 </Anchors>
48 <Scripts>
49 <OnTextChanged>
50 <!-- ScrollingEdit_OnTextChanged (self, self:GetParent()); -->
51 </OnTextChanged>
52 <OnCursorChanged function="ScrollingEdit_OnCursorChanged"/>
53 <OnUpdate>
54 <!-- ScrollingEdit_OnUpdate (self, elapsed, self:GetParent());-->
55 </OnUpdate>
56 <OnEscapePressed function="EditBox_ClearFocus"/>
57 </Scripts>
58 <FontString inherits="GameFontHighlightSmall"/>
59 </EditBox>
60 </ScrollChild>
61 </ScrollFrame>
62 </Ui>