WoWInterface SVN PlayerXPBar

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 24 to Rev 25
    Reverse comparison

Rev 24 → Rev 25

trunk/PlayerXPBar/PlayerXPBar.toc
1,8 → 1,8
## Interface: 80300
## Interface: 90001
## 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.3
## Version: 2.6.4
## Author: Kharthus
## OptionalDeps: myAddOns
## SavedVariables: PlayerXPBar_Config
trunk/PlayerXPBar/PlayerXPBar.xml
2,7 → 2,7
..\FrameXML\UI.xsd">
<Script file="localization.lua"/>
<Script file="PlayerXPBar.lua"/>
<Frame name="PlayerXPBar" parent="UIParent" movable="true" enableMouse="true" frameStrata="BACKGROUND">
<Frame name="PlayerXPBar" parent="UIParent" movable="true" enableMouse="true" frameStrata="BACKGROUND" inherits="BackdropTemplate">
<Size>
<AbsDimension x="128" y="20"/>
</Size>
13,14 → 13,9
</Offset>
</Anchor>
</Anchors>
<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>
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_PLAYERXPBAR_16" type="global"/>
</KeyValues>
<Frames>
<Button name="PlayerXPBarInfo" frameStrata="HIGH">
<Size>
50,7 → 45,7
<OnLeave>
PlayerXPBarButton_Leave();
</OnLeave>
<OnLoad>
<OnLoad inherit="prepend">
PlayerXPBarButton_OnLoad(self);
</OnLoad>
</Scripts>
trunk/PlayerXPBar/PlayerXPBar.lua
9,6 → 9,14
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,
trunk/PlayerXPBar/options.xml
55,28 → 55,16
</Scripts>
</Slider >
 
<Frame name="PlayerXPBarOptions" toplevel="true" frameStrata="MEDIUM" movable="true" enableMouse="true" hidden="true" parent="UIParent">
<Frame name="PlayerXPBarOptions" toplevel="true" frameStrata="MEDIUM" movable="true" enableMouse="true" hidden="true" parent="UIParent" inherits="BackdropTemplate">
<Size>
<AbsDimension x="300" y="390" />
</Size>
<Anchors>
<Anchor point="CENTER" />
</Anchors>
<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>
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_DIALOG_32_32" type="global"/>
</KeyValues>
<Layers>
<Layer level="ARTWORK">
<Texture name="PlayerXPBarTitle" file="Interface\DialogFrame\UI-DialogBox-Header">
191,7 → 179,7
 
</Frames>
<Scripts>
<OnLoad>
<OnLoad inherit="prepend">
PlayerXPBarOptions_OnLoad();
</OnLoad>
<OnShow>