LibQTip is designed replace GameTooltip - but with added functionality, such as multiple columns - from a minimalist design perspective.
Features
- Ability to display and handle multiple tooltips at the same time,
- Unlimited number of columns and lines,
- Column default and per cell justification,
- Tooltip default and per cell font setting,
- Colspans,
- Possibility to add custom cells,
- Optional scrollbar,
- Optional scripts for lines, columns, or cells,
- Optional automatic hiding,
- Frames and tables recycling to reduce resource footprint.
Caveats
Look here for information on embedding the latest beta/release.
In order to achieve effective frame recycling, tooltips must be released. Holding a tooltip leads to the creation of a full set of frames for every AddOn which does not follow this practice. Moreover, releasing a tooltip has a very little overhead compared to its benefits.
Known issues
- Alignment may be altered when using :SetScale after filling the tooltip.
Documentation
------------------------------------------------------------------------
r119 | torhal | 2009-07-21 03:46:58 +0000 (Tue, 21 Jul 2009) | 4 lines
Changed paths:
M /trunk/LibQTip-1.0.lua
Removed argument-checking for the tipPrototype methods SetLineColor() and SetColumnColor() - instead, they now check for the existence of their intended target.
Added tipPrototype:SetCellColor().
In ReleaseCell(): Set the cell's backdrop to nil.
------------------------------------------------------------------------
r118 | torhal | 2009-07-10 09:17:08 +0000 (Fri, 10 Jul 2009) | 2 lines
Changed paths:
M /trunk/LibQTip-1.0.lua
In InitializeTooltip(): Set the alpha level to 1 always, since GameTooltip may be in the middle of fading when we acquire. Lib users can override this themselves by setting their own alpha on the tooltip frame.
------------------------------------------------------------------------
r117 | torhal | 2009-07-08 06:38:50 +0000 (Wed, 08 Jul 2009) | 2 lines
Changed paths:
M /trunk/LibQTip-1.0.lua
In labelPrototype:SetupCell(): Replaced the select() massacre with static parameters.
------------------------------------------------------------------------
r116 | elkano | 2009-07-06 07:42:45 +0000 (Mon, 06 Jul 2009) | 5 lines
Changed paths:
M /trunk/LibQTip-1.0.lua
moved most of the LibQTipClick functionality into LibQTip itself (though with different code)
new API (script is OnEnter/OnLeave/OnMouseDown/OnMouseUp, function will be called as frame:function(argument, ...)):
- SetCellScript(line, column, script, function, argument)
- SetLineScript(line, script, function, argument)
- SetColumnScript(column, script, function, argument)
------------------------------------------------------------------------
r114 | torhal | 2009-06-22 09:23:30 +0000 (Mon, 22 Jun 2009) | 2 lines
Changed paths:
M /trunk/LibQTip-1.0.lua
In labelPrototype:SetupSell(): Set the fontstring's width always, not just when max_width is smaller than width - this should normalize the display when a previous call modified the width.
------------------------------------------------------------------------
r113 | torhal | 2009-06-22 08:17:30 +0000 (Mon, 22 Jun 2009) | 2 lines
Changed paths:
M /trunk/LibQTip-1.0.lua
In CreateLine(): Make the line's parent be tooltip.scrollChild instead of tooltip, so that separators play nice with scrollable tooltips.
------------------------------------------------------------------------
r112 | adirelle | 2009-06-11 14:11:35 +0000 (Thu, 11 Jun 2009) | 1 line
Changed paths:
D /trunk/.docmeta
Removed useless .docmeta.
------------------------------------------------------------------------
Installation Guide
- Exit "World of Warcraft" completely
- Download the mod you want to install
- Make a folder on your desktop called "My Mods"
- Save the .zip/.rar files to this folder.
- If, when you try to download the file, it automatically "opens" it... you need to RIGHT click on the link and "save as..." or "Save Target As".
- Extract the file - commonly known as 'unzipping'
Do this ONE FILE AT A TIME!
- Windows
- Windows XP has a built in ZIP extractor. Double click on the file to open it, inside should be the file or folders needed. Copy these outside to the "My Mods" folder.
- WinRAR: Right click the file, select "Extract Here"
- WinZip: You MUST make sure the option to "Use Folder Names" is CHECKED or it will just extract the files and not make the proper folders how the Authors designed
- Mac Users
- StuffitExpander: Double click the archive to extract it to a folder in the current directory.
- Verify your WoW Installation Path
That is where you are running WoW from and THAT is where you need to install your mods.
- Move to the Addon folder
- Open your World of Warcraft folder. (default is C:\Program Files\World of Warcraft\)
- Go into the "Interface" folder.
- Go into the "AddOns" folder.
- In a new window, open the "My Mods" folder.
- The "My Mods" folder should have the "Addonname" folder in it.
- Move the "Addonname" folder into the "AddOns" folder
- Start World of Warcraft
- Make sure AddOns are installed
- Log in
- At the Character Select screen, look in lower left corner for the "addons" button.
- If button is there: make sure all the mods you installed are listed and make sure "load out of date addons" is checked.
- If the button is NOT there: means you did not install the addons properly. Look at the above screenshots. Try repeating the steps or getting someone who knows more about computers than you do to help.
Translations
When you download a mod, please be sure that the mod is compatible with your translation of wow. Some mods only work on the US versions, while some only work on some of the various European versions. These variations are called "Localizations".
TOC Numbers (Out of Date Mods)
When Blizzard patches WoW, they change the Interface number. This means that all mods will be "out of date" unless or until the author releases a new version for that interface. Some people go into the .toc files and update the numbers themselves, but this is STRONGLY advised against as it will cause problems locating possible incompatibilities addons. When you log into WoW after a patch, you DO NOT have to delete your interface directory. All you have to do is simply tell WoW to ignore the interface numbers and load all the mods anyway. All you have to do is, while at the "character select" screen, look in the lower left corner and click on the "addons" button. A window will pop up listing all your installed mods.
If you look in the upper left corner of that window there should be a box that says "Load Out of Date AddOns". You want to CHECK this box. Now simply go into WoW normally and all your mods should load. As of the 1.9 patch, you will have to do this after EVERY patch/update that Blizzard posts! If you encounter any problems with a mod after a patch, please be sure to let the author of the mod know so they can fix it.
See also: About "Out Of Date AddOns"
Mac Support
WoW addons are not platformed based. As such, they can be used on either Mac or PC. You can extract both .zip and .rar files on a Mac using StuffitExpander.
Directory Structure
World of Warcraft
|_ Interface
|_AddOns
|_*AddonName*
|_ *AddonName*.toc
|_ *AddonName*.xml
|_ *AddonName*.lua
|_ (possibly others as well)...