lcd.drawScreenTitle(title, page, pages)
Draws a title bar
@status current Introduced in 2.0.0
Parameters
title
(string) text for the titlepage
(number) page numberpages
(number) total number of pages. Only used as indicator on the right side of title bar. (i.e. idx=2, cnt=5, display2/5
)
Return value
none
Examples
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}