Download
(101Kb)
Download
Updated: 02-28-10 11:20 PM
Pictures
File Info
Updated:02-28-10 11:20 PM
Created:unknown
Downloads:42,640
Favorites:207
MD5:

RantTooltip  Popular! (More than 5000 hits)

Version: 0.28
by: Stuck [More]

RantTooltip (GUI) Options here.

(NOTE: If you plan on using a layout other than the default layout, you need to delete the RantTooltip_Layout folder first.)

RantTooltip is a tooltip addon that was influenced by oUF to include a layout system for tooltips. You'll find it very similar to oUF. A sample layout is included, based on p3lim's oUF layout. It was designed to match p3lim's layout due to my personal use of it. I take no credit for the design.

The documentation included in the zip file should give you all the information you need on how you create your own tooltip layout.

For everyone who prefers the original RantTooltip look, I've uploaded a layout called RantTooltip Classic.

-[Rum] (Stuck)

0.28 - "<" and ">" will now be colored according to the tag variable the encompass.
- The last player's talent spec will now be cached. This will stop the "Loading" text from flashing in some cases.

0.27 - Colons next to tag variables are no longer colored to be consistent with the adjacent variable. This was conflicting with tag updates.
- Added two more new tags: $curshort and $maxshort. These variables will display health and power values but will reduce their size if necessary.
- For example: 125000 becomes 125k. 1500000 becomes 1.5m.
- Added a $spec tag which will display the player's current spec - their talent tree with the most points in it.
- Do not use $spec and $talents in the same conditional. It will not work. If you want them on the same line, put them in separate conditionals, like this:
Code:
"{Talents: [$spec]}{ ($talents)}",
instead of:
Code:
"{Talents: [$spec] ($talents)}",

0.26 - Added $talents tag which displays the player's talents.
- Fixed a small issue with tag updates.
- Fixed an error concerning layouts without raid icons or combat icons.
- Various small changes.

0.25 - Fixed a few errors involving the DeleteLine function and unit tags.
- Updated the library.
- Other minor changes.

0.24 - Fixed a tag update issues that concerned "$target".
- Added PreOnSizeChanged and PostOnSizeChanged functions for every tooltip.
- Fixed an issue concerning GameTooltip.FindLine in the library.

0.23 - Updated a few things.
- Colons are now colored according to the tag variable to the left of them.
- Fixed and changed the library.
- Cleaned up code.
- Other miscellaneous changes.

0.22 - Fixed a conflict with GearScore. GearScore tooltip text now displays properly.
-Add override functions (i.e.):
GameTooltip.OverrideSetDefaultAnchor(self, parent)
GameTooltip:PreSetUnit(unit)
GameTooltip:PostSetUnit(unit)
GameTooltip:PreOnShow()
GameTooltip:PostOnShow()
GameTooltip:PreOnHide()
GameTooltip:PostOnHide()
GameTooltip:OverrideUpdateHealthBar(bar, cur, max)
GameTooltip:PreUpdateHealthBar(bar, cur, max)
GameTooltip:PostUpdateHealthBar(bar, cur, max)
GameTooltip:OverrideUpdatePowerBar(bar, cur, max)
GameTooltip:PreUpdatePowerBar(bar, cur, max)
GameTooltip:PostUpdatePowerBar(bar, cur, max)

0.21 - Fixed health bar text, fixed text color, and a few other things changed.

0.2 - Updated to fix memory problem.
Optional Files (0)


Post A Reply Comment Options
Unread 12-09-08, 01:59 PM  
Supernico
A Defias Bandit

Forum posts: 2
File comments: 21
Uploads: 0
Color of guild text

Any way to color the guild line diferently if the person is a guild mate ?
Report comment to moderator  
Reply With Quote
Unread 12-05-08, 12:27 PM  
Khakhan
A Kobold Labourer

Forum posts: 1
File comments: 10
Uploads: 0
I also have issues with the offset. Whenever I hover over an item tooltip button on my action bars (pvp trinket for example) it will shift between showing the offset and showing the regular tooltip. it moves quickly, like its bouncing back and forth.
Report comment to moderator  
Reply With Quote
Unread 11-26-08, 09:11 PM  
vbrokop
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
Re: Re: Anchor offsets?

Originally posted by Stuck

Quote:
Originally posted by Willowy
1) reanchoractiontips seems to be non-functional when using "CURSOR" anchor and an offset (using 0, 10); the tooltip will not anchor to the corner of the action button.


I can't reproduce this. It works fine.
this option is definitely buggy. it worked fine on my hunter, but not on my priest. i came here searching for answers... after reading that this person also had problems, i went back and began toggling options... entering X/Y values, then zeroing them, changing "CURSOR" to something else and then back... disabling and renabling the feature itself, and strangely enough, everything is fine now. Tooltips for Action Buttons are now anchoring to the cursor correctly on my priest.

something not right here

thanks btw, still really enjoying this addon.
Report comment to moderator  
Reply With Quote
Unread 11-20-08, 05:47 AM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Originally posted by Lonny
Hello,

