Commit Graph

431 Commits

Author SHA1 Message Date
Francisco Vallarino
ef951e289d Avoid confusion with usage of variables named viewport 2020-10-20 12:47:43 -03:00
Francisco Vallarino
d1dc411629 Fix overlay reset issue 2020-10-20 02:12:43 -03:00
Francisco Vallarino
0aded30924 Add config to alert/confirm 2020-10-20 01:52:13 -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
Francisco Vallarino
df1f0abe7b Improve dialog, fix issues with event handling on non visible widgets 2020-10-18 23:53:25 -03:00
Francisco Vallarino
325dd5effb Improve theming support 2020-10-18 16:14:56 -03:00
Francisco Vallarino
51852092d5 Add initial version of dialog widget. Play with themes 2020-10-18 02:46:38 -03:00
Francisco Vallarino
c10a4c55c4 Refactor style related functions 2020-10-16 19:59:22 -03:00
Francisco Vallarino
e743424037 Fix issue with glyph positioning 2020-10-16 18:32:06 -03:00
Francisco Vallarino
f7c9a47dc9 Add initial dialog commit 2020-10-15 15:38:14 -03:00
Francisco Vallarino
ea248872cc Check/fix scroll position on resize 2020-10-14 12:04:18 -03:00
Francisco Vallarino
4b71e4ad8b Initial zstack commit 2020-10-14 10:47:18 -03:00
Francisco Vallarino
245245b817 Handle onChange/onChangeIdx versions on listView and dropdown 2020-10-12 15:41:31 -03:00
Francisco Vallarino
e5686046e3 Avoid non-law abiding Monoid instances 2020-10-12 14:52:28 -03:00
Francisco Vallarino
eca1bb1a92 Add background color to dropdown overlay 2020-10-12 14:23:32 -03:00
Francisco Vallarino
0f824b6e54 Show dropdown in available space (upwards/downwards). Fix overlay issue 2020-10-12 14:02:17 -03:00
Francisco Vallarino
5c79f38296 Add error reporting to image widget 2020-10-11 21:54:34 -03:00
Francisco Vallarino
d34820af1f Do not render children if they dont overlap parents viewport 2020-10-11 03:13:14 -03:00
Francisco Vallarino
ea7d33a983 Make Label height fixed 2020-10-11 03:12:49 -03:00
Francisco Vallarino
1f4b111247 Improve text handling 2020-10-10 20:54:12 -03:00
Francisco Vallarino
3959a01719 Fix laziness/unsafePerformIO issue between computeTextMetrics/renderText 2020-10-09 20:05:42 -03:00
Francisco Vallarino
d71b6f2662 Text handling improvements 2020-10-09 17:13:30 -03:00
Francisco Vallarino
e82aa59747 Improve app config 2020-10-08 16:49:49 -03:00
Francisco Vallarino
a319192721 Add default font loaded from Haskell source file 2020-10-08 16:27:12 -03:00
Francisco Vallarino
99feb9d808 Improve font loading/handling 2020-10-08 15:09:47 -03:00
Francisco Vallarino
73c58bc015 Remove Coord typedef, rename related functions 2020-10-08 11:54:36 -03:00
Francisco Vallarino
c97a58bda8 Add alignment config to box. Center content by default. 2020-10-08 02:19:09 -03:00
Francisco Vallarino
a659f6c26e Add font config support 2020-10-07 21:44:19 -03:00
Francisco Vallarino
b91d5b6219 Follow config standard for application config 2020-10-07 20:21:52 -03:00
Francisco Vallarino
f3881dc65b Refactor app initialization. Simplify entry point 2020-10-07 19:46:05 -03:00
Francisco Vallarino
b801add50f Use instanceStyle instead of activeTheme/activeStyle, when possible 2020-10-06 23:59:08 -03:00
Francisco Vallarino
67e5b85c87 Reorganize lens modules 2020-10-05 23:40:53 -03:00
Francisco Vallarino
b2901bb51e First step in reorganization of utility functions 2020-10-05 23:17:36 -03:00
Francisco Vallarino
04dc33143b Add merge/getState to image 2020-10-05 18:19:52 -03:00
Francisco Vallarino
06884a981b Rename Types.hs to WidgetTypes.hs 2020-10-05 17:10:08 -03:00
Francisco Vallarino
33b66b939e Move Single, Container and Composite to Widgets package 2020-10-05 16:59:29 -03:00
Francisco Vallarino
3fe72d9b2d Merge StyleCombinators and WidgetCombinators into single Combinators module 2020-10-05 16:45:42 -03:00
Francisco Vallarino
6cd555005a Reorganize lens modules 2020-10-05 15:37:05 -03:00
Francisco Vallarino
52ac6e9ad5 Merge Common+Widget. Move widgets from Widget.Widgets to Widgets 2020-10-05 15:24:54 -03:00
Francisco Vallarino
da2964abe3 Remove Tree module. Rename Geometry 2020-10-05 14:44:48 -03:00
Francisco Vallarino
10d5677f99 Improve spacer 2020-10-05 14:11:04 -03:00
Francisco Vallarino
4de92cad80 stack children use full secondary dimension. Box now defaults to not expanding child 2020-10-04 22:42:09 -03:00
Francisco Vallarino
a82f247e9b Add BoundedSize to SizeReq 2020-10-04 19:35:59 -03:00
Francisco Vallarino
091b234336 Use SizeReq factor in stack 2020-10-04 13:15:35 -03:00
Francisco Vallarino
cafe26e648 Initial commit for improvements in SizeReq handling 2020-10-03 21:52:12 -03:00
Francisco Vallarino
aac2adc790 Partial spacer commit 2020-10-02 19:27:27 -03:00
Francisco Vallarino
c8dd390c6d Add config options to image widget 2020-10-01 20:50:35 -03:00
Francisco Vallarino
9344e07e7c Add url support to image widget 2020-09-30 23:27:36 -03:00
Francisco Vallarino
8a68648be2 Move hlint hints to config file 2020-09-30 17:28:58 -03:00