Commit Graph

214 Commits

Author SHA1 Message Date
Samuel Guerra 4037d7ef5c All tests pass.
Fixed examples release build.
2024-03-27 01:26:20 -03:00
Well a90972e387 Changed instances of 'zero_ui' to 'zng'. 2024-03-26 21:12:13 -03:00
Samuel Guerra 13fa0588c2 More docs review. 2024-03-04 12:58:19 -03:00
Samuel Guerra 2dcf0c19eb Added view-process crates to main crate with non-default features. 2024-01-18 18:44:58 -03:00
Samuel Guerra cf8cb05003 Refactored style system. 2024-01-15 17:26:30 -03:00
Samuel Guerra 99801f8a62 FInished prelude cleanup. 2023-12-17 01:11:07 -03:00
Samuel Guerra edb7912fc8 Renamed units to unit. 2023-12-16 11:52:46 -03:00
Samuel Guerra e243ccae66 Renamed `instance` and `nodes` to `node`, renamed `commands` to `cmd`. 2023-12-15 22:11:38 -03:00
Well 9546c5a7c7 Added some modules to `prelude::*`.
Updated examples' imports.
2023-12-15 18:20:31 -03:00
Samuel Guerra dc325af273 Renamed color::filters to color::filter. 2023-12-13 17:35:11 -03:00
Samuel Guerra 8c0e92c4df All examples build. 2023-12-12 17:55:06 -03:00
Samuel Guerra bfa48ae381 Started fixing examples. 2023-12-12 13:47:30 -03:00
Samuel Guerra 1183a00541 Fixed docs, tests. 2023-12-10 17:57:25 -03:00
Samuel Guerra 196a95cefe Implemented `navigation_origin`, not used for clicks yet. 2023-10-20 17:38:57 -03:00
Samuel Guerra 6182c50f61 Refactored named colors. 2023-09-30 17:06:20 -03:00
Samuel Guerra 8b8c9542d4 Use trace log in more examples. 2023-09-30 14:31:22 -03:00
Samuel Guerra 1d901ee2e6 More key refactor. 2023-08-04 18:20:22 -03:00
Samuel Guerra ecb3ee8919 Implemented `focus_click_behavior` to exit an alt scope on click. 2023-07-07 20:33:47 -03:00
Samuel Guerra 5d51b3dceb Renamed `txt_color` to `font_color` to align the name with `font_palette`. 2023-06-23 01:13:29 -03:00
Well 8790784721 Fixed calling update before first info build when using `take_when(true)` and `take_on_init`. 2023-05-09 01:12:22 -03:00
Samuel Guerra 95ff9e493d Fixed release build. 2023-04-27 12:11:31 -03:00
Samuel Guerra 17bb4795d0 Fixed support for layered widgets that become widgets only after init.
Reorganized layers code to own module in window.
2023-04-20 16:37:46 -03:00
Samuel Guerra 1fbab216c4 Simplified style usage, changed `Link!` into a button style. 2023-04-18 15:37:27 -03:00
Samuel Guerra 88753a741a More refactor. 2023-04-12 23:00:37 -03:00
Samuel Guerra 3efc28fb8c More refactor. 2023-04-12 18:02:22 -03:00
Samuel Guerra 989f09b08b More refactor. 2023-04-12 15:42:03 -03:00
Samuel Guerra 0d018e154c Renamed `Text` to `Txt` to avoid conflict with widget name. 2023-04-12 12:03:08 -03:00
Samuel Guerra 54511b92c7 Renamed "generator" to "fn" for widget and style constructor functions. 2023-04-06 14:06:52 -03:00
Samuel Guerra 4772a2c82e Refactored window request API to be async.
Not actually implemented yet.
2023-04-01 12:22:48 -03:00
Samuel Guerra 8475dedda8 Finished converting WidgetInfo to own a reference to the tree. 2023-03-23 13:16:39 -03:00
Samuel Guerra 16edaaf439 Refactored `WindowLayers` into `LAYERS`. 2023-03-03 02:00:06 -03:00
Samuel Guerra 8d478afa34 Finished removing old context. 2023-02-26 16:59:36 -03:00
Well 34369b5c11 Removed `WindowContext`. 2023-02-25 01:16:05 -03:00
Samuel Guerra b4d4854d44 Finished removing AppContext. 2023-02-24 23:36:48 -03:00
Samuel Guerra bd2c3dac2d Started refactoring `Vars` into `VARS` service. 2023-02-23 19:01:02 -03:00
Samuel Guerra f150abc872 Refactored `WINDOWS` to only use internal locking. 2023-02-22 10:13:38 -03:00
Samuel Guerra c798ff2547 Refactored `FOCUS` to only use internal locks. 2023-02-21 21:14:35 -03:00
Samuel Guerra 754b6fa422 Refactored `Windows` to use the new service pattern. 2023-02-20 19:22:07 -03:00
Samuel Guerra d937d410bc Refactored `Focus` to use new service pattern.
Enabled deadlock detection in tests.
2023-02-19 20:58:57 -03:00
Samuel Guerra 408ed73b77 Renamed `style_generator!` to `style_gen!`, this makes it more like `wgt_gen!`.
Implemented checkbox style for toggle.
2023-01-22 12:13:05 -03:00
Samuel Guerra 8b484dfaa1 Implemented new syntax for custom rules in widget macros.
Used it in `text!` widget.
2022-12-28 23:09:26 -03:00
Samuel Guerra b8404e9b3d Renamed `ui_list` to `ui_vec`. 2022-12-28 17:37:14 -03:00
Samuel Guerra ded6d29b29 Converted to new stack. 2022-12-28 00:57:28 -03:00
Samuel Guerra e6024fa6f5 Converted txt_align to use Align. 2022-12-25 15:40:10 -03:00
Samuel Guerra bfbd9282f5 Fixed focus example release build. 2022-11-24 20:11:33 -03:00
Samuel Guerra 300cb7bdf2 Renamed types Rc to Arc, now that they are Arc. 2022-11-22 21:16:45 -03:00
Samuel Guerra 40fd7691f6 More Rc removal, moved ContextLocal to context mod. 2022-11-17 14:35:39 -03:00
Samuel Guerra fa7fa2865c Finished Send+Sync refactor, not tested. 2022-11-16 21:08:28 -03:00
Samuel Guerra 8415b8d08a Fixed examples. 2022-11-08 18:55:11 -03:00
Samuel Guerra 5117825e54 Refactored widgets to have the properties directly in their module. 2022-11-08 15:52:15 -03:00