Currently the tooltip parented to the UIParent, it would be handy if you can set the parent to a separate moveable frame, this moveable frame should be visible/hidden through a slash command such as /rtt and based on your design it should be part of the core, not the LoD options, so these who don't have the LoD options addon would still have the ability move it.
I've considered this before, but I am all about precision, which is why rant is the way it is. If I had to design my UI by dragging frames, I wouldn't be a UI junkie. I suppose it couldn't hurt now though.

Grim, I'll look into it.
Report comment to moderator  
Reply With Quote
Unread 11-19-08, 01:53 PM  
GrimStonemaul
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 16
Uploads: 2
Thumbs up Texture

It would be great if you could check for the presence of Ace texture resource files and then allow the user to select one for both the health bar and power bar of the target.

I just wanted to say, this is the freshest looking tooltip mod to come along in a very long time! Great job!

Grimpickle
grimpickle.com (GrimPack mod compilation)
Report comment to moderator  
Reply With Quote
Unread 11-19-08, 01:19 PM  
Lonny
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Hello,

Currently the tooltip parented to the UIParent, it would be handy if you can set the parent to a separate moveable frame, this moveable frame should be visible/hidden through a slash command such as /rtt and based on your design it should be part of the core, not the LoD options, so these who don't have the LoD options addon would still have the ability move it.

By anchoring to a separate frame you have the possibility to position the tooltip within the UIParent and let it grow from this point to this direction, in the current situation you can only position it relative to UIParent, that means that you can only control the position of the tooltip but you can't control the direction it grows.

Here is a working example of what I mean.

RantTooltip.xml : A new file.
Code:
	<Frame name="RantTooltipMobilityFrame" parent="UIParent" enableMouse="true" movable="true" clampedToScreen="true" hidden="true">
		<Size>
			<AbsDimension x="100" y="60" />
		</Size>
		<Anchors>
			<Anchor point="CENTER" relativeTo="UIParent">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnMouseDown>
				if arg1 == "LeftButton" and not self.locked then
					self:StartMoving()
				end
			</OnMouseDown>
			<OnMouseUp>
				self:StopMovingOrSizing()
			</OnMouseUp>
		</Scripts>
	</Frame>
RantTooltip.lua
Modifying the 'OnEvent' handler.
Code:
RantTooltipMobilityFrame:SetBackdrop(backdrop)
	RantTooltipMobilityFrame:SetBackdropColor(0, 1, 0, 0.5)
	RantTooltipMobilityFrame.locked = true
	SLASH_RENTTOOLTIP1 = "/rtt"
	SlashCmdList["RENTTOOLTIP"] = function(input)
		local frame = RantTooltipMobilityFrame
		if not frame.locked then
			frame.locked = true
			frame:Hide()
		else
			frame.locked = false
			frame:Show()
		end 
	end
Modifying 'hooksecurefunc("GameTooltip_SetDefaultAnchor", function(tooltip, parent)'
Code:
tooltip:SetPoint(layout.anchor[1], RantTooltipMobilityFrame, layout.anchor[1], layout.anchor[2], layout.anchor[3])
This approach also don't requires any SavedVariables as the position being saved inside the 'layout-local.txt'.

Regards.
Last edited by : 11-19-08 at 02:17 PM.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 11-19-08, 07:57 AM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Re: Anchor offsets?

Originally posted by velvyt
IM trying to get my tooltip to offset just to the lower right of the tip.

I can get the y offset to go toward the right, but the x offset wont accept negative numbers, so cant get the tooltip to move down from the cursor.

I checked the documentation and saw nothign about this, anyone got any ideas?

Im trying to type in the offset number as -175
This was fixed in a previous version. Sorry about that. If you update it will work fine.

Originally posted by sithas
I have finally found a tooltip mod I love and after configuring the mod abit its exactly how I want it except for one thing. When I have the healbar inside the tooltip frame the text shows min/max health and percent. I can't seem to figure out how to make it show just percent. Anyone know a way to fix this? Thanks in advance
Options for this will be added soon.

Originally posted by Zapper1
I need some help on the scale. it's set to 1.0, but no matter what i do it goes back to 0.5 whenever i zone or anything like that.
I can't think of any reason this would be happening. I have never heard of this happening to anyone before. Are you using any other addons that modify any aspect of the tooltip?

Originally posted by Willowy
1) reanchoractiontips seems to be non-functional when using "CURSOR" anchor and an offset (using 0, 10); the tooltip will not anchor to the corner of the action button.
I can't reproduce this. It works fine.

Originally posted by Willowy
2) there's an odd glitch when hovering over my water elemental macro; the tooltip jumps constantly between the default cursor anchor (0,0) and whatever offset I have it set to. For some reason, it only occurs on this action button. If I set the anchor offset back to 0,0 it works perfect again.
I'll see if I can figure this out.
Last edited by Stuck : 11-19-08 at 08:19 AM.
Report comment to moderator  
Reply With Quote
Unread 11-19-08, 01:46 AM  
velvyt
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 13
Uploads: 5
Anchor offsets?

IM trying to get my tooltip to offset just to the lower right of the tip.

I can get the y offset to go toward the right, but the x offset wont accept negative numbers, so cant get the tooltip to move down from the cursor.

