Thread Tools Display Modes
12-26-11, 08:46 AM   #1
xromania™
A Frostmaul Preserver
 
xromania™'s Avatar
Join Date: Jun 2008
Posts: 284
addon to open AH and char info in same time?

is one pls? is a verry important thing and no one??
__________________
*sry my english
http://eu.battle.net/wow/en/characte...romania/simple
  Reply With Quote
12-26-11, 09:52 AM   #2
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
the addon is called bigger screen
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote
12-26-11, 12:52 PM   #3
OmegaExtreme
A Wyrmkin Dreamwalker
 
OmegaExtreme's Avatar
Join Date: Oct 2011
Posts: 58
lower your UI Scale.
  Reply With Quote
12-26-11, 07:02 PM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
WoW automatically decides how many windows can be open at the same time without overlapping each other or other frames (such as your bags, or the minimap) based on the pixel size of your screen (screen resolution) and the size of each UI object (controlled by your UI scale). To fit more windows on the screen, you either need to increase your screen resolution (or use a larger monitor), or decrease your UI scale.
  Reply With Quote
12-26-11, 07:29 PM   #5
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,359
Code:
local eventframe=CreateFrame("FRAME")
eventframe:SetScript("OnEvent",
function(self,event,...)
	return self[event] and self[event](...)
end)
eventframe:RegisterEvent("AUCTION_HOUSE_SHOW")
function eventframe.AUCTION_HOUSE_SHOW()
	ToggleCharacter("PaperDollFrame")
end
You can use the code at Vladinator's World of Warcraft: Addon Creator to make a simple addon out of it.

Unless I totally misunderstood the request
  Reply With Quote
12-26-11, 07:38 PM   #6
OmegaExtreme
A Wyrmkin Dreamwalker
 
OmegaExtreme's Avatar
Join Date: Oct 2011
Posts: 58
Originally Posted by Phanx View Post
To fit more windows on the screen, you either need to increase your screen resolution (or use a larger monitor), or decrease your UI scale.
Or both (word limit)
  Reply With Quote
12-26-11, 09:14 PM   #7
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Dridzt View Post
Unless I totally misunderstood the request
The OP's screen resolution and/or UI scale do not permit both windows to be shown at the same time. Your code doesn't bypass Blizzard's UI panel handling, so all that will happen is that the user will open the auction house, then your addon will open the character pane, and WoW will decide that the user's screen is not wide enough to show both windows at their present size and close the auction house to make room for the character panel.

You could probably override the default UI panel handling, but doing so would also probably cause things to break in combat, since some UI panels (like the spellbook) are secure.

Aside from the obvious and extremely simple solutions of increasing the screen resolution or reducing the UI scale, another solution would be to remove one or both of the windows in question from the list of frames to be managed by the Blizzard panel handling system, but then you would also need to write more code to manage their positions yourself (so they didn't overlap each other, for example). Doesn't seem worthwhile.
  Reply With Quote
12-26-11, 09:58 PM   #8
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,359
Where in OP does it say that his problem is screen resolution or that opening one frame closes the other (which would lead one to assume what you said)

All I see is
Code:
addon to open AH and char info in same time?
I took that to mean "open character pane alongside AH automatically".

I guess until he's back to the thread we won't know
  Reply With Quote
12-27-11, 12:45 AM   #9
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
A bigger monitor won't really do anything since the UI coordinate system is always rendered at a base height of 768 and adjusts the width according to the aspect ratio.



According to the following data, the following formula should give you the needed scale.
Code:
Scale = BaseHeight / AspectRatio / RequiredWidth
BaseHeight is always 768 and RequiredWidth seems to be 1476.



For a 5:4 monitor:
Code:
0.6504 ~= 768 / (5/4) / 1476
For a 4:3 monitor:
Code:
0.6938 ~= 768 / (4/3) / 1476
For a 16:9 monitor:
Code:
0.9250 ~= 768 / (16/9) / 1476
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
12-27-11, 01:37 AM   #10
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
But a widescreen vs. a 4:3 monitor would do the trick.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
12-27-11, 03:24 AM   #11
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Originally Posted by Seerah View Post
But a widescreen vs. a 4:3 monitor would do the trick.
Still need to set the UI scale to about 0.925 or lower as per the formula I posted above. Close, but not enough. Note most widescreens are the 16:9 ratio.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 12-27-11 at 03:26 AM.
  Reply With Quote
12-27-11, 12:30 PM   #12
Taryble
A Molten Giant
 
Taryble's Avatar
Join Date: Jan 2009
Posts: 811
Actually, most widescreen monitors are 16:10, not 16:9 - 16:9 is the ratio of "HD" televisions, and some monitors.

The only way to check, of course, is to check the math on your native resolution.
__________________
-- Taryble
  Reply With Quote
12-27-11, 12:52 PM   #13
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 793
16:9 and 16:10 like no difference, not sure why monitors, most at least, got 19:10 it's not real 1080p :P Also the difference is almost non existant, slightly more pixels in the height.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » addon to open AH and char info in same time?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off