Commit Graph
66 Commits
Author SHA1 Message Date
Evan Almloff dcfe60c164 use taffy instead of stretch2 2022-06-10 17:23:30 -05:00
Evan Almloff a5b9200e47 calculate absolute position 2022-05-10 18:13:05 -05:00
Evan Almloff 6f260e8a4a move released into mouse condition 2022-05-07 09:16:21 -05:00
Evan Almloff 2ea587359b only re-render if the state has changed 2022-05-07 09:10:34 -05:00
Evan Almloff 83209e5e03 check mouse state before iterating through elements 2022-05-07 09:10:17 -05:00
Evan Almloff ac95ab5222 switch released pressed 2022-05-06 19:35:55 -05:00
Evan Almloff e3757f97ed only trigger onmousemove if the position has changed 2022-05-06 17:01:50 -05:00
Evan Almloff a4eb4dc8df add offset mouse data to tui 2022-05-04 13:58:48 -05:00
Evan Almloff 0b1e17c830 add native-core-macro to workspace 2022-05-02 20:25:29 -05:00
Evan Almloff 3adcba5f93 remove empty attributes 2022-05-02 20:25:10 -05:00
Evan Almloff e1120bb644 ensure all nodes have a intialized layout 2022-05-01 21:19:11 -05:00
Evan Almloff 99fea74786 change with_ctrl_c_quit to without_ctrl_c_quit 2022-04-30 16:52:54 -05:00
Evan Almloff 84db875101 Merge branch 'master' of https://github.com/DioxusLabs/dioxus into lazy_tui 2022-04-24 06:56:07 -05:00
Evan Almloff 7b35566169 allow nodes to depend on the listeners of a node 2022-04-21 15:10:53 -05:00
Evan Almloff 159be32fd4 update documentation to refect tui changes 2022-04-21 13:48:11 -05:00
Evan Almloff 91b2147552 update benchmark 2022-04-21 06:44:48 -05:00
Evan Almloff efa682735e ignore ctrl-c if ctrl_c_quit is false 2022-04-21 06:33:03 -05:00
Evan Almloff 9d9aa33e25 add builder pattern and update examples 2022-04-21 06:29:22 -05:00
Evan Almloff 931aceca43 remove stress test 2022-04-20 21:50:49 -05:00
Evan Almloff c8919ad77b add benchmark 2022-04-20 21:44:37 -05:00
Evan Almloff cebf17088b fixed infinite loop in union_ordered_iter 2022-04-20 12:17:16 -05:00
Evan Almloff 7c30d93a3d nested state 2022-04-19 20:12:57 -05:00
Evan Almloff b79a58cc66 pass clippy 2022-04-17 08:43:15 -05:00
Evan Almloff e9da4c0fb7 add todo 2022-04-17 08:08:40 -05:00
Evan Almloff d9276bd64c clean up code and docs 2022-04-17 07:29:35 -05:00
Evan Almloff 4718668389 add docoumentation for custom_renderer 2022-04-17 07:10:15 -05:00
Evan Almloff b9c2664089 add builder methods to NodeMask 2022-04-16 17:22:03 -05:00
Evan Almloff 436c6a02f7 add node dependancy 2022-04-16 12:27:52 -05:00
Evan Almloff 0fb9aed273 add children on initial build and add sorted slice macro 2022-04-13 12:49:53 -05:00
Evan Almloff 3b06059834 fix rendering 2022-04-13 11:39:38 -05:00
Evan Almloff 71707fec09 pass cargo check 2022-04-12 18:58:25 -05:00
Evan Almloff 2b383bc4f4 fixed test 2022-04-12 18:54:42 -05:00
Evan Almloff 9eaf7212a3 tests passing, and tui updated 2022-04-12 18:46:16 -05:00
Evan Almloff 92010b0bab WIP update tests 2022-04-12 07:51:57 -05:00
Evan Almloff 92f48169e9 WIP new api 2022-04-08 21:17:37 -05:00
Evan Almloff 3dd18b21b3 added headless mode for CI 2022-04-05 12:08:01 -05:00
Evan Almloff 351722d136 update dependancy to stretch2 master and remove refrences to tree 2022-04-04 13:37:04 -05:00
Evan Almloff 06e8785938 add PopRoot 2022-04-04 12:19:21 -05:00
Evan Almloff 32b2e3a135 bugfixes, docs, and pass clippy 2022-04-02 16:46:46 -05:00
Evan Almloff 5b25500c0b finishing touches and benchmarks 2022-03-30 20:45:41 -05:00
Evan Almloff 7f4e257757 bugfixes, testing and refactoring 2022-03-26 20:32:49 -05:00
Evan Almloff 6adfa8805c moved stretch layout to native-core 2022-03-26 20:28:29 -05:00
Evan Almloff 26d92b6e51 rebase master 2022-03-26 20:27:10 -05:00
Evan Almloff 499971e9b3 wip lazy layout 2022-03-26 20:24:44 -05:00
Evan Almloff 43b5a230f0 PushRoot before adding children 2022-03-26 13:35:23 -05:00
Evan Almloff aec5cd9dfa fix lazynode diff bug adding children 2022-03-26 12:53:24 -05:00
Evan Almloff b228e1e4eb Merge remote-tracking branch 'refs/remotes/origin/master' 2022-03-09 21:08:37 -06:00
Evan Almloff 503b10d674 bugfixes text modifer elements 2022-03-09 21:06:45 -06:00
Evan Almloff 0fb6d59506 fixed 8 bit color tests 2022-02-27 07:56:08 -06:00
Evan Almloff 1cc5c637e7 fixed 8 bit color convertion bug 2022-02-27 06:52:35 -06:00
Evan Almloff a4fdb22197 refactored borders 2022-02-22 19:41:45 -06:00
Evan Almloff 5a00816fc9 fixed bug with defaut transparency and passing background color 2022-02-18 06:49:04 -06:00
Evan Almloff 7a1d8f0532 added alpha channel 2022-02-17 16:06:28 -06:00
Evan Almloff f6ef9981dd added border and more attributes 2022-02-12 14:03:08 -06:00
Evan Almloff 7a1fdeb673 added more mouse events 2022-02-07 05:57:57 -06:00
Evan Almloff a03ab3edfb fixed mouse 2022-02-06 07:08:15 -06:00
Evan Almloff ff92df73bd changed onscroll to onwheel 2022-02-05 16:45:40 -06:00
Evan Almloff 6f50da162b updated comment 2022-02-05 16:30:04 -06:00
Evan Almloff 03ff72dddc added html native events 2022-02-05 16:28:19 -06:00
Evan Almloff dd60c9ce3c Merge branch 'master' of https://github.com/Demonthos/rink 2022-02-04 20:19:19 -06:00
Evan Almloff 7df8499da7 fixed race condition and zero sized node rendering 2022-02-04 20:19:17 -06:00
Evan Almloff be535c558c combined input handlers 2022-02-04 15:09:26 -06:00
Evan Almloff 981c368933 reformated and center aligned example 2022-02-04 15:03:55 -06:00
Evan Almloff af5782ff46 Merge branch 'master' of https://github.com/Demonthos/rink 2022-02-04 14:52:11 -06:00
Evan Almloff 3f739d351b finished InputHandler 2022-02-04 14:52:01 -06:00
Evan Almloff e2f6d87d8e added component rendering and updated dioxus version 2022-02-04 07:24:02 -06:00