Commit Graph

11 Commits

Author SHA1 Message Date
Hans-Werner Hilse
5982e24d57 unify color specification
colors were a mixture of 4bpp integers (0=white, 15=black) and
fractional blackness levels (0=white, 1.0=black) before. This is
now unified to use the color specification of the Blitbuffer API.
2014-10-24 13:48:42 +02:00
Hans-Werner Hilse
e47b43e8b5 add implementation of a container widget with alpha-blitting
This is a container that will honor a given alpha value (0..1)
when painting, so it will be translucent for values < 1.
2014-09-28 21:48:06 +02:00
Qingping Hou
5e035c2517 fix(ui): hide button framecontainer background in hide() method 2014-09-13 23:43:39 -04:00
chrox
d34a7fb355 lookup input word when holding on word in dict lookup window 2014-08-18 00:32:09 +08:00
chrox
92219a1f1e cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
chrox
f12d8eb9b4 add align field in WidgetContainer 2013-12-26 22:34:00 +08:00
chrox
5b31076025 calculate widgetcontainer dimension if not given 2013-12-19 23:15:24 +08:00
chrox
90d91d567a add content range method in BottomContainer 2013-12-15 20:18:10 +08:00
HW
09cd5c4104 Make DEBUG a require()d local 2013-10-22 20:51:29 +02:00
HW
2154e7e852 Further refactoring
This should finish the work to make all globals to local variables.
That allows LuaJIT to properly compile things by interning the
references to the relevant parts (rather than looking up globals
all the time which stops a trace).
2013-10-22 17:11:31 +02:00
HW
ef111b99c6 Refactored to use strictly locals 2013-10-18 22:38:07 +02:00