Seperated frame items from frame creation, this should allow the same code to be reused for AH UI and Standalone UI Change parent to our GUI base frame/ Also used to display our Config frame show the last postponed query if one was sent while frame was hidden relevelFrame(frame) -make sure our frame stays in proper orderĮlseif BeanCounterBaseFrame: IsVisible() then If not BeanCounterBaseFrame: IsVisible() thenĮlse -when tab is created frame parent is set to AH, we dont want thisįrame: SetParent( "BeanCounterBaseFrame ")įrame: SetAllPoints(BeanCounterBaseFrame) If action = "HideAHGUI " then -hide unless is on the external GUI function handles showing the standalone or intergrated UI Hooksecurefunc( "AuctionFrameTab_OnClick ", frame. AuctionFrameMoneyFrame:Show() -we interfere with other addosn which hide this. If (tab and tab: GetName() = "AuctionFrameTabUtilBeanCounter ") thenĪuctionFrameTopLeft: SetTexture( "Interface \\AddOns \\BeanCounter \\Textures \\BC-TopLeft ")ĪuctionFrameTop: SetTexture( "Interface \\AddOns \\BeanCounter \\Textures \\BC-Top ")ĪuctionFrameTopRight: SetTexture( "Interface \\AddOns \\BeanCounter \\Textures \\BC-TopRight ")ĪuctionFrameBotLeft: SetTexture( "Interface \\AuctionFrame \\UI-AuctionFrame-Bid-BotLeft ")ĪuctionFrameBot: SetTexture( "Interface \\AuctionFrame \\UI-AuctionFrame-Bid-Bot ")ĪuctionFrameBotRight: SetTexture( "Interface \\AuctionFrame \\UI-AuctionFrame-Bid-BotRight ") Tab: Click() -use this so we stay on users currently selected tab If button = "RightButton " and tab and tab: GetName() = "AuctionFrameTabUtilBeanCounter " then If not index then index = self: GetID() end ScanTab: RegisterForClicks( "LeftButtonUp ", "RightButtonUp ") ScanTab: SetScript( "OnLeave ", function() GameTooltip: Hide() end)įrame. ScanTab, _BC( 'TT_BeanCounterAHTab ')) end) - Right click to display BeanCounter in a external window.įrame. ScanTab: SetScript( "OnEnter ", function() private. ScanTab = CreateFrame( "Button ", "AuctionFrameTabUtilBeanCounter ", AuctionFrame, "AuctionTabTemplate ")įrame. Local private, print, get, set, _BC = lib. Since that is it's designated purpose as per: #BEANCOUNTER ADDON LICENSE#You have an implicit license to use this AddOn with these facilities World of Warcraft's interpreted AddOn system. This AddOn's source code is specifically designed to work with You should have received a copy of the GNU General Public LicenseĪlong with this program(see GPL.txt) if not, write to the Free Softwareįoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. GNU General Public License for more details. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program is distributed in the hope that it will be useful,īut WITHOUT ANY WARRANTY without even the implied warranty of Of the License, or (at your option) any later version. #BEANCOUNTER ADDON SOFTWARE#Modify it under the terms of the GNU General Public LicenseĪs published by the Free Software Foundation either version 2 This program is free software you can redistribute it and/or Revision: $Id: a 5240 12:03:24Z brykrys $īeanCounterFrames - AuctionHouse UI for Beancounter Auctioneer Addon for World of Warcraft(tm).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |