Commit Graph
100 Commits
Author SHA1 Message Date
airstruck f9a8ffa2e2 shortcut attrib: allow multiple shortcuts per widget 2016-01-27 16:56:39 -05:00
airstruck 0c33538de9 text widget: expose special key combos 2016-01-27 16:33:11 -05:00
airstruck 346cbac946 text widget: separate mac/non-mac keyboard support 2016-01-27 15:13:03 -05:00
airstruck e6c649ba49 text widget: move caret a word at a time 2016-01-27 13:28:17 -05:00
airstruck 0fc431d894 command and ctrl 2016-01-26 20:06:34 -05:00
airstruck 01f958fb6c shortcuts treat lgui/rgui as ctrl key 2016-01-25 16:46:09 -05:00
airstruck c8197bf1db Merge pull request #26 from rm-code/jump
Allow user to move caret to end of a line or its beginning
2016-01-25 15:25:44 -05:00
airstruck 28b7a5ad36 Merge pull request #24 from rm-code/osx
Make controls nicer for OSX users
2016-01-25 00:58:36 -05:00
airstruck fce7b2698c text widget: handle ctrl-a (select all) 2016-01-21 15:38:35 -05:00
airstruck 19bb0b935f text widget: handle "delete" key 2016-01-21 15:36:23 -05:00
airstruck b084583f42 trim text selection range when appropriate; fix #22 2016-01-21 15:24:33 -05:00
airstruck eaf6fc1dca Allow removal of default layout behaviors (tab nav, mouse scroll, etc.) 2016-01-19 21:44:27 -05:00
airstruck 631fa7d9fe minor 2016-01-19 16:48:54 -05:00
airstruck 85675a0477 minor 2016-01-19 14:53:47 -05:00
airstruck 93da8dedfa add Layout:placeNear convenience method 2016-01-19 14:46:47 -05:00
airstruck 78e02c190e fix origin widget for PressEnd events generated by keyboard shortcuts 2016-01-19 12:53:11 -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 d0628a8d1d minor 2016-01-05 09:41:03 -05:00
airstruck 3904631dda Clean up text widget.
This fixes a visual bug where the highlighted area wouldn't update
when the widget was reshaped, and fixes some weirdness with local
functions in preparation for exposing them as part of a rich API
for the text widget.
2016-01-04 02:09:44 -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 2d0dec2c70 Context menu mostly done 2015-12-21 16:14:05 -05:00
airstruck 147de8e010 Scrolling improvements, fixes #13 2015-12-21 12:26:07 -05:00
airstruck 73e9a10b15 Widget.pressed is now a table of booleans keyed by mouse button name 2015-12-20 10:47:40 -05:00
airstruck 1ee239b203 rework mouse buttons, fixes #18 2015-12-19 23:54:57 -05:00
airstruck 0281944066 Renderer -> Painter 2015-12-18 12:58:10 -05:00
airstruck e2602348df more window stuff, still unfinished 2015-12-17 16:52:51 -05:00
airstruck f9924fb028 doc template 2015-12-16 22:23:20 -05:00
airstruck e9758df43d merge 2015-12-16 22:22:33 -05:00
airstruck 0cc107acd2 minor 2015-12-16 22:21:54 -05:00
airstruck ed4e8b562a improve widget docs 2015-12-15 14:21:30 -05:00
airstruck 8d7011ca81 add Widget:defineAttribute, fixes #16 2015-12-14 11:19:16 -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 f95b8f53c1 give keyboard shortcuts precedence over default tab/space/return behavior, fixes #10 2015-12-11 22:32:41 -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 d11ea06503 support vertical progress 2015-12-07 22:11:58 -05:00
airstruck c43d8bcf22 support vertical slider 2015-12-07 21:56:56 -05:00
airstruck 66f652b295 get rid of "defer" hack 2015-12-07 05:35:09 -05:00
airstruck 69703fdce0 simplify style system 2015-12-07 04:22:36 -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 3daff0bcad layouts eat keyboard nav, fixes #11 2015-12-05 12:37:36 -05:00
airstruck 857fef9b75 update theme 2015-12-05 03:58:06 -05:00
airstruck a2fb4e58c1 add dark theme 2015-12-05 03:53:47 -05:00
airstruck f03b5c7bd4 Formalize type attribute and support it in styles 2015-12-02 15:48:21 -05:00
airstruck a902385d55 minor bug fixes 2015-12-02 01:42:35 -05:00
airstruck 14b96f4cb5 minor 2015-12-01 11:17:19 -05:00
airstruck 591bb7507a add mouse wheel events and scroll attribute 2015-12-01 11:15:42 -05:00
airstruck 44d541bc8f fix regression in progress bar 2015-11-30 11:16:56 -05:00
airstruck edecaaf907 add radio and check 2015-11-30 10:37:16 -05:00
airstruck ed98c0beb2 add check and radio controls 2015-11-29 23:24:12 -05:00
airstruck 2d64e6ca69 formalize attributes 2015-11-29 14:58:08 -05:00
airstruck bfe31e05db update docs 2015-11-27 06:40:54 -05:00
airstruck 290f6333b7 getRectangle returns x,y,w,h instead of x1,y1,x2,y2 2015-11-27 06:40:02 -05:00
airstruck 29dac8a611 update docs 2015-11-27 06:11:08 -05:00
airstruck 81ce69e165 remove unnecessary widget methods 2015-11-27 02:49:27 -05:00
airstruck 6b30382312 minor 2015-11-26 10:14:35 -05:00
airstruck 4351883b8d Merge branch 'gh-pages' of https://github.com/airstruck/luigi into gh-pages 2015-11-26 08:54:24 -05:00
airstruck 2c81c0c293 word wrap 2015-11-26 08:53:42 -05:00
airstruck 05807c18f6 Update readme.md 2015-11-22 20:11:24 -05:00
airstruck cf8921a35e Update readme.md 2015-11-22 17:34:07 -05:00
airstruck 53e0eb1236 Update readme.md 2015-11-22 17:33:08 -05:00
airstruck bbba7e1b3d add dedicated backend (WIP) 2015-11-22 12:36:44 -05:00
airstruck 97b2332d47 fix utf8 text input 2015-11-12 17:43:57 -05:00
airstruck b706f663e4 don't trap key events 2015-11-12 01:56:41 -05:00
airstruck 6aaa128463 hotkeys use modifiers 2015-11-11 23:49:54 -05:00
airstruck 68a250e273 add master layouts 2015-11-11 14:26:30 -05:00
airstruck a1ab534d6d Create license 2015-11-10 17:25:15 -05:00
airstruck bdc130aab9 rework menus 2015-11-10 17:01:17 -05:00
airstruck 623b5ad776 rebuild docs 2015-11-09 17:17:42 -05:00
airstruck 058d9351e5 style system overhaul 2015-11-09 17:14:40 -05:00
airstruck f866442cf1 cleanup 2015-11-08 16:49:50 -05:00
airstruck 86bca676b3 remove children property 2015-11-08 15:29:58 -05:00
airstruck 7bcf8ffbda add menus 2015-11-08 15:06:16 -05:00
airstruck 21ace2a243 Update readme.md 2015-11-04 15:11:39 -05:00
airstruck 74fc748e3b cleanup, docs 2015-11-04 15:08:14 -05:00
airstruck ad9c954e7b width/height shadow properties 2015-11-03 01:08:23 -05:00
airstruck 997f9c8d12 shadow properties 2015-11-02 23:40:52 -05:00
airstruck f436093380 make text widget scroll 2015-11-02 06:03:39 -05:00
airstruck 4baea757ef text entry, more keyboard support 2015-11-02 00:16:48 -05:00
airstruck 0a36a6b411 text entry, partial support 2015-11-01 17:28:53 -05:00
airstruck c069c8d310 add mouse cursors 2015-10-31 15:48:51 -04:00
airstruck 6c82e5f81d minor tweaks 2015-10-31 15:32:48 -04:00
airstruck 1e668f8f09 add keyboard focus 2015-10-31 04:21:50 -04:00
airstruck b3b4f90b23 remove ... from style ctor 2015-10-30 05:53:25 -04:00
airstruck 62ca5bf50a make widgets identical to their data definitions 2015-10-30 05:38:46 -04:00
airstruck 1c491335f5 keyboard accelerators 2015-10-29 13:52:34 -04:00
airstruck 0d8a01b405 minor cleanup 2015-10-28 11:21:04 -04:00
airstruck 0759d36702 add progress bar 2015-10-28 11:15:47 -04:00
airstruck 4372740363 make pressed buttons less ugly 2015-10-28 07:58:07 -04:00
airstruck 9b082da332 don't render text when no space 2015-10-28 07:18:06 -04:00
airstruck 7fe5ebdfc0 Update readme.md 2015-10-28 05:37:47 -04:00
airstruck 31b77234f5 love 0.9.2 support 2015-10-28 05:37:42 -04:00
airstruck 18f51c2ac3 misc cleanup 2015-10-28 00:06:47 -04:00
airstruck f19ef288ca scrap widget inheritance 2015-10-27 19:27:14 -04:00
airstruck ca67432b66 allow events bound to widget classes 2015-10-27 10:20:13 -04:00
airstruck 61c9aacd94 9-slice image support 2015-10-27 01:15:47 -04:00