Lore archive · Warcraft Wiki, 2023 dump
API SetLayoutMode
Last wiki revision 2020-04-04
Transfers the UI renderer into the selected layout mode SetLayoutMode([newState])
- Number newState (optional)
- Set this to 0 to disable 'layout mode'; any other number will enable it.
- Passing defaults this argument to 1, thus enabling 'layout mode'
- Nothing
- When 'layout mode' is enabled, you can globally bypass the processing of mouse clicks while holding down the Ctrl or Alt key. This means that WoW will not generate any corresponding events either. By default, WoW does not use the 'layout mode'.
- It is unclear of what use this function is. As of v1.12, there is still some special code being executed where clicks would normally be processed, but it is unknown whether it is broken or does have any effect on the game at all. It might have served for generating Drag&Drop events in WoW Alpha, so the Blizzard UI developers could easily design and test their FrameXML layout in-game.
Source
https://warcraft.wiki.gg/wiki/API_SetLayoutMode · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.