11 Commits (1c09a094c4406c7daf14a0c9ce27437822d30edd)

Author SHA1 Message Date
Lorenzo Cogotti 958206f1f7 [*] Rework theme customization.
This commit allows more flexible and consistent theme overriding
rules for each Widget. There are 3 levels of customization.

1. Global theme (yui.theme) this is the default theme for every Ui
2. Ui theme, this overrides the global theme and provides a default
   for every Widget of the Ui
3. Widget theme, this overrides the Ui theme for a single widget

This commit also allows themes to specify a font field.
This replaces the sparse color, font and cornerRadius field often
provided by each Widget.
Widgets and Uis may also partially override a theme by specifying
only a few fields.
2 years ago
Lorenzo Cogotti 84d234fca6 [*] Style improvements, make constructors callable by :.
That is the recommended style for class constructors.
2 years ago
Lorenzo Cogotti 43e9b8f8f7 [ui] Elaborate more on drop events flags. 2 years ago
Lorenzo Cogotti e38e6fcfb5 [ui] Fix focus stealing, minor style fixes. 2 years ago
Andrea Pasquini 91ed7f50f5 [*] add documentation 2 years ago
Lorenzo Cogotti 1d42498ee7 [*] General code improvement.
* Rework navigation allowing direct management and triggering for grabkeyboard widgets.
* Navigation code now behaves better with deeply nested layouts.
* Allow widget hierarchies deeper than 2 (__call() is implemented for every Widget metatable).
* Make BASE locals more secure (match '<filename>$' in regexp)
2 years ago
Lorenzo Cogotti 651e095000 [ui] Fix timer require path (again)... 2 years ago
Lorenzo Cogotti 4705a9c86a [ui] Fix Timer package path. 2 years ago
Lorenzo Cogotti dd255e19ac [ui] Fix device require() path. 2 years ago
Lorenzo Cogotti acf9403291 [*] The great require parens fixup© 2 years ago
Lorenzo Cogotti 6dd7691d71 [*] Initial commit. 2 years ago