Gui: AddControl(id, "Checkbox ", 0, 1, " ", _BC( 'C_ShowBeginnerTooltips ')) -"Show beginner tooltips on mouse over" Gui: AddTip(id, _BC( 'TTModTTShow ')) -This option will display BeanCounter's extra tooltip only if Alt is pressed. Gui: AddControl(id, "Checkbox ", 0, 1, "ModTTShow ", _BC( 'C_ModTTShow ')) -Only show extra tooltip if Alt is pressed. Gui: AddControl(id, "Header ", 0, _BC( 'C_BeanCounterOptions ')) -"BeanCounter options") Id = gui: AddTab( _BC( 'C_BeanCounterConfig ')) -"BeanCounter Config") Local Configator = LibStub: GetLibrary( "Configator ") getLocals() -now we can set our get, set locals to the above functions Local option = getter(setting, server, player) If DB and DB thenįunction lib.GetSetting( setting, server, player) Local function getter( setting, server, player)
If (gui) then - Refresh all values to reflect current data settingDefaults įunction private.DateStringUpdate( value)įor w in string.gmatch(value, "%%(.) " ) do -look for the date commands prefaced by % Local Buyer, Seller = string.match( _BC( 'UiBuyerSellerHeader '), "(.*)/(.*) ") -We have no direct translation so this is a temp workaround Local private, print, get, set, _BC = lib.
#WOW ADDON BEANCOUNTER 5.4.8 CODE#
Most of this code is from enchantrix by ccox Since that is it's designated purpose as per: 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.
#WOW ADDON BEANCOUNTER 5.4.8 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 5347 06:26:15Z Esamynn $īeanCounterConfig - Controls Configuration data Auctioneer Addon for World of Warcraft(tm).