#84 auto-incrementing x with line break function, removed need for get_offset by having parent prepare child template

This commit is contained in:
Mikayla Fischler
2022-07-28 11:17:34 -04:00
parent f4f36b020b
commit 14b24678f9
17 changed files with 144 additions and 124 deletions

View File

@@ -93,7 +93,7 @@ local function data(args)
-- initial value draw
e.on_update(args.value)
return e.complete()
return e.get()
end
return data

View File

@@ -99,7 +99,7 @@ local function hbar(args)
-- initialize to 0
e.on_update(0)
return e.complete()
return e.get()
end
return hbar

View File

@@ -62,7 +62,7 @@ local function icon(args)
-- initial icon draw
e.on_update(args.value or 1)
return e.complete()
return e.get()
end
return icon

View File

@@ -45,7 +45,7 @@ local function indicator_light(args)
e.on_update(false)
e.window.write(args.label)
return e.complete()
return e.get()
end
return indicator_light

View File

@@ -72,7 +72,7 @@ local function state_indicator(args)
-- initial draw
e.on_update(args.value or 1)
return e.complete()
return e.get()
end
return state_indicator

View File

@@ -78,7 +78,7 @@ local function vbar(args)
end
end
return e.complete()
return e.get()
end
return vbar