| Updated: | 10-12-10 09:36 PM |
| Created: | 02-22-09 09:13 AM |
| Downloads: | 1,396 |
| Favorites: | 27 |
| MD5: |
File Name |
Version |
Size |
Author |
Date |
1.2 |
8kB |
Tojaso |
07-23-10 11:17 AM |
![]() |
Comment Options |
|
|
|
|
A Murloc Raider
Forum posts: 5
File comments: 75
Uploads: 0
|
I fiddled with this and modified it to show what mode you're in on the right side of the tooltip. Here is the modified Broker_Switcher.lua if you're interested. I also shortened the left-click hint to make the tooltip smaller since it displays which mode you're in now.
![]() Code:
LibStub:GetLibrary("LibDataBroker-1.1"):NewDataObject("Switcher", {
type = "launcher",
text = "Switcher",
OnClick = function(_, msg)
if msg == "LeftButton" then
local screenMode = 1 - GetCVar("gxWindow")
SetCVar("gxWindow", screenMode)
RestartGx()
elseif msg == "RightButton" then
Screenshot()
end
end,
icon = "Interface\\Icons\\Spell_Arcane_TeleportThunderBluff",
OnTooltipShow = function(tooltip)
if GetCVar("gxWindow") == "1" then
tooltip:AddDoubleLine("Switcher", "Windowed")
else
tooltip:AddDoubleLine("Switcher", "Full Screen")
end
tooltip:AddLine("|cffffff00" .. "Click|r to toggle modes")
tooltip:AddLine("|cffffff00" .. "Right-click|r to take a screenshot")
tooltip:Show()
end,
})
Last edited by GreyWolfSC : 10-22-09 at 08:19 PM.
|
|
|
|
|
||
__________________
There is absolutely no evidence to support the theory that life is serious. |
||
|
|
|
|
||
Last edited by Tojaso : 08-18-09 at 02:59 PM.
|
||
|
|
|
|
|
|
I guess I'm confused, do you run a system that doesn't have a "window" around a windowed application? Because when I run in windowed mode, even if its a maximized window there are still the edges of the windows, skinned in whatever the OS usually skins windows in. I'm just curious, cause I'd love to know how to make it not look like I'm in windowed mode when I am.
__________________
There is absolutely no evidence to support the theory that life is serious. |
|
|
|
|
|
|
|
A Defias Bandit
Forum posts: 3
File comments: 44
Uploads: 0
|
It would be nice if the icon (or text) would show if I am currently in window or fullscreen mode.
Right now I always have to open the video settings anyways to see what mode I am in. |
|
|
![]() |