Commit Graph
31 Commits
Author SHA1 Message Date
Reinis Mazeiks 765baf6e48 Rename module input to avoid naming conflict with element of the same name
Not sure if this was supposed to be allowed, but it was causing https://github.com/rust-lang/rust/issues/96934
2022-05-11 13:47:58 +03:00
Reinis Mazeiks b7447503ea Merge branch 'master' of https://github.com/DioxusLabs/dioxus into rusty-mousedata
 Conflicts:
	packages/tui/src/hooks.rs
2022-05-07 17:56:03 +03:00
Evan Almloff 6f260e8a4a move released into mouse condition 2022-05-07 09:16:21 -05:00
Evan Almloff 83209e5e03 check mouse state before iterating through elements 2022-05-07 09:10:17 -05:00
Reinis Mazeiks df59d5148e TUI mouse press&release: Replace usage of deprecated fields with accessors 2022-05-07 16:30:21 +03:00
Reinis Mazeiks 81d3c990bf Simplify mouse button tracking
delete the shitcodes
2022-05-07 16:11:48 +03:00
Reinis Mazeiks 285a6d080b Add coordinates to tui_hover example 2022-05-07 15:32:19 +03:00
Reinis Mazeiks cf26f41972 Merge branch 'master' of https://github.com/DioxusLabs/dioxus into rusty-mousedata
 Conflicts:
	packages/tui/src/hooks.rs
2022-05-07 10:50:52 +03:00
Reinis Mazeiks 9c6cd42ca2 TUI: use constructor instead of deprecated fields 2022-05-07 10:49:49 +03:00
Jonathan Kelley 9c9928d226 fix: tui values 2022-05-06 20:48:57 -04: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
Reinis Mazeiks 6a5a3f47cc Remove allow(deprecated) to bring back the warnings 2022-05-07 00:59:12 +03:00
Reinis Mazeiks 0dbd3e370e Rusty MouseData API 2022-05-06 23:54:07 +03:00
Evan Almloff a4eb4dc8df add offset mouse data to tui 2022-05-04 13:58:48 -05:00
Reinis Mazeiks d84d414170 Add offset coordinates to mouse events on TUI and desktop. 2022-05-04 16:42:14 +03:00
Evan Almloff b79a58cc66 pass clippy 2022-04-17 08:43:15 -05:00
Evan Almloff d9276bd64c clean up code and docs 2022-04-17 07:29:35 -05:00
Evan Almloff 71707fec09 pass cargo check 2022-04-12 18:58:25 -05:00
Evan Almloff 9eaf7212a3 tests passing, and tui updated 2022-04-12 18:46:16 -05:00
Evan Almloff 351722d136 update dependancy to stretch2 master and remove refrences to tree 2022-04-04 13:37:04 -05:00
Demonthos 56af1f7988 remove extra prints 2022-04-02 20:24:33 -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 503b10d674 bugfixes text modifer elements 2022-03-09 21:06:45 -06:00
Jonathan Kelley 58a20913b6 chore; make tui pass clippy 2022-03-09 13:30:44 -05:00
Jonathan Kelley 37cf9bb9d2 feat: add tui 2022-03-09 12:55:30 -05:00