Draws a title bar
@status current Introduced in 2.0.0
-
title
(string) text for the title -
page
(number) page number -
pages
(number) total number of pages. Only used as indicator on the right side of title bar. (i.e. idx=2, cnt=5, display2/5
)
none
local function run(event)
lcd.clear()
lcd.drawText(20, 20,"drawScreenTitle", DBLSIZE + BLINK)
lcd.drawScreenTitle("This screen has one page", 1, 1)
end
return{run=run}