Download
(3Kb)
Download
Updated: 09-02-18 03:39 AM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:09-02-18 03:39 AM
Created:09-13-13 07:15 PM
Downloads:10,599
Favorites:39
MD5:

rTooltip  Popular! (More than 5000 hits)

Version: 800.20180901
by: zork [More]


Intro

rTooltip adjusts the graphical appearance of the game tooltip.
Git
https://github.com/zorker/rothui/tre...ow8.0/rTooltip

Optional Files (0)


Post A Reply Comment Options
Unread 09-29-13, 03:27 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Added the UnitTarget info and some more aura informations.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 09-30-13, 01:44 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Originally Posted by Fixeh
...
NOOOOOOOOOO!!!

Don't do this. This is really bad. OnUpdate scripts run on every single frame that is printed to the screen. What the hell.

Actually the solution is much easier. All you have to do is to apply a hex color instead of a textcolor.

I already apply a textcolor but Blizzard is currently overriding it under ceirtan circumstances and currently I leave it that way because I don't mind.

A solution is to wrap the GameTooltipTextLeft1 text string in a hex color.
Lua Code:
  1. if UnitIsGhost(unit) then
  2.   self:AppendText(" |cffaaaaaa<GHOST>|r")
  3.   GameTooltipTextLeft1:SetText(("|cff%s%s|r"):format(GetHexColor({r=0.5,g=0.5,b=0.5}), GameTooltipTextLeft1:GetText()))
  4. elseif UnitIsDead(unit) then
  5.   self:AppendText(" |cffaaaaaa<DEAD>|r")
  6.   GameTooltipTextLeft1:SetText(("|cff%s%s|r"):format(GetHexColor({r=0.5,g=0.5,b=0.5}), GameTooltipTextLeft1:GetText()))
  7. end

The stausbar recoloring is another thing I actually like. Blizzard updates the healthbar color on value changes. All you would have to do is hook the OnValueChanged event and update the color if you want.

Lua Code:
  1. local GameTooltipStatusBar = GameTooltipStatusBar
  2.  
  3. local function UpdateStatusbarColor()
  4.   --do sth
  5.   if GameTooltipStatusBar.color then
  6.     GameTooltipStatusBar:SetStatusbarColor(color)
  7.   end
  8. end
  9.  
  10. GameTooltipStatusBar:HookScript("OnValueChanged", UpdateStatusbarColor)
  11.  
  12. --for each unit update the color
  13. GameTooltipStatusBar.color = color
  14. GameTooltipStatusBar:SetStatusbarColor(color)
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-30-13 at 02:02 AM.
Report comment to moderator  
Reply With Quote
Unread 09-30-13, 05:11 AM  
Imithat
A Fallenroot Satyr
 
Imithat's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 201
Uploads: 7
perfekt!

danke zork für mal wieder ein tolles addon!
Report comment to moderator  
Reply With Quote
Unread 11-20-13, 09:10 AM  
MoonWitch
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 455
File comments: 162
Uploads: 9
Zork,

I just wanted to thank you and tell you (hoping you aren't mad) that I "forked" rTooltip. I am building upon it to further customise it. I've given credit though. It's nothing I am releasing, just for myself. https://github.com/moonwitch/rTooltip
Report comment to moderator  
Reply With Quote
Unread 01-13-14, 12:00 AM  
Mirrikh
A Flamescale Wyrmkin
 
Mirrikh's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 111
File comments: 74
Uploads: 3
Hey zork, love your tooltip, i was wondering how would i change the font for it? trying to make it fit with the rest of my Ui.
Report comment to moderator  
Reply With Quote
Unread 01-13-14, 06:51 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Open rTooltip/core.lua and change the font variable to
Lua Code:
  1. cfg.font.family = "FONTS\\myfont" --or any other font path
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 01-13-14, 12:26 PM  
Mirrikh
A Flamescale Wyrmkin
 
Mirrikh's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 111
File comments: 74
Uploads: 3
cool thank you zork.
Report comment to moderator  
Reply With Quote
Unread 07-13-14, 05:38 PM  
Danielps1
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Edge Size / Texture

Hey, I want to change the Size of the edges/the round of it. Where can I do that? You load some standard Edge Textures but If i change the settings of those, I don't get what i want.

Also is it possible to add Texture for the edges? I would like them to look like the rest of my edges
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 07-15-14, 01:59 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: Edge Size / Texture

If you want to learn more about backdrop textures you can check out http://www.wowinterface.com/download...tBackdrop.html. You need to adjust the backdrop textures/values of the tooltip.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 07-15-14 at 01:59 AM.
Report comment to moderator  
Reply With Quote
Unread 09-06-14, 09:01 PM  
Xully
A Wyrmkin Dreamwalker

Forum posts: 50
File comments: 183
Uploads: 0
hi, i have tooltip:SetOwner(parent, "ANCHOR_CURSOR") , but it doesn't want to be on top of the cursor, it is following the cursor height but stuck to the right of the screen :S
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: 1740
File comments: 3728
Uploads: 77
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

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

Forum posts: 1
File comments: 42
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.
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: 1740
File comments: 3728
Uploads: 77
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.
| WoWI AddOns | GitHub | Zork (WoW)

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

Forum posts: 0
File comments: 9
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.
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: 1740
File comments: 3728
Uploads: 77
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.
| WoWI AddOns | GitHub | Zork (WoW)

"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.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: