--[[ Constants * (all lua builtins that don't allow io/executing code) color (interface) gui (interface) multi (interface bound to a processor) no thread module callback true/false correct/wrong ]] local label local function index(window, q, callback) label = window:newTextLabel(q.title) label.visibility = 0--q.cosmetics.visibility label.align = ALIGN_CENTER label:fullFrame() label.textColor = color.question_font label.color = color.question_bg label:centerFont() label:scaleFont(.075) label.drawBorder = false useDefaultHandler(callback) end local function update(dt) -- time in seconds that has passed since end return { index = index, update = update }