diff --git a/coordinator/renderer.lua b/coordinator/renderer.lua index fe81f5e..e66fb99 100644 --- a/coordinator/renderer.lua +++ b/coordinator/renderer.lua @@ -1,8 +1,6 @@ local log = require("scada-common.log") local flasher = require("graphics.flasher") -local iocontrol = require("coordinator.iocontrol") - local style = require("coordinator.ui.style") local main_view = require("coordinator.ui.layout.main_view") diff --git a/coordinator/startup.lua b/coordinator/startup.lua index 4becc59..6cc3481 100644 --- a/coordinator/startup.lua +++ b/coordinator/startup.lua @@ -17,7 +17,7 @@ local config = require("coordinator.config") local coordinator = require("coordinator.coordinator") local renderer = require("coordinator.renderer") -local COORDINATOR_VERSION = "alpha-v0.6.16" +local COORDINATOR_VERSION = "alpha-v0.6.17" local print = util.print local println = util.println diff --git a/graphics/elements/controls/multi_button.lua b/graphics/elements/controls/multi_button.lua index 1dd39b4..4948b33 100644 --- a/graphics/elements/controls/multi_button.lua +++ b/graphics/elements/controls/multi_button.lua @@ -1,9 +1,9 @@ -- Button Graphics Element -local element = require("graphics.element") - local util = require("scada-common.util") +local element = require("graphics.element") + ---@class button_option ---@field text string ---@field fg_bg cpair diff --git a/graphics/elements/controls/spinbox_numeric.lua b/graphics/elements/controls/spinbox_numeric.lua index 3bce169..bfb1552 100644 --- a/graphics/elements/controls/spinbox_numeric.lua +++ b/graphics/elements/controls/spinbox_numeric.lua @@ -1,9 +1,9 @@ -- Spinbox Numeric Graphics Element -local element = require("graphics.element") - local util = require("scada-common.util") +local element = require("graphics.element") + ---@class spinbox_args ---@field default? number default value, defaults to 0.0 ---@field min? number default 0, currently must be 0 or greater diff --git a/graphics/elements/indicators/light.lua b/graphics/elements/indicators/light.lua index 0c4c340..3695553 100644 --- a/graphics/elements/indicators/light.lua +++ b/graphics/elements/indicators/light.lua @@ -1,8 +1,9 @@ -- Indicator Light Graphics Element +local util = require("scada-common.util") + local element = require("graphics.element") local flasher = require("graphics.flasher") -local util = require("scada-common.util") ---@class indicator_light_args ---@field label string indicator label diff --git a/graphics/flasher.lua b/graphics/flasher.lua index 12c6670..b5eed69 100644 --- a/graphics/flasher.lua +++ b/graphics/flasher.lua @@ -2,7 +2,7 @@ -- Indicator Light Flasher -- -local tcd = require("scada-common.tcallbackdsp") +local tcd = require("scada-common.tcallbackdsp") local flasher = {}