Lua:Neutrino-API:hourglass:en
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() |