Lua:Neutrino-API:hourglass:en

Aus TuxBoxWIKI
Wechseln zu: Navigation, Suche

hourglass

Creates an animated loader to visualize a process.

hourglass.new{ }


Example:

-- shows a small animation on screen
local loader = hourglass.new { };
loader:paint();
-- do something ...

-- cleanup, remove loader from screen
h:hide()