Commit Graph

1290 Commits

Author SHA1 Message Date
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
Samuel Guerra 57e7c49a45 Added more command icons and fmt. 2023-12-15 18:38:18 -03:00
Well 9546c5a7c7 Added some modules to `prelude::*`.
Updated examples' imports.
2023-12-15 18:20:31 -03:00
Samuel Guerra d3304b07eb Moved presenter nodes to -wgt crate. 2023-12-15 13:46:47 -03:00
Samuel Guerra 9ac348cd6d Moved ObservableVec to -var crate. 2023-12-15 12:05:46 -03:00
Samuel Guerra 722a8d5c95 Rename layers to layer. 2023-12-13 17:47:39 -03:00
Samuel Guerra dc325af273 Renamed color::filters to color::filter. 2023-12-13 17:35:11 -03:00
Samuel Guerra 1e85cd84da Removed trivial mix-ins. 2023-12-13 16:36:35 -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 7195f691ac Finished layout crate. 2023-12-01 23:10:15 -03:00
Samuel Guerra 668f1d37a4 Replaced var. 2023-11-30 16:28:51 -03:00
Samuel Guerra 2ab4d80d79 Refactored view-api to use Txt. 2023-11-28 17:04:32 -03:00
Samuel Guerra db6d954836 Moved Factor to API crate. 2023-11-20 16:18:11 -03:00
Samuel Guerra 15bccb41ec Started implementing `obscure_txt`. 2023-11-16 01:07:09 -03:00
Samuel Guerra 1547f0b61c Implemented property tooltips.
Improved cursor tooltip demo.
2023-11-14 00:13:02 -03:00
Samuel Guerra 6bd1786913 Added info watcher section on the inspector. 2023-11-13 18:20:19 -03:00
Well 6e0d42f82e Fixed panic with squareroots in the calculator example. 2023-11-13 17:17:35 -03:00
Samuel Guerra 4812690adc Implemented tool for selecting widget by click and selected widget highlight toggle. 2023-11-12 16:22:01 -03:00
Samuel Guerra 3cd22490c0 Implemented `Command::notify_descendants`. 2023-11-06 13:11:08 -03:00
Samuel Guerra cc97313c3a Implemented demonstration of sending PARSE_CMD to all fields in a form. 2023-11-06 12:58:15 -03:00
Samuel Guerra 1a6ec71c02 Implemented `get_chars_count`. 2023-11-04 23:28:53 -03:00
Samuel Guerra f7a5cb3dd9 Implemented `max_count` for notmal text insert. 2023-11-04 16:41:12 -03:00
Samuel Guerra 552e0d641d Implemented `field_help`.
Capture context in `adorner`.
2023-11-03 18:13:55 -03:00
Samuel Guerra 936563034d Fixed touch caret position. 2023-11-02 01:34:31 -03:00
Samuel Guerra cd70fce611 Implemented `text_input::FieldStyle`, `adorner_fn`, `get_data_notes_top` and `LAYERS.insert_node` 2023-11-01 23:14:01 -03:00
Samuel Guerra cf8614435b Implemented default colors for data notes. 2023-11-01 14:27:37 -03:00
Samuel Guerra b2ef629442 Implemented `txt_parse_on_stop`. 2023-11-01 11:45:18 -03:00
Samuel Guerra 00422a4ee3 Started implementing `on_change_stop`. 2023-10-31 19:30:24 -03:00
Samuel Guerra 445e2122c7 Implemented `txt_parse_live` and `PARSE_CMD`. 2023-10-31 16:01:00 -03:00
Samuel Guerra 91000c0feb Implemented `txt_parse`, real time only. 2023-10-31 12:24:34 -03:00
Samuel Guerra fc7a838628 Implemented basic input validation example. 2023-10-30 16:27:59 -03:00
Samuel Guerra 6f848b0824 Fixed panics in grid auto-grow and style instantiation. 2023-10-27 20:52:18 -03:00
Samuel Guerra f7f60cfc25 Improved `SCROLL_TO_CMD` to to work with rectangles.
Implemented `access_scroll_node`.
2023-10-27 16:51:38 -03:00
Samuel Guerra 33be98e7db Implemented `ACCESS_TOOLTIP_EVENT`. 2023-10-26 00:24:41 -03:00
Samuel Guerra 78c8d7423d Small fixes. 2023-10-25 17:29:03 -03:00
Samuel Guerra 031ed47921 Implemented `Label!`. 2023-10-25 16:54:25 -03:00
Samuel Guerra 61de0dad37 Small fixes. 2023-10-24 15:55:13 -03:00
Samuel Guerra 80028cb25e Fixed webrender warning suppression. 2023-10-23 18:56:33 -03:00
Samuel Guerra c27c36accf Accesskit temporary removal to test winit update. 2023-10-21 22:05:40 -03:00
Samuel Guerra 196a95cefe Implemented `navigation_origin`, not used for clicks yet. 2023-10-20 17:38:57 -03:00
Well e02dd7e95d More `txt_selectable` and `txt_editable` work. 2023-10-19 01:18:18 -03:00
Samuel Guerra 997a3c73d3 Implemented `txt_selectable`, no all cases tested. 2023-10-17 01:15:49 -03:00
Samuel Guerra 0e1c46ae69 More access code, implemented `ACCESS.click`. 2023-10-14 22:52:07 -03:00
Samuel Guerra e0b1567afd Thread local review. 2023-10-06 16:37:30 -03:00
Samuel Guerra aee11fe0b5 Fixed warnings after Rust update. 2023-10-05 20:16:21 -03:00
Samuel Guerra c27d6a7a97 Implemented accessibility lang.
Implemented app-process accessibility for headless windows.
2023-10-05 16:23:17 -03:00
Samuel Guerra cfa8595d07 Disables `ACCEPTS_TAB_VAR` by default and fix tab navigation across editable text. 2023-10-04 20:26:35 -03:00
Samuel Guerra 507212bab8 More access code. 2023-10-02 21:10:05 -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 882ff2c482 Finished implementing `mouse_pan`. 2023-09-25 17:26:09 -03:00
Samuel Guerra 47a9043aee Started implementing `mouse_pan`. 2023-09-25 15:47:04 -03:00
Samuel Guerra c245598e8c Added "title" in fullscreen for window example. 2023-09-16 20:43:16 -03:00
Samuel Guerra a19b90490f Started implementing zoom-to scale. 2023-09-09 20:42:37 -03:00
Samuel Guerra b20de94c06 Fixed ALT scope from normal scope. 2023-09-09 17:55:20 -03:00
Samuel Guerra cec05020e1 More general Scroll work. 2023-09-08 23:04:18 -03:00
Samuel Guerra d883982a24 Added scroll zoom commands. 2023-09-08 17:08:43 -03:00
Samuel Guerra c20f210b6b Improved transform hovered animations. 2023-09-06 16:55:55 -03:00
Samuel Guerra 5f08bfc0fd More TOUCH_TRANSFORM_EVENT review, resolved to use the center as hit-test (like it is now), the other option was the first touch hit-test, but the normal usage is to capture the pointer anyway so we cover more use cases. 2023-09-03 23:51:16 -03:00
Samuel Guerra 7ac3933e99 Added exclusive video mode selection in window example. 2023-09-03 16:04:52 -03:00
Samuel Guerra 12844bac13 Fixed issues with multi-monitor setups. 2023-09-02 19:02:57 -03:00
Samuel Guerra 4d44ebbc52 Added TODO for multi monitor issues. 2023-09-02 01:28:16 -03:00
Samuel Guerra 780160f9ad Implemented toggle::Selector::bitflags.
Implemented touch_transform example, not tested.
2023-09-01 21:09:07 -03:00
Samuel Guerra 3a9559bbdd Refactored touch events to support better coordination between conflicting touch gestures. 2023-08-29 12:59:34 -03:00
Samuel Guerra 49575292dd Fixed texture example UV. 2023-08-25 18:59:23 -03:00
Samuel Guerra c92feae929 Implemented GL texture image source. 2023-08-25 17:43:23 -03:00
Samuel Guerra 99a84622f4 Implemented extension API for registering custom external images and textures. 2023-08-25 12:05:02 -03:00
Samuel Guerra 747a09f201 Started implementing OpenGL texture image example. 2023-08-25 01:16:46 -03:00
Samuel Guerra ea09a47960 Small changes to highlight that extend_view overlay is not clipped. 2023-08-24 22:56:58 -03:00
Samuel Guerra 1e66f1dd8c Some improvements to extend_view overlay. 2023-08-24 22:48:02 -03:00
Samuel Guerra cbf1a41117 Rust 1.72 lint fixes and build test update. 2023-08-24 14:03:07 -03:00
Samuel Guerra edaae1dadc More overflow work. 2023-08-22 00:19:50 -03:00
Samuel Guerra a2ada546ee Started implementing overflow detection. 2023-08-18 18:59:57 -03:00
Samuel Guerra d9c3e6b692 Fixed border_align and fill corner radius. 2023-08-18 15:26:37 -03:00
Well 474ab51e2e Improved `icon.rs` example's text.
Added TODO and bug example (half-fixed it, background_color is still rounded).
2023-08-18 01:24:59 -03:00
Samuel Guerra bd792210ce Started implementing GL overlay extension view. 2023-08-17 12:36:42 -03:00
Samuel Guerra fbcc75af43 Added slerp example for angle units and fixed it. 2023-08-17 01:32:25 -03:00
Samuel Guerra 1d94827691 Updated dependencies.
Fixed `Atomic<T>` usage.
2023-08-16 23:55:41 -03:00
Samuel Guerra 703c845634 Implemented slerp. 2023-08-16 18:57:57 -03:00
Samuel Guerra 7432a7c058 Implemented ROTATE_TRANSITION_MODE_VAR for angle units. 2023-08-16 14:36:07 -03:00
Samuel Guerra 94410411c0 Implemented `rotate_transition_mode`, tested in transform animations. 2023-08-16 13:01:43 -03:00
Well 33fc6c10ac Fixed `transform` example color.
Fixed easing for lerp.
2023-08-16 01:30:24 -03:00
Samuel Guerra 6e4b5451fe Implemented filter in Preserve3D widgets that are not inside other Preserve3D widgets. 2023-08-15 18:12:28 -03:00
Samuel Guerra 7e8a559921 Perspective hover is working correctly. 2023-08-15 11:17:58 -03:00
Samuel Guerra 8613bb953d TODO update. 2023-08-14 18:01:33 -03:00
Samuel Guerra 0fd5650046 Implemented backface visibility property. 2023-08-14 16:12:40 -03:00
Samuel Guerra 22ddd065a6 Implemented perspective render update. 2023-08-13 17:00:42 -03:00
Samuel Guerra ee99dba87b Added perspective to render-update. 2023-08-13 16:24:04 -03:00
Samuel Guerra 94c1dc51ff Fixed `Preserve3D`, cube example. 2023-08-13 14:31:15 -03:00
Well a7eee4b182 Change example to match the codepen example. 2023-08-12 01:30:47 -03:00
Samuel Guerra 2837d7528f fmt 2023-08-11 22:14:03 -03:00
Samuel Guerra fb002e7eea Added cube example (broken). 2023-08-11 18:30:43 -03:00
Samuel Guerra 2b8db432be 3D perspective working. 2023-08-11 11:23:37 -03:00
Samuel Guerra f7c53cf06e Implemented perspective properties (not working). 2023-08-10 21:04:26 -03:00
Samuel Guerra 2a201b8c76 Preserve3d tested. 2023-08-09 20:16:04 -03:00
Samuel Guerra 37c0ac6558 Implemented some 3D transforms properties. 2023-08-08 21:17:07 -03:00