Commit Graph

15 Commits

Author SHA1 Message Date
airstruck
d1501fca41 Add special 'mac-' and 'win-' modifiers, fixes #29 2016-01-28 12:02:56 -05:00
airstruck
f9a8ffa2e2 shortcut attrib: allow multiple shortcuts per widget 2016-01-27 16:56:39 -05:00
airstruck
ab43dabcb9 Add solid and modal attributes.
The `solid` attribute determines whether to propagate events downwards.
When the widget being interacted with is not solid, events propagate down
to the next layout or to underlying handlers (for example love callbacks).
This is set by the theme and works mostly behind the scenes.

The `modal` attribute can be placed on a layout root to prevent input events
from propagating downwards, even those that fall outside of the layout.
2016-01-19 12:20:19 -05:00
airstruck
c73833337e attrib "key" -> "shortcut", also fix #20 2016-01-03 01:18:04 -05:00
airstruck
3abcce1615 context menus working 2015-12-24 09:42:04 -05:00
airstruck
92f0be379d minor 2015-12-13 15:05:16 -05:00
airstruck
dbcbb3dd4b attributes only cascade when nil (not when false) 2015-12-13 13:18:03 -05:00
airstruck
c8ca310811 minor improvements 2015-12-10 16:05:54 -05:00
airstruck
bcfed7b737 improve auto dimensions 2015-12-09 13:33:45 -05:00
airstruck
5e6cd8c29e scissor me baby 2015-12-08 17:14:49 -05:00
airstruck
367535ad33 fix backspace in text widget 2015-12-06 11:47:15 -05:00
airstruck
c21611748c add status widget and attribute 2015-12-05 15:43:40 -05:00
airstruck
f03b5c7bd4 Formalize type attribute and support it in styles 2015-12-02 15:48:21 -05:00
airstruck
591bb7507a add mouse wheel events and scroll attribute 2015-12-01 11:15:42 -05:00
airstruck
2d64e6ca69 formalize attributes 2015-11-29 14:58:08 -05:00