I checked the documentation and saw nothign about this, anyone got any ideas?

Im trying to type in the offset number as -175
Report comment to moderator  
Reply With Quote
Unread 11-18-08, 02:50 PM  
Sithas
A Kobold Labourer

Forum posts: 1
File comments: 28
Uploads: 0
Love the mod except for one thing.

I have finally found a tooltip mod I love and after configuring the mod abit its exactly how I want it except for one thing. When I have the healbar inside the tooltip frame the text shows min/max health and percent. I can't seem to figure out how to make it show just percent. Anyone know a way to fix this? Thanks in advance
Report comment to moderator  
Reply With Quote
Unread 11-17-08, 09:23 AM  
Willowy
A Kobold Labourer

Forum posts: 1
File comments: 39
Uploads: 0
Rant is working well, except for two things:

1) reanchoractiontips seems to be non-functional when using "CURSOR" anchor and an offset (using 0, 10); the tooltip will not anchor to the corner of the action button.

2) there's an odd glitch when hovering over my water elemental macro; the tooltip jumps constantly between the default cursor anchor (0,0) and whatever offset I have it set to. For some reason, it only occurs on this action button. If I set the anchor offset back to 0,0 it works perfect again. The macro I'm using is:

#showtooltip [pet] Freeze; Summon Water Elemental
/cast [pet] Freeze; Summon Water Elemental

Using Dominos for action bar, latest Rant, no Options (using lua to configure). All the other features seem to be working well, thx again for a great, lightweight tooltip mod!
Last edited by Willowy : 11-17-08 at 09:24 AM.
Report comment to moderator  
Reply With Quote
Unread 11-17-08, 07:58 AM  
Zapper1
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 3
Uploads: 1
help

I need some help on the scale. it's set to 1.0, but no matter what i do it goes back to 0.5 whenever i zone or anything like that.

makes it pretty hard to read.

some help please


Except for that the addon rocks
Report comment to moderator  
Reply With Quote
Unread 11-10-08, 10:35 AM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Originally posted by goliath0
If you want to be a super minimalist, don't use Options, and delete the saved variable line in .toc file. That way the 1 line files which are useless to the addon won't be created at all.
This.
Report comment to moderator  
Reply With Quote
Unread 11-10-08, 08:20 AM  
goliath0
A Murloc Raider

Forum posts: 4
File comments: 125
Uploads: 0
If you want to be a super minimalist, don't use Options, and delete the saved variable line in .toc file. That way the 1 line files which are useless to the addon won't be created at all.
Report comment to moderator  
Reply With Quote
Unread 11-10-08, 12:48 AM  
Stuck
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 127
Uploads: 14
Originally posted by bonesauce
I see the line that says gui options on the description, but no, I'm not having any luck finding the actual options. I see the name on the list in the interface menu, but it was empty. No slash commands I could think of or that I've seen written have worked either.

I spent the next hour looking back at all of the comments expecting somewhere to see a line I can add or edit to get the thing to stop popping up on my cursor but I came up with nothing, and those that were close to what I was looking for did nothing. Now, I'm more than willing to admit that I'm being thick here, but I can't figure out what I'm missing. I'm not particularly familiar with lua (or any other language/script that's been popularized in the last 10 years) but I can read and edit a little code and I'm pretty sure I'm missing something.


EDIT: I deleted it and re-downloaded and the menu filled up with the actual options this time. Nevermind. Thanks! My only suggestion would be to add something to make the anchor dragable, though. I have been charged with the task of setting up everyone I know's UI and it's gonna be a bit of a pain getting it where it needs to be on each one. Other than that, it's all good.
If you can see a RantTooltip options category with nothing in it. This means:
1. You're not using the latest version.
2. RantTooltip_Options is either disabled or not installed.

Make sure everything is setup properly.

edit: Didn't see the edit. My bad.
Last edited by Stuck : 11-10-08 at 01:03 AM.
Report comment to moderator  
Reply With Quote
Unread 11-09-08, 11:54 PM  
bonesauce
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally posted by Stuck
I suppose you missed the GUI options that have been included with this addon for the past week. Enjoy.
I see the line that says gui options on the description, but no, I'm not having any luck finding the actual options. I see the name on the list in the interface menu, but it was empty. No slash commands I could think of or that I've seen written have worked either.

I spent the next hour looking back at all of the comments expecting somewhere to see a line I can add or edit to get the thing to stop popping up on my cursor but I came up with nothing, and those that were close to what I was looking for did nothing. Now, I'm more than willing to admit that I'm being thick here, but I can't figure out what I'm missing. I'm not particularly familiar with lua (or any other language/script that's been popularized in the last 10 years) but I can read and edit a little code and I'm pretty sure I'm missing something.


EDIT: I deleted it and re-downloaded and the menu filled up with the actual options this time. Nevermind. Thanks! My only suggestion would be to add something to make the anchor dragable, though. I have been charged with the task of setting up everyone I know's UI and it's gonna be a bit of a pain getting it where it needs to be on each one. Other than that, it's all good.
Last edited by bonesauce : 11-10-08 at 12:16 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: