View Single Post
06-27-21, 04:37 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,932
It looks like its a Tooltip frame.

I'm not sure if tooltips can be shown permanently, but the blizzard code for the minimap buttons in question should show how the tooltip is filled with its information so that you can put it in a frame you can make permanent in that eventuality.

/fstack on the minimap buttons will give you their name and finding their Blizzard code somewhere in the files downloaded from the game - such as at ( https://www.townlong-yak.com/framexml/live ) will help you identifiy the code blocks in question.


This might be what you are looking for. From the minimap.lua file.

Lua Code:
  1. function MiniMapInstanceDifficulty_OnEnter(self)
  2.     local _, instanceType, difficulty, _, maxPlayers, playerDifficulty, isDynamicInstance, _, instanceGroupSize, lfgID = GetInstanceInfo();
  3.     local isLFR = select(8, GetDifficultyInfo(difficulty))
  4.     if (isLFR and lfgID) then
  5.         GameTooltip:SetOwner(self, "ANCHOR_BOTTOMLEFT", 8, 8);
  6.         local name = GetLFGDungeonInfo(lfgID);
  7.         GameTooltip:SetText(RAID_FINDER, 1, 1, 1);
  8.         GameTooltip:AddLine(name);
  9.         GameTooltip:Show();
  10.     end
  11. end
  12. function GuildInstanceDifficulty_OnEnter(self)
  13.     local guildName = GetGuildInfo("player");
  14.     local _, instanceType, _, _, maxPlayers = GetInstanceInfo();
  15.     local _, numGuildPresent, numGuildRequired, xpMultiplier = InGuildParty();
  16.     -- hack alert
  17.     if ( instanceType == "arena" ) then
  18.         maxPlayers = numGuildRequired;
  19.     end
  20.     GameTooltip:SetOwner(self, "ANCHOR_BOTTOMLEFT", 8, 8);
  21.     GameTooltip:SetText(GUILD_GROUP, 1, 1, 1);
  22.     if ( xpMultiplier < 1 ) then
  23.         GameTooltip:AddLine(string.format(GUILD_ACHIEVEMENTS_ELIGIBLE_MINXP, numGuildRequired, maxPlayers, guildName, xpMultiplier * 100), nil, nil, nil, true);
  24.     elseif ( xpMultiplier > 1 ) then
  25.         GameTooltip:AddLine(string.format(GUILD_ACHIEVEMENTS_ELIGIBLE_MAXXP, guildName, xpMultiplier * 100), nil, nil, nil, true);
  26.     else
  27.         if ( instanceType == "party" and maxPlayers == 5 ) then
  28.             numGuildRequired = 4;
  29.         end
  30.         GameTooltip:AddLine(string.format(GUILD_ACHIEVEMENTS_ELIGIBLE, numGuildRequired, maxPlayers, guildName), nil, nil, nil, true);
  31.     end
  32.     GameTooltip:Show();
  33. end
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 06-27-21 at 04:41 AM.
  Reply With Quote