WoWInterface SVN UltimateWarcraftBattlecryGenerator

Compare Revisions

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

Rev 63 → Rev 62

branches/wow3_3/Main.lua
10,10 → 10,6
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
151,10 → 147,9
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=0;
UWBG_Prefs.bcg_hideframe=1;
end;
end;
 
218,13 → 213,8
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()
branches/wow3_3/BattleCryGenFrame.xml
77,7 → 77,7
</Anchors>
<Layers>
<Layer>
<FontString name="$parentLabel" font="Fonts\FRIZQT__.TTF" text="Battlecry Generator v1.0" justifyH="LEFT">
<FontString name="$parentLabel" font="Fonts\FRIZQT__.TTF" text="Battlecry Generator v0.50" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT" />
<Anchor point="BOTTOMRIGHT" />
109,7 → 109,8
</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" />
240,7 → 241,7
</Anchor>
</Anchors>
<Scripts>
<OnClick>self:BCG_ShowOptions();
<OnClick>UWBCG_LoadOptionsDialog();
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-Panel-Button-Up">