Commit Graph

101 Commits

Author SHA1 Message Date
Nick Fisher
60530fad6b widget updates 2024-10-23 14:44:57 +08:00
Nick Fisher
a9b3050265 gesture detector fixes 2024-10-23 14:44:57 +08:00
Nick Fisher
56baa44c99 widget cleanup 2024-10-23 14:44:57 +08:00
Nick Fisher
60dbc4ffd6 add texture methods (including unproject) 2024-10-23 14:44:39 +08:00
Nick Fisher
285c9016d7 gesture handler & delegate improvements 2024-10-23 14:44:39 +08:00
Nick Fisher
91cece81fb (flutter) export delegate gesture handler 2024-10-23 14:44:38 +08:00
Nick Fisher
d73b437104 gesture handler improvements 2024-10-23 14:44:38 +08:00
Nick Fisher
04b9d9e400 remove superseded desktop/mobile gesture detector widget 2024-10-23 14:44:38 +08:00
Nick Fisher
6e7741706e add pan camera implementation and fix velocity timer 2024-10-23 14:44:38 +08:00
Nick Fisher
af0ee0584d add delegate-based implementations for gesture handlers 2024-10-23 14:44:38 +08:00
Nick Fisher
daeedd6f73 add v2 gesture handlers 2024-10-23 14:44:37 +08:00
Nick Fisher
cac80159ff add v2 gesture handlers 2024-10-23 14:44:37 +08:00
Nick Fisher
a5cb23c32e chore!: rename controller to viewer in gesture detector widgets 2024-10-23 14:44:37 +08:00
Nick Fisher
eefa3cbe98 (flutter) add experimental GestureHandler widget and decouple from ThermionGestureDetectorDesktop 2024-10-23 14:44:35 +08:00
Nick Fisher
0a4b5c8676 (flutter) add experimental GestureHandler widget and decouple from ThermionGestureDetectorDesktop 2024-10-23 14:44:35 +08:00
Nick Fisher
d7bb0e492c (flutter) set enablePicking to false by default in ThermionGestureDetector 2024-10-23 14:44:35 +08:00
Nick Fisher
af92c26124 (flutter) add const FlutterWebOptions 2024-10-23 14:44:35 +08:00
Nick Fisher
d1ffa246a9 (flutter) add CameraOrientationWidget 2024-10-23 14:44:35 +08:00
Nick Fisher
4e7b79f98d (flutter) add const constructor for flutter options 2024-10-23 14:44:35 +08:00
Nick Fisher
fdb2d75cf0 (flutter) add CameraOrientationWidget 2024-10-23 14:44:35 +08:00
Nick Fisher
1b50ca2b57 chore: minor widget fixes 2024-10-23 14:44:34 +08:00
Nick Fisher
1480920938 feat: allow passing null options to ThermionWidget 2024-10-23 14:44:34 +08:00
Nick Fisher
c3388f2a48 feat: (flutter) (web) if importCanvasAsWidget is false, render transparency 2024-10-23 14:44:33 +08:00
Nick Fisher
4909f4395d chore: stub ThermionWidget methods 2024-10-23 14:44:33 +08:00
Nick Fisher
2a8122e280 feat: (flutter) move DPR calculation to resizeTexture and add createViewerWithOptions method to ThermionFlutterFFI 2024-10-23 14:44:33 +08:00
Nick Fisher
937eaaaaa1 fix: (flutter) pass ThermionFlutterOptions to ThermionWidget, use dpr for resizeTexture, delete unnecessary TransparencyPainter class 2024-10-23 14:44:33 +08:00
Nick Fisher
f0974509bf feat: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated 2024-10-23 14:44:33 +08:00
Nick Fisher
0d71b0d8fe feat: add createViewerWithOptions to ThermionFlutterPlugin and mark createViewer as deprecated 2024-10-23 14:44:33 +08:00
Nick Fisher
cf0a76c343 feat: (flutter) (web) use options to determine whether to create canvas, and set fixed position + offset 2024-10-23 14:44:33 +08:00
Nick Fisher
8963b79db0 chore: (flutter) export platform interface from thermion_flutter package 2024-10-23 14:44:33 +08:00
Nick Fisher
a552c11983 feat: add ThermionFlutterOptions classes, rename interface parameter for offsetTop and ensure pixelRatio is passed to resizeTexture 2024-10-23 14:44:32 +08:00
Nick Fisher
4916c4cc50 fix: (flutter/web) use window.devicePixelRatio for viewport 2024-10-23 14:44:32 +08:00
Nick Fisher
919010235c fix: (flutter) desktop gesture detector changes for new Gizmo methods 2024-10-23 14:44:32 +08:00
Nick Fisher
12198dd6df feat: highlight gizmo on hover 2024-10-23 14:44:31 +08:00
Nick Fisher
65e79b0d07 fix!: (flutter) pass pixelRatio to createTexture 2024-10-23 14:44:31 +08:00
Nick Fisher
9fb9df1843 (flutter) (web) initialize viewer to 1x1 then resize on createTexture 2024-10-23 14:44:31 +08:00
Nick Fisher
b15166a599 feat!: (flutter) (web) upgrade package:web dep to 1.0.0 2024-10-23 14:44:31 +08:00
Nick Fisher
bf81dfe806 fix!: (flutter) pass pixelRatio to createTexture 2024-10-23 14:44:31 +08:00
Nick Fisher
213fc3da91 fix!: (flutter) pass pixelRatio to createTexture 2024-10-23 14:44:30 +08:00
Nick Fisher
ab4f721914 fix!: (flutter) pass pixelRatio to createTexture 2024-10-23 14:44:30 +08:00
Nick Fisher
10cab8dcb4 feat!: (web) (flutter) create canvas when createViewer is called (no longer need to manually add canvas element to web HTML) 2024-10-23 14:44:29 +08:00
Nick Fisher
b207a48175 feat!: resize canvas on web 2024-10-23 14:44:29 +08:00
Nick Fisher
96ad9dee18 chore(release): publish packages
- thermion_dart@0.1.3
 - thermion_flutter_ffi@0.1.0+12
 - thermion_flutter_web@0.0.3
 - thermion_flutter_platform_interface@0.1.0+11
 - thermion_flutter@0.1.1+13
