some coordinator code cleanup and refactoring

This commit is contained in:
Mikayla Fischler
2023-02-02 23:07:09 -05:00
parent 2e78aa895d
commit 53e4576547
12 changed files with 109 additions and 112 deletions

View File

@@ -1,9 +1,7 @@
local util = require("scada-common.util")
local style = require("coordinator.ui.style")
local core = require("graphics.core")
local style = require("coordinator.ui.style")
local Rectangle = require("graphics.elements.rectangle")
local TextBox = require("graphics.elements.textbox")
@@ -11,8 +9,6 @@ local DataIndicator = require("graphics.elements.indicators.data")
local HorizontalBar = require("graphics.elements.indicators.hbar")
local StateIndicator = require("graphics.elements.indicators.state")
local TEXT_ALIGN = core.graphics.TEXT_ALIGN
local cpair = core.graphics.cpair
local border = core.graphics.border