From 370c10c78770bc3c1a70a086b238e7a8e5197fb9 Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Wed, 22 Feb 2012 23:33:54 +0100 Subject: Rename makeTabable() to makeCyclable() --- button.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'button.lua') diff --git a/button.lua b/button.lua index 94ff634..b601458 100644 --- a/button.lua +++ b/button.lua @@ -13,9 +13,10 @@ return function(title, x,y, w,h, draw) -- core.mouse.updateState(id, x,y,w,h) updates the state for this widget. core.mouse.updateState(id, x,y,w,h) - -- core.makeTabable makes the item focus on tab. Tab order is determied - -- by the order you call the widget functions. - core.makeTabable(id) + -- core.makeCyclable makes the item focus on tab or whatever binding is + -- in place (see core.keyboard.cycle). Cycle order is determied by the + -- order you call the widget functions. + core.makeCyclable(id) -- core.registerDraw(id, drawfunction, drawfunction-arguments...) -- shows widget when core.draw() is called. -- cgit v1.2.3-54-g00ecf