-monitor support & getAll() for list-objects
added multiple monitor support added getAll() for lists, dropdowns, radios and menubars
This commit is contained in:
@@ -95,7 +95,6 @@ generateFontSize(3,false)
|
||||
|
||||
local function makeText(nSize, sString, nFC, nBC, bBlit)
|
||||
if not type(sString) == "string" then error("Not a String",3) end --this should never happend with expects in place.
|
||||
print(tHex, nFC)
|
||||
local cFC = type(nFC) == "string" and nFC:sub(1, 1) or tHex[nFC] or error("Wrong Front Color",3)
|
||||
local cBC = type(nBC) == "string" and nBC:sub(1, 1) or tHex[nBC] or error("Wrong Back Color",3)
|
||||
local font = fonts[nSize] or error("Wrong font size selected",3)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
local function basaltDrawHelper()
|
||||
local terminal = parentTerminal
|
||||
local function basaltDrawHelper(drawTerm)
|
||||
local terminal = drawTerm
|
||||
local width, height = terminal.getSize()
|
||||
local cacheT = {}
|
||||
local cacheBG = {}
|
||||
@@ -178,5 +178,4 @@ local function basaltDrawHelper()
|
||||
end;
|
||||
}
|
||||
return drawHelper
|
||||
end
|
||||
local drawHelper = basaltDrawHelper()
|
||||
end
|
||||
Reference in New Issue
Block a user