cleanup of requires

This commit is contained in:
Mikayla Fischler 2022-11-24 22:49:35 -05:00
parent 5628df56a2
commit f68c38ccee
6 changed files with 8 additions and 9 deletions

View File

@ -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")

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -2,7 +2,7 @@
-- Indicator Light Flasher
--
local tcd = require("scada-common.tcallbackdsp")
local tcd = require("scada-common.tcallbackdsp")
local flasher = {}