Category: Data Broker
Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
1.1
Date:
08-18-2009 01:14 PM
Size:
8.55 Kb
Downloads:
402
Favorites:
24
MD5:
Pictures
Click to enlarge
Broker Switcher
This is a simple LibDataBroker plug-in inspired by Fubar_switcherFu. Clicking on the icon will switch the display between full-screen and windowed mode. Right-clicking on the icon will take a screenshot (stored in the WoW Screenshots folder).

Like all LibDataBroker plug-ins, Broker Switcher requires a data display addon like DockingStation or ButtonBin.
  Change Log - Broker Switcher
Updated with latest libraries for 3.2 release.
  Archived Versions - Broker Switcher
File Name
Version
Size
Author
Date
1.0
10kB
Tojaso
02-22-2009 11:13 AM
  Comments - Broker Switcher
Post A Reply Comment Options
Old 10-22-2009, 05:57 PM  
GreyWolfSC
A Murloc Raider

Forum posts: 4
File comments: 25
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-2009 at 10:19 PM.
GreyWolfSC is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-19-2009, 06:49 PM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 495
Uploads: 1
Quote:
Originally posted by Tojaso
Broker Switcher provides a shortcut for toggling Blizzard's "Windowed Mode" Video setting. It does not affect Blizzard's "Maximized" Video setting. If I understand your question correctly, then you may be able to do what you want by going into Blizzard's Video settings (hit Escape to bring up the Options list, select Video, select Resolution) and enable both "Windowed Mode" and "Maximized". On my Vista system, that makes WoW fill the screen but lets other application windows sit on top (you may need to use the Start key to access Window's task bar and switch between apps).
Yes, this is how I play, but "maximized" while in windowed mode still shows the edges of the window. That's how I know I'm in windowed mode, 'cause I can see the window. Thanks for the suggestion though!
__________________
There is absolutely no evidence to support the theory that life is serious.
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-18-2009, 04:58 PM  
Tojaso
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 1
Uploads: 1
Quote:
Originally posted by xtoq
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.
Broker Switcher provides a shortcut for toggling Blizzard's "Windowed Mode" Video setting. It does not affect Blizzard's "Maximized" Video setting. If I understand your question correctly, then you may be able to do what you want by going into Blizzard's Video settings (hit Escape to bring up the Options list, select Video, select Resolution) and enable both "Windowed Mode" and "Maximized". On my Vista system, that makes WoW fill the screen but lets other application windows sit on top (you may need to use the Start key to access Window's task bar and switch between apps).

Last edited by Tojaso : 08-18-2009 at 04:59 PM.
Tojaso is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-18-2009, 04:37 PM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 495
Uploads: 1
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.
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-05-2009, 07:49 AM  
Laren
A Defias Bandit

Forum posts: 2
File comments: 33
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.
Laren is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.