Stuff
public text v1 · immutableBACKGROUND = "/usr/local/res/graphics/background/Background_orange.GIF"
nc = require("lua-ncooler")
nc.AppCreate()
h = nc.ScreenHeight()
w = nc.ScreenWidth()
print ("Our screen is " .. w .. "x" .. h .. "\n")
nc.SetWallpaper(BACKGROUND)
f = nc.FormNew(0,0, w, 50)
f:SetProp(nil, nc.NCC_RED)
fore, back = f:GetProp()
print("Background color " .. back .. ". Foreground color " .. fore .. "\n")
f:Show()
nc.AppStart()
nc.AppStop()