Download
(12 Kb)
Download
Updated: 08-31-12 04:16 PM
Pictures
File Info
Compatibility:
Mists of Pandaria (5.0.4)
Updated:08-31-12 04:16 PM
Created:02-22-09 09:13 AM
Downloads:1,982
Favorites:28
MD5:
Broker Switcher
Version: 1.3
by: Tojaso [More]
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 ChocolateBar or DockingStation.

Changes in version 1.2: the current mode is shown in the tooltip (thanks to GreyWolfSC) and the tooltip is hidden when a screenshot is taken.
Added shift-left-click option to select Windowed (Full Screen) mode.
Added option to display a grid for helping set up display objects, cycle between green or red lines.
Archived Files (2)
File Name
Version
Size
Author
Date
1.2 for 4.0.1
8kB
Tojaso
10-12-10 09:36 PM
1.2
8kB
Tojaso
07-23-10 11:17 AM


Post A Reply Comment Options
Old 07-27-10, 08:01 AM  
Kogasu
A Kobold Labourer
 
Kogasu's Avatar

Forum posts: 0
File comments: 113
Uploads: 0
Thought I'd pop in and say that I find this to be one of the handiest little shortcuts in the entire game. With double monitors this initiates a substantial jump in fps in full screen mode. Ive been using it since it was on fubar. Thanks for maintaining it. Oh, and I've never seen a window edge either in maximized.
Last edited by Kogasu : 07-27-10 at 08:14 AM.
Kogasu is offline Report comment to moderator  
Reply With Quote
Old 11-28-09, 01:26 PM  
Laren
A Defias Bandit

Forum posts: 3
File comments: 44
Uploads: 0
Originally posted by xtoq
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!
If you enable all 3 options: Windowed Mode, Maximized and Disable Resize you should not see any difference from fullscreen mode. At least I have never heard of anyone still seeing any borders then. Except you can alt-tab much faster and have other windows (e.g. internet browser) on top.
Laren is offline Report comment to moderator  
Reply With Quote
Old 10-22-09, 03:57 PM  
GreyWolfSC
A Murloc Raider

Forum posts: 5
File comments: 84
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.
GreyWolfSC is offline Report comment to moderator  
Reply With Quote
Old 08-19-09, 04:49 PM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 641
Uploads: 3
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  
Reply With Quote
Old 08-18-09, 02:58 PM  
Tojaso
A Defias Bandit
 
Tojaso's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 500
Uploads: 2
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-09 at 02:59 PM.
Tojaso is offline Report comment to moderator  
Reply With Quote
Old 08-18-09, 02:37 PM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 641
Uploads: 3
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  
Reply With Quote
Old 04-05-09, 05:49 AM  
Laren
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.
Laren is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: