UICustomise Class
Customise window used in the main menu and ingame.
Inheritance: UICustomise » UIResizable » Window
Method Index
- addBevelPanel(x, y, w, h, colour, highlight_colour, shadow_colour, disabled_colour, lowered_colour, apply_ui_scale) (inherited from Window)
- addColourPanel(x, y, w, h, r, g, b, apply_ui_scale) (inherited from Window)
- addKeyHandler(key, handler, ...) (inherited from Window)
- addPanel(sprite_index, x, y, w, h, apply_ui_scale, draw_flags) (inherited from Window)
- addWindow(window) (inherited from Window)
- afterLoad(old, new) (inherited from UIResizable)
- beginDrag(x, y) (inherited from Window)
- beginResize(x, y, mode) (inherited from UIResizable)
- bringToTop() (inherited from Window)
- buttonAliens()
- buttonAnnouncer_subtitles()
- buttonAudioGlobal()
- buttonAverage_contents()
- buttonBack()
- buttonDestroyed_rooms()
- buttonFractured_bones()
- buttonIntro()
- buttonMachine_menu()
- buttonMoviesGlobal()
- buttonPaused()
- buttonScreen_shake()
- buttonVolume()
- close() (overrides Window:close)
- draw(canvas, x, y) (inherited from UIResizable)
- getRealXY() (inherited from Window)
- getSavedWindowPositionName() (inherited from Window)
- getTooltipAt(x, y) (inherited from Window)
- getTooltipForElement(elem, x, y) (inherited from Window)
- getWindow(window_class) (inherited from Window)
- getWindows(window_class) (inherited from Window)
- hitTest(x, y) (inherited from UIResizable)
- hitTestCorners(x, y) (inherited from UIResizable)
- hitTestPanel(x, y, panel) (inherited from Window)
- hoverTest(active_hover, mouse_x, mouse_y, min_x, max_x, min_y, max_y) (inherited from Window)
- makeButtonOnPanel(panel, x, y, w, h, sprite, on_click, on_click_self, on_rightclick) (inherited from Window)
- makeDynamicTooltip(callback, x, y, r, b, tooltip_x, tooltip_y) (inherited from Window)
- makeHotkeyBoxOnPanel(panel, confirm_callback, abort_callback) (inherited from Window)
- makeScrollbarOnPanel(panel, slider_colour, callback, min_value, max_value, page_size, value) (inherited from Window)
- makeTextboxOnPanel(panel, confirm_callback, abort_callback) (inherited from Window)
- makeTooltip(text, x, y, r, b, tooltip_x, tooltip_y, apply_ui_scale) (inherited from Window)
- mustPause() (inherited from Window)
- onChangeLanguage() (inherited from Window)
- onChangeResolution() (inherited from Window)
- onCursorWorldPositionChange(x, y) (inherited from Window)
- onMouseDown(button, x, y) (inherited from UIResizable)
- onMouseMove(x, y, dx, dy) (inherited from Window)
- onMouseUp(button, x, y) (inherited from Window)
- onMouseWheel(x, y) (inherited from Window)
- onTick() (inherited from Window)
- onWorldTick() (inherited from Window)
- overrideMinSize(min_width, min_height) (inherited from UIResizable)
- reload()
- removeAllPanels() (inherited from Window)
- removeKeyHandler(keys) (inherited from Window)
- removeWindow(window) (inherited from Window)
- sendToBottom(window) (inherited from Window)
- sendToTop(window) (inherited from Window)
- setColour(colour) (inherited from UIResizable)
- setDefaultPosition(x, y) (inherited from Window)
- setPosition(x, y) (inherited from Window)
- setSize(width, height) (inherited from UIResizable)
- startButtonBlinking(button_index) (inherited from Window)
- stopButtonBlinking() (inherited from Window)
Member Index
- active_button (*)
- active_scrollbar (*)
- aliens_button
- aliens_panel
- announcer_subtitles_button
- announcer_subtitles_panel
- app
- apply_ui_scale (*)
- average_contents_button
- average_contents_panel
- background_panel (*)
- blink_counter (*)
- blinking_button (*)
- border_pos (*)
- border_sprites (*)
- btn_repeat_delay (*)
- buttons (*)
- buttons_down (*)
- closed (*)
- colour (*)
- cursor_x (*)
- cursor_y (*)
- default_button_sound
- destroyed_rooms_button
- destroyed_rooms_panel
- draggable (*)
- dragging (*)
- esc_closes
- fractured_bones_button
- fractured_bones_panel
- height (*)
- hotkeyboxes (*)
- intro_button
- intro_panel
- key_handlers (*)
- machine_menu_button
- machine_menu_panel
- min_height (*)
- min_width (*)
- modal_class
- mode
- movies_button
- movies_panel
- on_top
- panel_sprites (*)
- panels (*)
- parent (*)
- paused_button
- paused_panel
- resizable
- screen_shake_button
- screen_shake_panel
- scrollbars (*)
- textboxes (*)
- tooltip_regions (*)
- ui
- visible (*)
- volume_button
- volume_panel
- width (*)
- windows (*)
- x (*)
- x_original (*)
- y (*)
- y_original (*)
function UICustomise:UICustomise(ui, mode)
Parameters:
| Name | Type | Description |
|---|---|---|
| ui | ? | ? |
| mode | ? | ? |
Declared on: line 45 of Lua/dialogs/resizables/customise.lua.
function UICustomise:buttonAnnouncer_subtitles()
Declared on: line 256 of Lua/dialogs/resizables/customise.lua.
function UICustomise:buttonAudioGlobal()
Declared on: line 155 of Lua/dialogs/resizables/customise.lua.
function UICustomise:buttonAverage_contents()
Declared on: line 220 of Lua/dialogs/resizables/customise.lua.
function UICustomise:buttonDestroyed_rooms()
Declared on: line 229 of Lua/dialogs/resizables/customise.lua.
function UICustomise:buttonFractured_bones()
Declared on: line 209 of Lua/dialogs/resizables/customise.lua.
function UICustomise:buttonMachine_menu()
Declared on: line 238 of Lua/dialogs/resizables/customise.lua.
function UICustomise:buttonMoviesGlobal()
Declared on: line 160 of Lua/dialogs/resizables/customise.lua.
function UICustomise:buttonScreen_shake()
Declared on: line 247 of Lua/dialogs/resizables/customise.lua.
function UICustomise:close()
Overrides: Window:close.
Declared on: line 277 of Lua/dialogs/resizables/customise.lua.
function UICustomise:reload()
So that we can see the option has been changed reload the menu
Declared on: line 271 of Lua/dialogs/resizables/customise.lua.