Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(5 Kb)
Download
Updated: 10-24-14 08:02 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-24-14 08:02 PM
Created:09-13-13 07:15 PM
Downloads:2,182
Favorites:26
MD5:

rTooltip

Version: 60000.01
by: zork [More]


INTRO

rTooltip adjusts the graphical appearance of the game tooltip.
SVN
http://code.google.com/p/rothui/sour...ow6.0/rTooltip

60000.01
- updated for patch 6.0.2

50400.04
- added UnitAura caster info
- added UnitAura isBossDebuff info
- added UnitTarget info

50400.03
- fixing the unit = nil error

50400.02
- added classification icons (rare, elite, boss)
- added dead/ghost strings

50400.01
- initial release
Optional Files (0)


Archived Files (4)
File Name
Version
Size
Author
Date
50400.04
4kB
zork
09-29-13 03:23 PM
50400.03a
3kB
zork
09-14-13 12:39 PM
50400.02
3kB
zork
09-14-13 06:50 AM
50400.01
2kB
zork
09-13-13 07:15 PM


Post A Reply Comment Options
Unread 02-04-15, 11:13 AM  
Cashtro
A Defias Bandit
 
Cashtro's Avatar

Forum posts: 3
File comments: 84
Uploads: 1
Originally Posted by zork
Here is the API description. Maybe you are editing the wrong line?
http://wowprogramming.com/docs/widge...oltip/SetOwner

You should give it another try.
Thank u friend but i tried that link a week ago and i am stuck thats why i asked u ... its killing me :P
__________________
Cashtro is offline Report comment to moderator  
Reply With Quote
Unread 02-03-15, 02:30 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1408
File comments: 3449
Uploads: 90
Here is the API description. Maybe you are editing the wrong line?
http://wowprogramming.com/docs/widge...oltip/SetOwner

You should give it another try.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Unread 02-02-15, 09:47 AM  
Cashtro
A Defias Bandit
 
Cashtro's Avatar

Forum posts: 3
File comments: 84
Uploads: 1
Originally Posted by zork
@Cashtro
Yes. There are two more arguments that you can add to the function: x and y. Like:
Lua Code:
  1. tooltip:SetOwner(parent, "ANCHOR_CURSOR", x, y)
Instead of variable you can just use numbers like 20.
Dear Zork,

It's not working i tried it yesterday
Code:
  hooksecurefunc("GameTooltip_SetDefaultAnchor", function(tooltip, parent)
      tooltip:SetOwner(parent, "ANCHOR_CURSOR", 0, 100)
  end)
__________________
Cashtro is offline Report comment to moderator  
Reply With Quote
Unread 02-02-15, 01:54 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1408
File comments: 3449
Uploads: 90
@Cashtro
Yes. There are two more arguments that you can add to the function: x and y. Like:
Lua Code:
  1. tooltip:SetOwner(parent, "ANCHOR_CURSOR", x, y)
Instead of variable you can just use numbers like 20.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 02-02-15 at 01:54 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 01-31-15, 02:46 PM  
Cashtro
A Defias Bandit
 
Cashtro's Avatar

Forum posts: 3
File comments: 84
Uploads: 1
Originally Posted by zork
Just edit the function http://code.google.com/p/rothui/sour...ip/core.lua#64
Lua Code:
  1. --edit
  2.     tooltip:SetOwner(parent, "ANCHOR_CURSOR")
  3.     --[[
  4.     if cursor and GetMouseFocus() == WorldFrame then
  5.       tooltip:SetOwner(parent, "ANCHOR_CURSOR")
  6.     else
  7.       tooltip:SetOwner(parent, "ANCHOR_NONE")
  8.       tooltip:SetPoint(unpack(cfg.pos))
  9.     end
  10.     ]]--

You can use different anchor types: http://wowprogramming.com/docs/widge.../SetAnchorType
Thanks for that but is there a way to add offset little above ?? Thanks
__________________
Cashtro is offline Report comment to moderator  
Reply With Quote
Unread 01-15-15, 09:44 PM  
jmt0101
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
It doesn't seem to skin the tooltips for when you hover over items in your bags.

