/trunk
..\FrameXML\UI.xsd"> |
<Script file="localization.lua"/> |
<Script file="PlayerXPBar.lua"/> |
<Frame name="PlayerXPBar" parent="UIParent" movable="true" enableMouse="true" frameStrata="BACKGROUND" inherits="BackdropTemplate"> |
<Frame name="PlayerXPBar" parent="UIParent" movable="true" enableMouse="true" frameStrata="BACKGROUND"> |
<Size> |
<AbsDimension x="128" y="20"/> |
</Size> |
</Offset> |
</Anchor> |
</Anchors> |
<KeyValues> |
<KeyValue key="backdropInfo" value="BACKDROP_PLAYERXPBAR_16" type="global"/> |
</KeyValues> |
<Backdrop bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
<EdgeSize> |
<AbsValue val="16"/> |
</EdgeSize> |
<BackgroundInsets> |
<AbsInset left="4" right="4" top="4" bottom="4"/> |
</BackgroundInsets> |
</Backdrop> |
<Frames> |
<Button name="PlayerXPBarInfo" frameStrata="HIGH"> |
<Size> |
<OnLeave> |
PlayerXPBarButton_Leave(); |
</OnLeave> |
<OnLoad inherit="prepend"> |
<OnLoad> |
PlayerXPBarButton_OnLoad(self); |
</OnLoad> |
</Scripts> |
PlayerXPBar_Player = {}; |
PlayerXPBar_MaxLevel = 0; |
BACKDROP_PLAYERXPBAR_16 = { |
bgFile = "Interface\\TutorialFrame\\TutorialFrameBackground", |
edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", |
tile = true, |
edgeSize = 16, |
insets = { left = 4, right = 4, top = 4, bottom = 4 }, |
} |
local default_config = { |
["STYLEXP"] = 1, |
["TYPEXP"] = 1, |
</Scripts> |
</Slider > |
<Frame name="PlayerXPBarOptions" toplevel="true" frameStrata="MEDIUM" movable="true" enableMouse="true" hidden="true" parent="UIParent" inherits="BackdropTemplate"> |
<Frame name="PlayerXPBarOptions" toplevel="true" frameStrata="MEDIUM" movable="true" enableMouse="true" hidden="true" parent="UIParent"> |
<Size> |
<AbsDimension x="300" y="390" /> |
</Size> |
<Anchors> |
<Anchor point="CENTER" /> |
</Anchors> |
<KeyValues> |
<KeyValue key="backdropInfo" value="BACKDROP_DIALOG_32_32" type="global"/> |
</KeyValues> |
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" |
tile="true"> |
<BackgroundInsets> |
<AbsInset left="11" right="12" top="12" bottom="11" /> |
<Size> |
<AbsDimension x="128" y="17" /> |
</Size> |
</BackgroundInsets> |
<TileSize> |
<AbsValue val="32" /> |
</TileSize> |
<EdgeSize> |
<AbsValue val="32" /> |
</EdgeSize> |
</Backdrop> |
<Layers> |
<Layer level="ARTWORK"> |
<Texture name="PlayerXPBarTitle" file="Interface\DialogFrame\UI-DialogBox-Header"> |
</Frames> |
<Scripts> |
<OnLoad inherit="prepend"> |
<OnLoad> |
PlayerXPBarOptions_OnLoad(); |
</OnLoad> |
<OnShow> |
## Interface: 90001 |
## Interface: 80300 |
## Title: Player XP Bar |
## Notes: Display a little XP Bar in your Player Frame |
## Notes-frFR: Affiche une petite barre d'XP en dessous de votre portrait |
## Version: 2.6.4 |
## Version: 2.6.3 |
## Author: Kharthus |
## OptionalDeps: myAddOns |
## SavedVariables: PlayerXPBar_Config |