comment/indentation fixes

This commit is contained in:
Mikayla Fischler 2023-04-08 22:00:51 -04:00
parent 527f3446a1
commit d624690b6b
4 changed files with 16 additions and 16 deletions

View File

@ -19,7 +19,7 @@ local flasher = require("graphics.flasher")
---@field y? integer 1 if omitted ---@field y? integer 1 if omitted
---@field fg_bg? cpair foreground/background colors ---@field fg_bg? cpair foreground/background colors
-- new tri-state indicator light -- new dual LED indicator light
---@nodiscard ---@nodiscard
---@param args indicator_led_pair_args ---@param args indicator_led_pair_args
---@return graphics_element element, element_id id ---@return graphics_element element, element_id id

View File

@ -12,7 +12,7 @@ local element = require("graphics.element")
---@field y? integer 1 if omitted ---@field y? integer 1 if omitted
---@field fg_bg? cpair foreground/background colors ---@field fg_bg? cpair foreground/background colors
-- new tri-state indicator light -- new RGB LED indicator light
---@nodiscard ---@nodiscard
---@param args indicator_led_rgb_args ---@param args indicator_led_rgb_args
---@return graphics_element element, element_id id ---@return graphics_element element, element_id id

View File

@ -2,25 +2,25 @@
-- Main SCADA Coordinator GUI -- Main SCADA Coordinator GUI
-- --
local util = require("scada-common.util") local util = require("scada-common.util")
local databus = require("reactor-plc.databus") local databus = require("reactor-plc.databus")
local style = require("reactor-plc.panel.style") local style = require("reactor-plc.panel.style")
local core = require("graphics.core") local core = require("graphics.core")
local flasher = require("graphics.flasher") local flasher = require("graphics.flasher")
local DisplayBox = require("graphics.elements.displaybox") local DisplayBox = require("graphics.elements.displaybox")
local Div = require("graphics.elements.div") local Div = require("graphics.elements.div")
local Rectangle = require("graphics.elements.rectangle") local Rectangle = require("graphics.elements.rectangle")
local TextBox = require("graphics.elements.textbox") local TextBox = require("graphics.elements.textbox")
local PushButton = require("graphics.elements.controls.push_button") local PushButton = require("graphics.elements.controls.push_button")
local LED = require("graphics.elements.indicators.led") local LED = require("graphics.elements.indicators.led")
local LEDPair = require("graphics.elements.indicators.ledpair") local LEDPair = require("graphics.elements.indicators.ledpair")
local RGBLED = require("graphics.elements.indicators.ledrgb") local RGBLED = require("graphics.elements.indicators.ledrgb")
local TEXT_ALIGN = core.graphics.TEXT_ALIGN local TEXT_ALIGN = core.graphics.TEXT_ALIGN

View File

@ -66,7 +66,7 @@ end
---@return boolean ready ---@return boolean ready
function renderer.ui_ready() return ui.view ~= nil end function renderer.ui_ready() return ui.view ~= nil end
-- handle a touch event -- handle a mouse event
---@param event mouse_interaction ---@param event mouse_interaction
function renderer.handle_mouse(event) function renderer.handle_mouse(event)
ui.view.handle_mouse(event) ui.view.handle_mouse(event)