WoWInterface SVN UltimateWarcraftBattlecryGenerator

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches
    from Rev 62 to Rev 63
    Reverse comparison

Rev 62 → Rev 63

wow3_3/BattleCryGenFrame.xml
77,7 → 77,7
</Anchors>
<Layers>
<Layer>
<FontString name="$parentLabel" font="Fonts\FRIZQT__.TTF" text="Battlecry Generator v0.50" justifyH="LEFT">
<FontString name="$parentLabel" font="Fonts\FRIZQT__.TTF" text="Battlecry Generator v1.0" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT" />
<Anchor point="BOTTOMRIGHT" />
109,8 → 109,7
</Anchor>
</Anchors>
<Scripts>
<OnClick>btnUsage_Click();
</OnClick>
<OnClick>btnUsage_Click();</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-Panel-Button-Up">
<TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
241,7 → 240,7
</Anchor>
</Anchors>
<Scripts>
<OnClick>UWBCG_LoadOptionsDialog();
<OnClick>self:BCG_ShowOptions();
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-Panel-Button-Up">
wow3_3/Main.lua
10,6 → 10,10
UltimateWarcraftBattlecryGenerator = LibStub("AceAddon-3.0"):NewAddon("UltimateWarcraftBattlecryGenerator", "AceConsole-3.0", "AceEvent-3.0", "AceSerializer-3.0")
local L = LibStub('AceLocale-3.0'):GetLocale('UltimateWarcraftBattlecryGenerator')
 
if UltimateWarcraftBattlecryGenerator.version == "wowi:revision" then
UltimateWarcraftBattlecryGenerator.version = "SVN";
end;
 
-- Declare our Generator Variables
local n_idx_a = 0; --Alliance Cry Index
local n_idx_h = 0; --Horde Cry Index
147,9 → 151,10
function UltimateWarcraftBattlecryGenerator:BCG_CreateMainFrame()
if UWBG_Prefs.bcg_hideframe==0 and frmBCG:IsVisible()==false then
frmBCG:Show();
UWBG_Prefs.bcg_hideframe=1;
else
frmBCG:Hide();
UWBG_Prefs.bcg_hideframe=1;
UWBG_Prefs.bcg_hideframe=0;
end;
end;
 
213,8 → 218,13
function btnClose_Click()
frmBCG:Hide();
UWBG_Prefs.bcg_hideframe=1;
end
end;
 
-- Show usage, This will use the new method.
-- This is provided for backwards compatability.
function btnUsage_Click()
self:BCG_ShowCommands();
end;
 
-- SAY BCG
function BCG_SAY_BATTLECRY()