This is the primary Vyzor Frame, responsible for managing all other Frames. The HUD itself is not a Label, but it does create and maintain four Frames as Labels that give shape to Mudlet’s Borders.
HUD | This is the primary Vyzor Frame, responsible for managing all other Frames. |
Variables | |
console_width | The width of the main console. |
console_height | The height of the main console. |
borders | Contains Vyzor’s Border information. |
Functions | |
updateBorders | Updates Mudlet’s Borders. |
Variables | |
VyzorTop | The Frame defined by Mudlet’s top border. |
VyzorBottom | The Frame defined by Mudlet’s bottom border. |
VyzorRight | The Frame defined by Mudlet’s right border. |
VyzorLeft | The Frame defined by Mudlet’s left border. |
Events | |
VyzorResize | Handles Mudlet’s window resizing via anonymous Event. |
local function updateBorders ()
Updates Mudlet’s Borders. This uses values defined in options.lua. The default is dynamic, which uses all available space surrounding the main console. This means that there is no top or bottom by default, but that can easily be changed. This is called every time the Mudlet window is resized.
The width of the main console.
local console_width
The height of the main console.
local console_height
Contains Vyzor’s Border information.
local borders
Updates Mudlet’s Borders.
local function updateBorders ()