Download
(4Kb)
Download
Updated: 11-10-20 08:38 AM
Pictures
File Info
Compatibility:
Shadowlands pre-patch (9.0.1)
Updated:11-10-20 08:38 AM
Created:06-21-16 04:28 AM
Downloads:12,358
Favorites:42
MD5:
Categories:Graphic UI Mods, Miscellaneous

MoveTalkingHead  Popular! (More than 5000 hits)

Version: v1.3.3
by: Ketho [More]

Makes that message dialog movable with Shift-Left-Click

You can move it by shift-clicking and dragging
It can also be scaled with the mouse wheel (while pressing shift)

Note that the frame will be made click-through when not holding shift so it doesn't block quest givers or mobs underneath it, but if you want to right-click the frame away you need to hold shift as well.

This does not work with ElvUI, which already supports moving it with /moveui

Slash Commands

/th 0.8 ----- sets the scale to 0.80 (can be between 0.50 to 2.00)
/th reset -- resets the position and scale


MoveTalkingHead
v1.3.3 (2020-11-10)
Full Changelog Previous Releases
  • Shadowlands pre-patch update
  • Try to fix nil THF value
  • Disable self when ElvUI is loaded
  • Add sanity check for UICamera model
  • Bump TOC
  • Bump TOC
  • Bump TOC, added koKR locale
  • Bump TOC for 7.1
    Update deDE locale
  • Fixed the frame sometimes still being movable when not holding shift
  • Fixed the frame getting stuck on the mouse cursor
  • Made it click-through when not pressing a modifier key
  • Add Blizzard_TalkingHeadUI dependency for when loaded manually
  • Added '/th lock' for click-through functionality
  • Also remove anchor when moving for the first time and there is no saved point set
  • Properly remove alert frame anchor again
  • Make it LoadOnDemand, loads with Blizzard_TalkingHeadUI
  • Scroll in steps of 0.05 instead of 0.1; Maybe I should wait before tagging stuff =.=
  • oops, rounded to 1 instead of 2 decimals'
  • Added ctrl/shift/alt mouse wheel scaling (Thanks nebula)
    Added zhTW locale
  • Fixed alert frames being anchored to the TalkingHeadFrame (thanks RealUI); Added deDE locale
  • fixed an error with the slash command; removed the model camera distance fix
  • Initial release
Optional Files (0)


Post A Reply Comment Options
Unread 09-01-16, 02:37 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Ketho I think you can get around that ADDON_LOADED part by just making your addon LoadWith Blizzard_TalkingHeadUI.

https://github.com/zorker/rothui/blo...alkingHead.toc

On top of that I have no problem with wow saving my position data in the layout-local.txt correctly.

That is only a problem if you apply your setpoint/setsize after the layout-local.txt has been read.
__________________
| 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-01-16, 05:03 PM  
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1026
File comments: 213
Uploads: 52
Originally Posted by zork
Ketho I think you can get around that ADDON_LOADED part by just making your addon LoadWith Blizzard_TalkingHeadUI.

https://github.com/zorker/rothui/blo...alkingHead.toc
Thanks, that works. I still had to check ADDON_LOADED for when the (Edit) SavedVars is loaded though, but it's LoadOnDemand now in the latest alpha

Previously I couldn't get the slash command working when loaded on demand, but now it seems to work...

Originally Posted by zork
On top of that I have no problem with wow saving my position data in the layout-local.txt correctly.

That is only a problem if you apply your setpoint/setsize after the layout-local.txt has been read.
I'm not sure how to do this, can I just call TalkingHeadFrame:SetUserPlaced(true) and omit the TalkingHeadFrame:SetUserPlaced.ignoreFramePositionManager part?
I shouldn't have to call SetPoint and SetPosition then, right? If that would then be handled by the Blizzard frame position manager

It's saving in layout-local.txt correctly for me, but it doesn't seem to set the position once the LoadOnDemand frame is loaded and it being character-specific is kind of a let down
Last edited by Ketho : 09-02-16 at 09:48 PM.
Report comment to moderator  
Reply With Quote
Unread 09-02-16, 11:47 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
I keep ignoreFramePositionManager in just to be sure. Most important part is to not use ADDON_LOADED. That is to late. SetUserPlaced has to be active on a frame on init. You can test my version if you want.
__________________
| 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-02-16, 09:47 PM  
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1026
File comments: 213
Uploads: 52
Originally Posted by zork
I keep ignoreFramePositionManager in just to be sure. Most important part is to not use ADDON_LOADED. That is to late. SetUserPlaced has to be active on a frame on init. You can test my version if you want.

I tested rTalkingHead now and it's indeed working fine



But I can't get following code to work, and have no clue why
It gets saved to layout-local.txt, but the frame position is not being set the next time it loads
https://github.com/Ketho/MoveTalking...alkingHead.lua
Lua Code:
  1. local THF = TalkingHeadFrame
  2. THF:SetMovable(true)
  3. THF:SetUserPlaced(true)
  4.  
  5. THF.ignoreFramePositionManager = true
  6.        
  7. THF:RegisterForDrag("LeftButton")
  8. THF:SetScript("OnDragStart", THF.StartMoving)
  9. THF:SetScript("OnDragStop", THF.StopMovingOrSizing)

Honestly speaking, I'd still prefer using the SavedVariables though if SetUserPlaced is character-specific(?)
Last edited by Ketho : 09-02-16 at 09:52 PM.
Report comment to moderator  
Reply With Quote
Unread 09-03-16, 03:42 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Yes layout-local.txt is character specific. Hmm maybe sth in the .toc file, I don't know.
Btw I just wanted to let you know, your version was totally fine before.
__________________
| 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
Post A Reply



Category Jump: