Quantcast
Channel: WoWInterface - Latest list
Viewing all articles
Browse latest Browse all 49504

Xcalc (2.71)

$
0
0
Change Log:
--------------------
v2.71
Fix error when exiting combat with auto-keybind option enabled and not used xcalc GUI for the session.

v2.7
General maintenance: remove unintended globals, reduce string garbage generation, replace deprecated getglobal/setglobal API.
Bugfixes: Chat printing, Shift-linking result from calculator to chat now works.
Bugfixes: Properly implement automatic keybindings, they will no longer hijack keys when the calculator is not visible or fail to set/clear in combat.
Enhancement: Xcalc automatic keybinds won't clutter up Blizzard keybind interface.
Enhancement: Mac specific keybinds should also be functioning.
GUI: Tooltip hint for result linking,
GUI: ElvUI theme for ElvUI users.
.toc update, compatible with WoW 5.2 "Thunder Isle".

v2.3
Updated toc

v2.2
Minor Fixes
moved global variables out of localization and added them to xcalc namespace
two functions missed being in the main namespace fixed now
Created xcalc namespace to reduce global namespace pollution
Added proper check with addons_loaded
Comments and cleanup
Minor issue with right clicking minimap menu
Changed Vairables_loaded to addon_loaded and moved it into xcalc.lua
Right click minimap button to open options window
General code cleanup
Changed email address in files
general code cleanup
Changed how all the buttons are done. Some cleanup left to do
changing how the main buttons get created
Changed more string.find into a reasonable layout.
More work on the one method to deal with key inputs
forgot xcalc_ in front of a function call, that is fixed. Started redoing string.find calls to be a bit cleaner
Made some changes to the key handling system, setting up a more generic key handler

2.1.18
*updated Toc

2.1.17
*Isolated Automatic keybindings, so other mods shouldn't interfere with the mod anymore
*Removed a couple not needed functions.
*More code cleanup...

Description:
--------------------
Xcalc is a fairly basic calculator that allows mathematical equations to be entered via the console
or by using the GUI calculator interface.

Xcalc is based off of QuickCalc by Mark Ribau. A good portion of the code has been rewritten, and
the GUI has been completely rewritten.

Usage
slash commands
/xcalc
/calc
/=
Clicking the minimap icon or typing the command without parameters opens the xcalc GUI.
Numpad keys can be remapped to the calculator keys when the GUI is visible if that option is selected.
Shift-Enter with the GUI visible opens chat and Shift-Click on result inserts it to chat editbox.

Xcalc supports computing expressions from the command line.
This is accessed by typing out one of the slash commands with the expression following the slash command.

Math operators
+ - * / ^ ( ) (addition, subtraction, multiplication, division, power, grouping)
Special Keyword:
ans - Will return the last answer given from using the slash commands

Math Functions
Reference at Wowpedia.

Money strings
#.#g
#.#s
#c
#g#s#c
#g#s
#g#c
#s#c

Examples
/calc 2 + 2
xcalc Result: 2 + 2 = 4
/calc 3.5g
xcalc Result: 3.5g = 3g50s
/calc (3.5g + 50s) * 2
xcalc Result: (3.5g + 50s) * 2 = 8g
/calc 4g / 5
xcalc Result: 4g / 5 = 80s

Viewing all articles
Browse latest Browse all 49504

Trending Articles