2024-10-23 14:44:29 +08:00
Hannes Hultergård
d745712650 Add example files that can be parsed by pub.dev 2024-07-23 09:38:26 +08:00
Nick Fisher
1df732be7c chore(release): publish packages
- thermion_flutter_ffi@0.1.0+11
 - thermion_flutter@0.1.1+12
2024-07-23 09:38:26 +08:00
Nick Fisher
8b413eca52 fix: add logging dependency 2024-07-23 09:38:25 +08:00
Nick Fisher
3597077d39 chore(release): publish packages
- thermion_dart@0.1.2
 - thermion_flutter_ffi@0.1.0+10
 - thermion_flutter_web@0.0.2
 - thermion_flutter@0.1.1+11
 - thermion_flutter_platform_interface@0.1.0+10
2024-07-23 09:38:25 +08:00
Nick Fisher
cde3af08aa fix: web/JS bool checks need to compare to int 2024-07-23 09:38:25 +08:00
Nick Fisher
7418fb867d feat: allow passing assetPathPrefix to ThermionViewerWasm to account for Flutter build asset paths 2024-07-23 09:38:25 +08:00
Nick Fisher
5dec13f00b chore(release): publish packages
- thermion_dart@0.1.1+5
 - thermion_flutter_web@0.0.1+9
 - thermion_flutter@0.1.1+10
 - thermion_flutter_platform_interface@0.1.0+9
 - thermion_flutter_ffi@0.1.0+9
2024-07-04 14:44:04 +08:00