Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
mNo edit summary
(fix arguments...(urg, don't like editting))
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
  +
{{wowapi}}
<center>'''SetupWorldMapScale''' ''-Documentation by [[user:Flickering|Flickering]]-''</center>
 
   
  +
SetupFullscreenScale(frame);
SetupWorldMapScale();
 
   
The purpose of this function isn't exactly clear, but from the way it's used it would appear to be a function that appropriately scales the world
+
The purpose of this function isn't exactly clear, but from the way it's used it would appear to be a function that appropriately scales a frame for full-screen views, such as the world map frame, to fit on the screen maximally depending on the aspect ratio. Why this wasn't implemented in lua isn't entirely clear, though it may require information about the screen geometry which isn't exposed through the standard UI.
map frame to fit on the screen maximally. Why this wasn't implemented in lua isn't entirely clear, though it may require information about the screen geometry which isn't exposed through the standard UI.
 
   
  +
== Parameters ==
----
 
;''Arguments''
+
=== Arguments ===
  +
:;frame : The frame to manipulate.
   
  +
== Notes ==
:<i>none</i>
 
  +
* SetupFullscreenScale replaced [[API SetupWorldMapScale|SetupWorldMapScale]] in 1.12.
----
 
{{Template:WoW API}}
 
[[Category:API Functions|SetupWorldMapScale]]
 
[[Category:API World Map Functions|SetupWorldMapScale]]
 

Revision as of 20:07, 13 August 2007

SetupFullscreenScale(frame);

The purpose of this function isn't exactly clear, but from the way it's used it would appear to be a function that appropriately scales a frame for full-screen views, such as the world map frame, to fit on the screen maximally depending on the aspect ratio. Why this wasn't implemented in lua isn't entirely clear, though it may require information about the screen geometry which isn't exposed through the standard UI.

Parameters

Arguments

frame
The frame to manipulate.

Notes