UIFurnishCorridor Class
Dialog for purchasing `Object`s (for the corridor or for rooms).
Method Index
- addBevelPanel(x, y, w, h, colour, highlight_colour, shadow_colour, disabled_colour) (inherited from Window)
- addColourPanel(x, y, w, h, r, g, b) (inherited from Window)
- addKeyHandler(key, handler, ...) (inherited from Window)
- addPanel(sprite_index, x, y, w, h) (inherited from Window)
- addWindow(window) (inherited from Window)
- afterLoad(old, new) (inherited from Window)
- beginDrag(x, y) (inherited from Window)
- bringToTop() (inherited from Window)
- close() (overrides Window:close)
- confirm()
- draw(canvas, x, y) (overrides Window:draw)
- 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 Window)
- hitTestPanel(x, y, panel) (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)
- 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) (inherited from Window)
- onChangeLanguage() (inherited from Window)
- onChangeResolution() (inherited from Window)
- onCursorWorldPositionChange(x, y) (inherited from Window)
- onMouseDown(button, x, y) (inherited from Window)
- onMouseMove(x, y, dx, dy) (overrides Window:onMouseMove)
- onMouseUp(button, x, y) (inherited from Window)
- onTick() (inherited from Window)
- onWorldTick() (inherited from Window)
- purchaseItem(index, quantity)
- removeAllPanels() (inherited from Window)
- removeWindow(window) (inherited from Window)
- sendToBottom(window) (inherited from Window)
- sendToTop(window) (inherited from Window)
- setDefaultPosition(x, y) (inherited from Window)
- setPosition(x, y) (inherited from Window)
- startButtonBlinking(button_index) (inherited from Window)
- stopButtonBlinking() (inherited from Window)
Member Index
- active_button (*)
- active_scrollbar (*)
- anims
- blink_counter (*)
- blinking_button (*)
- blue_font
- btn_repeat_delay (*)
- buttons (*)
- buttons_down
- closed (*)
- default_button_sound (*)
- draggable (*)
- dragging (*)
- edit_dialog
- esc_closes
- height
- item_price
- key_handlers (*)
- list_hover_index
- modal_class
- objects
- panel_sprites
- panels (*)
- parent (*)
- preview_anim
- price_text
- scrollbars (*)
- textboxes (*)
- title_text
- tooltip_regions (*)
- total_price
- total_text
- ui
- visible (*)
- white_font
- width
- windows (*)
- x
- x_original (*)
- y
- y_original (*)
function UIFurnishCorridor:UIFurnishCorridor(ui, objects, edit_dialog)
Parameters:
Name | Type | Description |
---|---|---|
ui | ? | ? |
objects | ? | ? |
edit_dialog | ? | ? |
Declared on: line 28 of Lua/dialogs/furnish_corridor.lua.
function UIFurnishCorridor:close()
Overrides: Window:close.
Declared on: line 183 of Lua/dialogs/furnish_corridor.lua.
function UIFurnishCorridor:draw(canvas, x, y)
Parameters:
Name | Type | Description |
---|---|---|
canvas | ? | ? |
x | ? | ? |
y | ? | ? |
Overrides: Window:draw.
Declared on: line 191 of Lua/dialogs/furnish_corridor.lua.
function UIFurnishCorridor:onMouseMove(x, y, dx, dy)
Parameters:
Name | Type | Description |
---|---|---|
x | ? | ? |
y | ? | ? |
dx | ? | ? |
dy | ? | ? |
Overrides: Window:onMouseMove.
Declared on: line 211 of Lua/dialogs/furnish_corridor.lua.
function UIFurnishCorridor:purchaseItem(index, quantity)
Parameters:
Name | Type | Description |
---|---|---|
index | ? | ? |
quantity | ? | ? |
Declared on: line 120 of Lua/dialogs/furnish_corridor.lua.