# HG changeset patch # User Jay Bird # Date 1290377662 18000 # Node ID fa455845cd81f8714dd923ff6a3f10f6e0e04fc1 # Parent fb866fa58255242ea992c28ebea9afd9e978ddc3 testing diff -r fb866fa58255 -r fa455845cd81 Main.lua --- a/Main.lua Sun Nov 21 16:32:17 2010 -0500 +++ b/Main.lua Sun Nov 21 17:14:22 2010 -0500 @@ -0,0 +1,25 @@ + + +RTT = LibStub("AceAddon-3.0"):NewAddon("RaidTargetTactics", "AceConsole-3.0") +local L = LibStub("AceLocale-3.0"):GetLocale("RaidTargetTactics") + + +function RTT:OnInitialize() + self.db = LibStub("AceDB-3.0"):New("TacticsSettings", defaults, true) + local AceGUI = LibStub("AceGUI-3.0") + -- Create a container frame + local f = AceGUI:Create("Frame") + f:SetCallback("OnClose",function(widget) AceGUI:Release(widget) end) + f:SetTitle("AceGUI-3.0 Example") + f:SetStatusText("Status Bar") + f:SetLayout("Flow") + -- Create a button + local btn = AceGUI:Create("Button") + btn:SetWidth(170) + btn:SetText("Button !") + btn:SetCallback("OnClick", function() print("Click!") end) + -- Add the button to the container + f:AddChild(btn) + +end + diff -r fb866fa58255 -r fa455845cd81 RaidTargetTactics.toc --- a/RaidTargetTactics.toc Sun Nov 21 16:32:17 2010 -0500 +++ b/RaidTargetTactics.toc Sun Nov 21 17:14:22 2010 -0500 @@ -7,6 +7,7 @@ ## SavedVariablesPerCharacter: TacticsProfileSettings ## Author: jay +_requires.xml _locale.xml Main.lua diff -r fb866fa58255 -r fa455845cd81 _requires.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/_requires.xml Sun Nov 21 17:14:22 2010 -0500 @@ -0,0 +1,11 @@ + + +