Commit Graph

170 Commits

Author SHA1 Message Date
Francisco Vallarino
8819aaebe3 Avoid excessive delay on window resize 2020-11-20 01:37:35 -03:00
Francisco Vallarino
f2a7d77f0e Rename Resize request to ResizeWidgets 2020-11-19 11:28:20 -03:00
Francisco Vallarino
8a16a95ef1 Add support for Window Requests 2020-11-19 11:18:30 -03:00
Francisco Vallarino
3d6d2e44df Add support for user settings in Theme 2020-11-18 23:01:23 -03:00
Francisco Vallarino
7ab8fa18a4 Properly handle multiline text when first line does not fit 2020-11-18 17:13:00 -03:00
Francisco Vallarino
ae28d06cce Highlight button when clicked/actioned 2020-11-18 16:37:25 -03:00
Francisco Vallarino
afca5134cb Handle cursor change in radio button (way too much work on something not really important) 2020-11-18 13:06:59 -03:00
Francisco Vallarino
783de5c12a Set _weInTopLayer from zstack to appropriate value 2020-11-17 20:42:57 -03:00
Francisco Vallarino
3633cce034 Partial commit for top layer/hover improvements 2020-11-17 12:01:47 -03:00
Francisco Vallarino
135dc0ecca Add tests for image 2020-11-16 18:04:23 -03:00
Francisco Vallarino
8b4bfea6f5 Add textField unit tests (missing two, which require changes in textField) 2020-11-15 16:10:46 -03:00
Francisco Vallarino
ff49bd6ef3 Add missing keyboard functions, refactor, remove Mouse.hs 2020-11-15 00:21:41 -03:00
Francisco Vallarino
ef61ce8a58 Add support for specific MinSize and MaxSize values, instead of relying on RangeSize 2020-11-14 17:34:56 -03:00
Francisco Vallarino
fcf9f42b1e Add tests for checkbox 2020-11-12 20:26:19 -03:00
Francisco Vallarino
1ca96898a2 Add test cases for alert/confirm 2020-11-12 02:09:00 -03:00
Francisco Vallarino
d45d239a84 Update existing test cases, update viewport/renderArea in Single, reorganize modules 2020-11-10 18:34:30 -03:00
Francisco Vallarino
547f2ea0b6 Minor multiline test 2020-11-09 20:17:16 -03:00
Francisco Vallarino
0cb859e2bb Fix grid non visible children handling 2020-11-09 19:59:32 -03:00
Francisco Vallarino
0d305600c5 Fix style merge order issue, improve cursor handling (pending things) 2020-11-09 18:21:27 -03:00
Francisco Vallarino
0fbbb3d2f2 Avoid cursor hiding text when right aligned 2020-11-07 15:36:15 -03:00
Francisco Vallarino
d0f4ca1754 Avoid ghost cursor position on empty strings for inputField 2020-11-07 00:25:53 -03:00
Francisco Vallarino
a0bea51b42 Misc changes 2020-11-06 22:35:46 -03:00
Francisco Vallarino
b641888cc8 Unify criteria on active layer for zstack 2020-11-06 01:42:23 -03:00
Francisco Vallarino
1b6ddeb178 Make button focusable 2020-11-06 01:12:59 -03:00
Francisco Vallarino
bf41c46daf Make dropdown header/main a regular widget 2020-11-05 22:40:42 -03:00
Francisco Vallarino
979ad1716d Make getTextRect depend on getTextRect_, based on glyphs 2020-11-05 15:56:06 -03:00
Francisco Vallarino
56b1e18e64 Initial commit for multi line label 2020-11-03 14:57:24 -03:00
Francisco Vallarino
33ac5506a1 Refactor text metrics operations 2020-11-01 20:28:11 -03:00
Francisco Vallarino
d9b112fc73 Fix issue on rect/size operations (w/h = 0 should be considered valid) 2020-10-31 16:34:23 -03:00
Francisco Vallarino
91aa5385fc Avoid zip/index, use mapWithIndex instead 2020-10-30 16:47:38 -03:00
Francisco Vallarino
75d25d9baa Remove concept of Margin from Style 2020-10-29 01:09:43 -03:00
Francisco Vallarino
5be4d22830 Add theming to dropdown (main section) 2020-10-28 14:34:37 -03:00
Francisco Vallarino
ea7ef5d222 Reorder Single/Container fields. Add style cfg to inputField 2020-10-27 21:35:23 -03:00
Francisco Vallarino
bdd9896450 Add theming to dropdown 2020-10-27 14:27:35 -03:00
Francisco Vallarino
c0c63b59fd Add theming to listView 2020-10-26 16:42:00 -03:00
Francisco Vallarino
27780be89f Remove ThemeStyles Semigroup/Monoid instance (not law abiding) 2020-10-26 01:16:25 -03:00
Francisco Vallarino
b56566fc04 Add theming to label. Generalize theming for checkbox/radio 2020-10-26 00:55:23 -03:00
Francisco Vallarino
239e81b263 Implement theming on button 2020-10-25 00:00:12 -03:00
Francisco Vallarino
feb0aae8d3 Calculate/merge style and theme on init/merge 2020-10-24 22:57:24 -03:00
Francisco Vallarino
2ab2d70727 Make zstack focus handling configurable 2020-10-23 20:36:33 -03:00
Francisco Vallarino
d016476bb0 Allow bypassing click events on empty areas of stack 2020-10-23 17:42:42 -03:00
Francisco Vallarino
ae4fdd283c Refactor Handlers.hs to avoid imposing an order and follow request creation order instead 2020-10-22 16:21:23 -03:00
Francisco Vallarino
98c7b5c68a Return list of actions instead of Monoid in eventHandler 2020-10-22 00:28:46 -03:00
Francisco Vallarino
6dd083d7f2 Restrict area of focus changes. Improve dropdown communication with ListView 2020-10-21 21:37:39 -03:00
Francisco Vallarino
a287a43f52 Fix keyboard focus issue on dropdown (scroll is now a parent of listView, so an extra path step was needed 2020-10-21 15:21:12 -03:00
Francisco Vallarino
f4a48a55c6 Generalize Containers findByPoint 2020-10-21 01:54:13 -03:00
Francisco Vallarino
cd296c363f Only consider top layer for focus handling on zstack 2020-10-21 01:31:54 -03:00
Francisco Vallarino
f32bf1675d Add color theming to scroll 2020-10-20 19:07:51 -03:00
Francisco Vallarino
5bef6493d3 Make sure parents handle viewport/renderArea assignment to children. Fix click issue in box 2020-10-20 01:35:43 -03:00
Francisco Vallarino
a8a5af2e3e Add confirm widget. Fix issue on box component, where viewport was being modified when it should not 2020-10-20 01:16:46 -03:00