Progressbar.fgcolor
Get or set the Progressbar foreground color. A nil value means that the Progressbar foreground color is the default one.
Example
--! luart-extensions
import ui
-- create a simple Window
local win = ui.Window("Progressbar.fgcolor sample")
-- create a themed Progessbar
local pb = ui.Progressbar(win)
pb.themed = false
pb:center()
-- Changes default Progressbar colors
pb.bgcolor = 0x005080
pb.fgcolor = 0xF0A030
pb.position = 50
win:show()
-- update user interface
repeat
ui.update()
until not win.visible