All pastes #83692 Raw Edit

Thrae

public text v1 · immutable
·published 2006-07-09 23:48 UTC
rendered paste body
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
	..\FrameXML\UI.xsd">

	<Frame name="TinyTipOptionsFrame" parent="UIParent" hidden="false">
		<Size>
			<AbsDimension x="2" y="2" />
		</Size>
    <Anchors>
      <Anchor point="CENTER">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
	</Frame>

</Ui>

------------------------------------------------------------------------------
-- TinyTipOptions.lua

local _G = getfenv(0)
local dewdrop = _G.AceLibrary:GetInstance("Dewdrop-2.0")

if not dewdrop:IsRegistered(_G.TinyTipOptionsFrame) then
	_G.TinyTipOptionsFrame:SetClampedToScreen(true)
	dewdrop:Register(_G.TinyTipOptionsFrame, 'children', function() dewdrop:AddLine('text', "Fooo", 'tooltipTitle', "Fooo", 'tooltipText', "Foo2" ) end )
end

_G.TinyTipOptionsFrame:SetPoint("BOTTOMLEFT", _G.GetCursorPosition())
dewdrop:Open(_G.TinyTipOptionsFrame)