Edit: Nevermind, white items just appears normal.
Last edited by jmt0101 : 01-20-15 at 04:37 AM.
jmt0101 is offline Report comment to moderator  
Reply With Quote
Unread 11-23-14, 10:43 AM  
Turulo
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
There is one tooltip frame missing in the loop list, the tooltip that appears in the Map & Quest Log when the cursor is over the zone button above the quests names. The tooltip shows the story progress quests. I don't know the name of that tooltip frame.

I tweaked a lot so I'm not sure if I screwed it up but I noticed that the border size changes for some of the tooltips and also the copper coins icons are outside of the tooltip border.

And finally I used IsShiftKeyDown() to filter Spell ID and Caster rows because most of the time that information is not needed.

Awesome work as always, I use most of your stuff.
Turulo is offline Report comment to moderator  
Reply With Quote
Unread 11-09-14, 08:18 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1408
File comments: 3449
Uploads: 90
Re: Re: Re: Re: background color

@Daikini
Thanks. Tested it. Gonna add it.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Unread 11-08-14, 07:31 PM  
Dakini
A Defias Bandit
 
Dakini's Avatar

Forum posts: 2
File comments: 7
Uploads: 0
Re: Re: Re: background color

Originally Posted by MoonWitch
Originally Posted by zork
@jack
I know! I tried to fix it but failed because I could not find the event that does the color change. Pretty wierd. I ignore it for now.
So I am not the only one stuck with that bug. I rewrote mine about 5 times now to fix it, but if you encountered the same - not likely I'll fix it. :P

ps. thank you for being inspiring as coder
I don't know if this is bad coding, but I changed this:
--HookScript GameTooltip OnTooltipCleared
GameTooltip:HookScript("OnTooltipCleared", function(self)
GameTooltip_ClearStatusBars(self)
end)

to this:
--HookScript GameTooltip OnTooltipCleared
GameTooltip:HookScript("OnTooltipCleared", function(self)
GameTooltip_ClearStatusBars(self)
self:SetBackdropColor(unpack(cfg.backdrop.bgColor))
end)

and it seems to work. World tips still change to blue, but it doesn't linger anymore.
Last edited by Dakini : 11-08-14 at 07:39 PM.
Dakini is offline Report comment to moderator  
Reply With Quote
Unread 11-01-14, 11:25 AM  
MoonWitch
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 442
File comments: 157
Uploads: 8
Re: Re: background color

Originally Posted by zork
@jack
I know! I tried to fix it but failed because I could not find the event that does the color change. Pretty wierd. I ignore it for now.
So I am not the only one stuck with that bug. I rewrote mine about 5 times now to fix it, but if you encountered the same - not likely I'll fix it. :P

ps. thank you for being inspiring as coder
__________________
MoonWitch is offline Report comment to moderator  
Reply With Quote
Unread 10-26-14, 05:45 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1408
File comments: 3449
Uploads: 90
Re: background color

@jack
I know! I tried to fix it but failed because I could not find the event that does the color change. Pretty wierd. I ignore it for now.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-26-14 at 05:46 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 10-26-14, 01:05 AM  
jacksdrunk
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
background color

When I mouseover things like the mailbox or a weapon rack twice it changes the tooltip background color to blue for that tip and any further tips until i let all tips completely fade out again. It's not a big problem but I cannot figure out why it does this.
jacksdrunk is offline Report comment to moderator  
Reply With Quote
Unread 10-21-14, 01:50 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1408
File comments: 3449
Uploads: 90
Re: Need to ANCHOR rToolTip to Mouse!

Just use a different tooltip mod that has what you need. rTooltip has no options and needs to be adjusted by code hacking.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Unread 10-20-14, 07:57 PM  
raziki
A Kobold Labourer
 
raziki's Avatar

Forum posts: 0
File comments: 37
Uploads: 0
Need to ANCHOR rToolTip to Mouse!

I got an very annoying issue, after the 6.0 install of RoTH UI my mouse tooltip ended up bottomright-corner.
How do i make sure its BACK to my mouse again? Help!

Additional: How do i change the color of the "Faction" Alliance/Horde from Grey to a color i want, say Orange?
(Suffer from colorblind), having problem seeing grey color
Last edited by raziki : 10-20-14 at 08:05 PM.
raziki is offline Report comment to moderator  
Reply With Quote
Unread 09-08-14, 01:51 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1408
File comments: 3449
Uploads: 90
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: