mirror of https://gitea.it/1414codeforge/yui
[*] add documentation
parent
05e55add65
commit
91ed7f50f5
@ -0,0 +1,35 @@
|
|||||||
|
project = 'Yui'
|
||||||
|
title = 'Yui docs'
|
||||||
|
description = 'Yui is Yet another User Interface library.'
|
||||||
|
format = 'markdown'
|
||||||
|
full_description = [[
|
||||||
|
The Yui library assists in designing menu screens, pause menus, HUDs, and such.
|
||||||
|
|
||||||
|
Source code: @{https://git.doublefourteen.io/lua/yui}
|
||||||
|
|
||||||
|
Examples: @{https://git.doublefourteen.io/lua/yui-examples}
|
||||||
|
|
||||||
|
Pictures: @{https://git.doublefourteen.io/lua/yui-examples/src/branch/master/pics}
|
||||||
|
|
||||||
|
|
||||||
|
The main features: grid layout, widget navigation with keyboard/joystick buttons, support for managing custom
|
||||||
|
input devices (keyboard, mouse, touch, gamepad), and an easily extensible widget collection. The user interface is
|
||||||
|
described with a declarative approach: the layout is defined once, and events are handled in the callbacks.
|
||||||
|
|
||||||
|
Integrated support for localization was achieved through the use of another library: moonspeak.
|
||||||
|
(@{https://git.doublefourteen.io/lua/moonspeak})
|
||||||
|
|
||||||
|
Most of the widget and theme rendering code are re-used from Matthias Richter's SUIT library.
|
||||||
|
(@{https://github.com/vrld/suit})
|
||||||
|
|
||||||
|
]]
|
||||||
|
file = {'', exclude = {'crush.lua'}}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
custom_see_handler('^https://(.+)$', function(root)
|
||||||
|
local url ='https://'..root
|
||||||
|
|
||||||
|
return url,
|
||||||
|
url
|
||||||
|
end)
|
Loading…
Reference in New Issue