@native-sdk/cli 0.0.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +176 -0
- package/README.md +50 -1
- package/app.zon +30 -0
- package/assets/icon.icns +0 -0
- package/assets/icon.ico +0 -0
- package/assets/icon.png +0 -0
- package/assets/icon.svg +15 -0
- package/assets/native-sdk.entitlements +10 -0
- package/assets/native-sdk.manifest +12 -0
- package/bin/native.js +156 -0
- package/build/app.zig +716 -0
- package/build.zig +2593 -0
- package/build.zig.zon +24 -0
- package/native-sdk.d.ts +615 -0
- package/package.json +45 -8
- package/skill-data/automation/SKILL.md +248 -0
- package/skill-data/core/SKILL.md +249 -0
- package/skill-data/core/references/app-model-runtime.md +141 -0
- package/skill-data/core/references/bridge-security-native-capabilities.md +230 -0
- package/skill-data/core/references/frontend-assets.md +124 -0
- package/skill-data/core/references/project-anatomy.md +108 -0
- package/skill-data/core/references/web-engines-packaging-debugging.md +199 -0
- package/skill-data/native-ui/SKILL.md +1080 -0
- package/skills/native-sdk/SKILL.md +33 -0
- package/src/app_runner/root.zig +740 -0
- package/src/assets/root.zig +20 -0
- package/src/automation/protocol.zig +285 -0
- package/src/automation/root.zig +13 -0
- package/src/automation/server.zig +506 -0
- package/src/automation/snapshot.zig +1202 -0
- package/src/automation/watcher.zig +165 -0
- package/src/bridge/root.zig +507 -0
- package/src/debug/root.zig +246 -0
- package/src/embed/app_exports.zig +11 -0
- package/src/embed/c_api.zig +793 -0
- package/src/embed/c_exports.zig +10 -0
- package/src/embed/chrome.zig +168 -0
- package/src/embed/conversions.zig +359 -0
- package/src/embed/host.zig +960 -0
- package/src/embed/root.zig +81 -0
- package/src/embed/tests.zig +2552 -0
- package/src/embed/types.zig +382 -0
- package/src/embed/ui_host.zig +289 -0
- package/src/extensions/root.zig +197 -0
- package/src/frontend/root.zig +48 -0
- package/src/js/root.zig +65 -0
- package/src/platform/android/NativeSdkActivity.java +1370 -0
- package/src/platform/android/android_host.c +696 -0
- package/src/platform/android/files.zig +9 -0
- package/src/platform/android/native_sdk_app.h +237 -0
- package/src/platform/ios/files.zig +8 -0
- package/src/platform/ios/native_sdk_app.h +289 -0
- package/src/platform/ios/uikit_host.m +2739 -0
- package/src/platform/linux/cef_host.cpp +599 -0
- package/src/platform/linux/gtk_host.c +5362 -0
- package/src/platform/linux/gtk_host.h +265 -0
- package/src/platform/linux/root.zig +1519 -0
- package/src/platform/macos/appkit_host.h +604 -0
- package/src/platform/macos/appkit_host.m +10392 -0
- package/src/platform/macos/automation_host.h +14 -0
- package/src/platform/macos/automation_host.m +12 -0
- package/src/platform/macos/cef_host.mm +3028 -0
- package/src/platform/macos/root.zig +2260 -0
- package/src/platform/null_platform.zig +2232 -0
- package/src/platform/null_platform_tests.zig +670 -0
- package/src/platform/policy_values.zig +14 -0
- package/src/platform/root.zig +181 -0
- package/src/platform/types.zig +2681 -0
- package/src/platform/windows/cef_host.cpp +3 -0
- package/src/platform/windows/root.zig +1521 -0
- package/src/platform/windows/webview2_host.cpp +6230 -0
- package/src/primitives/app_dirs/root.zig +440 -0
- package/src/primitives/app_manifest/root.zig +109 -0
- package/src/primitives/app_manifest/tests.zig +758 -0
- package/src/primitives/app_manifest/types.zig +587 -0
- package/src/primitives/app_manifest/validation.zig +828 -0
- package/src/primitives/assets/root.zig +520 -0
- package/src/primitives/canvas/a11y_audit.zig +390 -0
- package/src/primitives/canvas/a11y_audit_tests.zig +225 -0
- package/src/primitives/canvas/app_icon.zig +1590 -0
- package/src/primitives/canvas/chart.zig +392 -0
- package/src/primitives/canvas/chart_tests.zig +751 -0
- package/src/primitives/canvas/commands.zig +446 -0
- package/src/primitives/canvas/drawing.zig +309 -0
- package/src/primitives/canvas/equality.zig +316 -0
- package/src/primitives/canvas/events.zig +696 -0
- package/src/primitives/canvas/font_coverage.zig +118 -0
- package/src/primitives/canvas/font_ttf.zig +510 -0
- package/src/primitives/canvas/font_ttf_tests.zig +280 -0
- package/src/primitives/canvas/fonts/Geist-Regular.ttf +0 -0
- package/src/primitives/canvas/fonts/GeistMono-Regular.ttf +0 -0
- package/src/primitives/canvas/frame.zig +679 -0
- package/src/primitives/canvas/frame_metrics.zig +462 -0
- package/src/primitives/canvas/gpu.zig +639 -0
- package/src/primitives/canvas/hash.zig +112 -0
- package/src/primitives/canvas/icons/alert.svg +1 -0
- package/src/primitives/canvas/icons/archive.svg +1 -0
- package/src/primitives/canvas/icons/arrow-down.svg +1 -0
- package/src/primitives/canvas/icons/arrow-right.svg +1 -0
- package/src/primitives/canvas/icons/arrow-up.svg +1 -0
- package/src/primitives/canvas/icons/check-circle.svg +1 -0
- package/src/primitives/canvas/icons/check.svg +1 -0
- package/src/primitives/canvas/icons/chevron-down.svg +1 -0
- package/src/primitives/canvas/icons/chevron-left.svg +1 -0
- package/src/primitives/canvas/icons/chevron-right.svg +1 -0
- package/src/primitives/canvas/icons/chevron-up.svg +1 -0
- package/src/primitives/canvas/icons/circle-dot.svg +1 -0
- package/src/primitives/canvas/icons/clock.svg +1 -0
- package/src/primitives/canvas/icons/copy.svg +1 -0
- package/src/primitives/canvas/icons/download.svg +1 -0
- package/src/primitives/canvas/icons/edit.svg +1 -0
- package/src/primitives/canvas/icons/ellipsis.svg +1 -0
- package/src/primitives/canvas/icons/external-link.svg +1 -0
- package/src/primitives/canvas/icons/eye.svg +1 -0
- package/src/primitives/canvas/icons/file-text.svg +1 -0
- package/src/primitives/canvas/icons/folder-open.svg +1 -0
- package/src/primitives/canvas/icons/folder.svg +1 -0
- package/src/primitives/canvas/icons/git-branch.svg +1 -0
- package/src/primitives/canvas/icons/git-merge.svg +1 -0
- package/src/primitives/canvas/icons/git-pull-request.svg +1 -0
- package/src/primitives/canvas/icons/info.svg +1 -0
- package/src/primitives/canvas/icons/menu.svg +1 -0
- package/src/primitives/canvas/icons/missing.svg +1 -0
- package/src/primitives/canvas/icons/moon.svg +1 -0
- package/src/primitives/canvas/icons/music.svg +1 -0
- package/src/primitives/canvas/icons/panel-left.svg +1 -0
- package/src/primitives/canvas/icons/panel-right.svg +1 -0
- package/src/primitives/canvas/icons/pause.svg +1 -0
- package/src/primitives/canvas/icons/play.svg +1 -0
- package/src/primitives/canvas/icons/plus.svg +1 -0
- package/src/primitives/canvas/icons/refresh-cw.svg +1 -0
- package/src/primitives/canvas/icons/repeat.svg +1 -0
- package/src/primitives/canvas/icons/save.svg +1 -0
- package/src/primitives/canvas/icons/search.svg +1 -0
- package/src/primitives/canvas/icons/send.svg +1 -0
- package/src/primitives/canvas/icons/settings.svg +1 -0
- package/src/primitives/canvas/icons/shuffle.svg +1 -0
- package/src/primitives/canvas/icons/skip-back.svg +1 -0
- package/src/primitives/canvas/icons/skip-forward.svg +1 -0
- package/src/primitives/canvas/icons/sun.svg +1 -0
- package/src/primitives/canvas/icons/terminal.svg +1 -0
- package/src/primitives/canvas/icons/trash.svg +1 -0
- package/src/primitives/canvas/icons/volume.svg +1 -0
- package/src/primitives/canvas/icons/wrench.svg +1 -0
- package/src/primitives/canvas/icons/x-circle.svg +1 -0
- package/src/primitives/canvas/icons/x.svg +1 -0
- package/src/primitives/canvas/icons.zig +249 -0
- package/src/primitives/canvas/layout_audit.zig +744 -0
- package/src/primitives/canvas/layout_audit_tests.zig +426 -0
- package/src/primitives/canvas/markdown.zig +1031 -0
- package/src/primitives/canvas/markdown_hostile_tests.zig +471 -0
- package/src/primitives/canvas/markdown_tests.zig +538 -0
- package/src/primitives/canvas/plan_key_index.zig +120 -0
- package/src/primitives/canvas/png.zig +355 -0
- package/src/primitives/canvas/reference.zig +1457 -0
- package/src/primitives/canvas/reference_blur.zig +104 -0
- package/src/primitives/canvas/reference_memo.zig +322 -0
- package/src/primitives/canvas/reference_paths.zig +184 -0
- package/src/primitives/canvas/reference_tests.zig +1650 -0
- package/src/primitives/canvas/render.zig +747 -0
- package/src/primitives/canvas/render_effects.zig +255 -0
- package/src/primitives/canvas/render_fingerprints.zig +256 -0
- package/src/primitives/canvas/render_generic_resources.zig +376 -0
- package/src/primitives/canvas/render_images.zig +247 -0
- package/src/primitives/canvas/render_layers.zig +260 -0
- package/src/primitives/canvas/render_paths.zig +347 -0
- package/src/primitives/canvas/render_resources.zig +51 -0
- package/src/primitives/canvas/render_tests.zig +3186 -0
- package/src/primitives/canvas/root.zig +744 -0
- package/src/primitives/canvas/serialization.zig +1528 -0
- package/src/primitives/canvas/svg_icon.zig +636 -0
- package/src/primitives/canvas/svg_icon_tests.zig +312 -0
- package/src/primitives/canvas/test_support.zig +422 -0
- package/src/primitives/canvas/testdata/markdown_document.md +83 -0
- package/src/primitives/canvas/tests.zig +30 -0
- package/src/primitives/canvas/text.zig +82 -0
- package/src/primitives/canvas/text_atlas.zig +408 -0
- package/src/primitives/canvas/text_batch_tests.zig +431 -0
- package/src/primitives/canvas/text_interaction.zig +615 -0
- package/src/primitives/canvas/text_layout.zig +1069 -0
- package/src/primitives/canvas/text_layout_cache.zig +281 -0
- package/src/primitives/canvas/text_layout_hash.zig +113 -0
- package/src/primitives/canvas/text_layout_types.zig +128 -0
- package/src/primitives/canvas/text_measure_cache.zig +279 -0
- package/src/primitives/canvas/text_metrics.zig +309 -0
- package/src/primitives/canvas/text_metrics_tests.zig +262 -0
- package/src/primitives/canvas/text_span_tests.zig +608 -0
- package/src/primitives/canvas/text_spans.zig +1010 -0
- package/src/primitives/canvas/text_tests.zig +1949 -0
- package/src/primitives/canvas/themes/geist.zig +470 -0
- package/src/primitives/canvas/tokens.zig +1522 -0
- package/src/primitives/canvas/ui.zig +2686 -0
- package/src/primitives/canvas/ui_markup.zig +3791 -0
- package/src/primitives/canvas/ui_markup_binary.zig +522 -0
- package/src/primitives/canvas/ui_markup_binary_tests.zig +591 -0
- package/src/primitives/canvas/ui_markup_compiled.zig +2565 -0
- package/src/primitives/canvas/ui_markup_compiled_tests.zig +1669 -0
- package/src/primitives/canvas/ui_markup_contract.zig +1620 -0
- package/src/primitives/canvas/ui_markup_contract_tests.zig +953 -0
- package/src/primitives/canvas/ui_markup_edit.zig +416 -0
- package/src/primitives/canvas/ui_markup_edit_tests.zig +341 -0
- package/src/primitives/canvas/ui_markup_expr.zig +1152 -0
- package/src/primitives/canvas/ui_markup_expr_tests.zig +779 -0
- package/src/primitives/canvas/ui_markup_huge_model_tests.zig +505 -0
- package/src/primitives/canvas/ui_markup_reflect.zig +127 -0
- package/src/primitives/canvas/ui_markup_tests.zig +1545 -0
- package/src/primitives/canvas/ui_markup_view.zig +2352 -0
- package/src/primitives/canvas/ui_markup_view_tests.zig +3709 -0
- package/src/primitives/canvas/ui_provenance.zig +96 -0
- package/src/primitives/canvas/ui_provenance_tests.zig +186 -0
- package/src/primitives/canvas/ui_schema.zig +825 -0
- package/src/primitives/canvas/ui_schema_tests.zig +128 -0
- package/src/primitives/canvas/ui_tests.zig +1432 -0
- package/src/primitives/canvas/vector.zig +919 -0
- package/src/primitives/canvas/vector_tests.zig +547 -0
- package/src/primitives/canvas/virtual_extent_tests.zig +317 -0
- package/src/primitives/canvas/virtual_extents.zig +540 -0
- package/src/primitives/canvas/widget_access.zig +208 -0
- package/src/primitives/canvas/widget_anchored_tests.zig +264 -0
- package/src/primitives/canvas/widget_builtin_tests.zig +3160 -0
- package/src/primitives/canvas/widget_invalidation.zig +748 -0
- package/src/primitives/canvas/widget_layout.zig +2055 -0
- package/src/primitives/canvas/widget_layout_tests.zig +2691 -0
- package/src/primitives/canvas/widget_metrics.zig +228 -0
- package/src/primitives/canvas/widget_render.zig +2534 -0
- package/src/primitives/canvas/widget_render_controls.zig +1563 -0
- package/src/primitives/canvas/widget_render_scroll.zig +136 -0
- package/src/primitives/canvas/widget_render_style.zig +626 -0
- package/src/primitives/canvas/widget_render_surfaces.zig +794 -0
- package/src/primitives/canvas/widget_routing.zig +475 -0
- package/src/primitives/canvas/widget_runtime.zig +307 -0
- package/src/primitives/canvas/widget_runtime_tests.zig +3015 -0
- package/src/primitives/canvas/widget_semantics.zig +480 -0
- package/src/primitives/canvas/widget_semantics_tests.zig +2129 -0
- package/src/primitives/canvas/widget_tests.zig +8 -0
- package/src/primitives/canvas/widget_text_input.zig +351 -0
- package/src/primitives/canvas/widget_text_select.zig +147 -0
- package/src/primitives/canvas/widget_tree.zig +232 -0
- package/src/primitives/canvas/widgets.zig +1319 -0
- package/src/primitives/diagnostics/root.zig +445 -0
- package/src/primitives/geometry/root.zig +889 -0
- package/src/primitives/json/root.zig +272 -0
- package/src/primitives/platform_info/root.zig +450 -0
- package/src/primitives/trace/root.zig +569 -0
- package/src/root.zig +165 -0
- package/src/runtime/api.zig +431 -0
- package/src/runtime/async_bridge.zig +49 -0
- package/src/runtime/automation_commands.zig +686 -0
- package/src/runtime/automation_liveness_tests.zig +140 -0
- package/src/runtime/automation_snapshot.zig +246 -0
- package/src/runtime/automation_widget_dispatch.zig +617 -0
- package/src/runtime/bridge_dispatch_tests.zig +202 -0
- package/src/runtime/bridge_payload.zig +194 -0
- package/src/runtime/bridge_permission_tests.zig +551 -0
- package/src/runtime/bridge_responses.zig +414 -0
- package/src/runtime/builtin_bridge.zig +554 -0
- package/src/runtime/canvas_budget_edge_tests.zig +415 -0
- package/src/runtime/canvas_font_tests.zig +410 -0
- package/src/runtime/canvas_fonts.zig +229 -0
- package/src/runtime/canvas_frame.zig +1734 -0
- package/src/runtime/canvas_frame_animation_tests.zig +609 -0
- package/src/runtime/canvas_frame_cache_tests.zig +333 -0
- package/src/runtime/canvas_frame_helpers.zig +414 -0
- package/src/runtime/canvas_frame_invalidation_tests.zig +544 -0
- package/src/runtime/canvas_frame_packet_tests.zig +1353 -0
- package/src/runtime/canvas_frame_patch_tests.zig +1051 -0
- package/src/runtime/canvas_frame_retained_tests.zig +753 -0
- package/src/runtime/canvas_frame_tests.zig +9 -0
- package/src/runtime/canvas_frame_text_layout_budget_tests.zig +149 -0
- package/src/runtime/canvas_image_tests.zig +362 -0
- package/src/runtime/canvas_images.zig +224 -0
- package/src/runtime/canvas_limits.zig +317 -0
- package/src/runtime/canvas_screenshot_tests.zig +289 -0
- package/src/runtime/canvas_widget_accessibility_tests.zig +1494 -0
- package/src/runtime/canvas_widget_anchored_tests.zig +678 -0
- package/src/runtime/canvas_widget_chart_tests.zig +249 -0
- package/src/runtime/canvas_widget_clipboard_tests.zig +399 -0
- package/src/runtime/canvas_widget_context_menu.zig +318 -0
- package/src/runtime/canvas_widget_context_menu_tests.zig +462 -0
- package/src/runtime/canvas_widget_control_tests.zig +2164 -0
- package/src/runtime/canvas_widget_disclosure_tests.zig +440 -0
- package/src/runtime/canvas_widget_display.zig +677 -0
- package/src/runtime/canvas_widget_event_tests.zig +1779 -0
- package/src/runtime/canvas_widget_events.zig +1098 -0
- package/src/runtime/canvas_widget_floating_tests.zig +695 -0
- package/src/runtime/canvas_widget_layout_tests.zig +26 -0
- package/src/runtime/canvas_widget_runtime.zig +1335 -0
- package/src/runtime/canvas_widget_scroll_driver_tests.zig +582 -0
- package/src/runtime/canvas_widget_scroll_drivers.zig +202 -0
- package/src/runtime/canvas_widget_scroll_tests.zig +1549 -0
- package/src/runtime/canvas_widget_semantics_tests.zig +810 -0
- package/src/runtime/canvas_widget_split_tree_tests.zig +1031 -0
- package/src/runtime/canvas_widget_state.zig +798 -0
- package/src/runtime/canvas_widget_text_tests.zig +2104 -0
- package/src/runtime/canvas_widget_window_drag_tests.zig +284 -0
- package/src/runtime/clock.zig +231 -0
- package/src/runtime/core.zig +927 -0
- package/src/runtime/effects.zig +4197 -0
- package/src/runtime/effects_audio_tests.zig +690 -0
- package/src/runtime/effects_clipboard_tests.zig +317 -0
- package/src/runtime/effects_fetch_tests.zig +1031 -0
- package/src/runtime/effects_file_tests.zig +407 -0
- package/src/runtime/effects_tests.zig +1251 -0
- package/src/runtime/flow.zig +1175 -0
- package/src/runtime/frame_profile.zig +221 -0
- package/src/runtime/gpu_surface_events.zig +639 -0
- package/src/runtime/launch_timing.zig +59 -0
- package/src/runtime/markdown_app_tests.zig +224 -0
- package/src/runtime/native_command_event_tests.zig +431 -0
- package/src/runtime/platform_bridge_tests.zig +8 -0
- package/src/runtime/platform_config_tests.zig +392 -0
- package/src/runtime/root.zig +150 -0
- package/src/runtime/runtime_event_tests.zig +1079 -0
- package/src/runtime/session_journal.zig +1522 -0
- package/src/runtime/session_record.zig +332 -0
- package/src/runtime/session_replay.zig +274 -0
- package/src/runtime/session_state.zig +30 -0
- package/src/runtime/session_tests.zig +399 -0
- package/src/runtime/shell_layout.zig +472 -0
- package/src/runtime/shell_layout_tests.zig +1246 -0
- package/src/runtime/shell_view_tests.zig +604 -0
- package/src/runtime/state.zig +110 -0
- package/src/runtime/system_services.zig +392 -0
- package/src/runtime/test_support.zig +79 -0
- package/src/runtime/tests.zig +30 -0
- package/src/runtime/ui_app.zig +3290 -0
- package/src/runtime/ui_app_huge_model_tests.zig +351 -0
- package/src/runtime/ui_app_provenance.zig +370 -0
- package/src/runtime/ui_app_tests.zig +3254 -0
- package/src/runtime/ui_app_virtual_variable_tests.zig +485 -0
- package/src/runtime/ui_app_window_tests.zig +442 -0
- package/src/runtime/validation.zig +206 -0
- package/src/runtime/view.zig +908 -0
- package/src/runtime/view_canvas.zig +850 -0
- package/src/runtime/view_widget_control.zig +433 -0
- package/src/runtime/view_widget_scroll.zig +360 -0
- package/src/runtime/view_widget_text.zig +275 -0
- package/src/runtime/view_widget_tree.zig +843 -0
- package/src/runtime/webview_view_bridge_tests.zig +664 -0
- package/src/runtime/widget_bridge.zig +231 -0
- package/src/runtime/window_command_bridge_tests.zig +403 -0
- package/src/runtime/window_storage.zig +255 -0
- package/src/runtime/window_view_runtime.zig +727 -0
- package/src/runtime/window_views.zig +334 -0
- package/src/security/root.zig +118 -0
- package/src/tooling/android.zig +1172 -0
- package/src/tooling/assets.zig +128 -0
- package/src/tooling/buildgraph.zig +379 -0
- package/src/tooling/cef.zig +671 -0
- package/src/tooling/codesign.zig +172 -0
- package/src/tooling/components/identity_tests.zig +185 -0
- package/src/tooling/components/stepper.zig +113 -0
- package/src/tooling/components/timeline.native +27 -0
- package/src/tooling/components/timeline_item.zig +131 -0
- package/src/tooling/default_icon.icns +0 -0
- package/src/tooling/default_icon.png +0 -0
- package/src/tooling/dev.zig +172 -0
- package/src/tooling/doctor.zig +349 -0
- package/src/tooling/eject_components.zig +170 -0
- package/src/tooling/embedlib.zig +290 -0
- package/src/tooling/ios.zig +528 -0
- package/src/tooling/manifest.zig +1939 -0
- package/src/tooling/package.zig +2388 -0
- package/src/tooling/process_tree.zig +114 -0
- package/src/tooling/raw_manifest.zig +193 -0
- package/src/tooling/root.zig +22 -0
- package/src/tooling/templates.zig +3191 -0
- package/src/tooling/toolchain.zig +371 -0
- package/src/tooling/verbs.zig +204 -0
- package/src/tooling/web_engine.zig +135 -0
- package/src/tooling/xcodeproj.zig +462 -0
- package/src/window_state/root.zig +507 -0
- package/index.js +0 -2
|
@@ -0,0 +1,422 @@
|
|
|
1
|
+
pub const std = @import("std");
|
|
2
|
+
pub const geometry = @import("geometry");
|
|
3
|
+
pub const canvas = @import("root.zig");
|
|
4
|
+
pub const drawing_model = @import("drawing.zig");
|
|
5
|
+
pub const text_model = @import("text.zig");
|
|
6
|
+
pub const render_model = @import("render.zig");
|
|
7
|
+
pub const event_model = @import("events.zig");
|
|
8
|
+
pub const equality_model = @import("equality.zig");
|
|
9
|
+
pub const widget_runtime = @import("widget_runtime.zig");
|
|
10
|
+
|
|
11
|
+
pub const Error = canvas.Error;
|
|
12
|
+
pub const ObjectId = canvas.ObjectId;
|
|
13
|
+
pub const ImageId = canvas.ImageId;
|
|
14
|
+
pub const FontId = canvas.FontId;
|
|
15
|
+
pub const default_sans_font_id = canvas.default_sans_font_id;
|
|
16
|
+
pub const default_mono_font_id = canvas.default_mono_font_id;
|
|
17
|
+
pub const default_sans_font_family = canvas.default_sans_font_family;
|
|
18
|
+
pub const default_mono_font_family = canvas.default_mono_font_family;
|
|
19
|
+
pub const default_glyph_atlas_cache_retention_frames = canvas.default_glyph_atlas_cache_retention_frames;
|
|
20
|
+
pub const default_text_layout_cache_retention_frames = canvas.default_text_layout_cache_retention_frames;
|
|
21
|
+
pub const Color = canvas.Color;
|
|
22
|
+
pub const Affine = canvas.Affine;
|
|
23
|
+
pub const Radius = canvas.Radius;
|
|
24
|
+
pub const GradientStop = canvas.GradientStop;
|
|
25
|
+
pub const LinearGradient = canvas.LinearGradient;
|
|
26
|
+
pub const Fill = canvas.Fill;
|
|
27
|
+
pub const Stroke = canvas.Stroke;
|
|
28
|
+
pub const Clip = canvas.Clip;
|
|
29
|
+
pub const FillRect = canvas.FillRect;
|
|
30
|
+
pub const StrokeRect = canvas.StrokeRect;
|
|
31
|
+
pub const FillRoundedRect = canvas.FillRoundedRect;
|
|
32
|
+
pub const Line = canvas.Line;
|
|
33
|
+
pub const PathVerb = canvas.PathVerb;
|
|
34
|
+
pub const PathElement = canvas.PathElement;
|
|
35
|
+
pub const FillPath = canvas.FillPath;
|
|
36
|
+
pub const StrokePath = canvas.StrokePath;
|
|
37
|
+
pub const ImageFit = canvas.ImageFit;
|
|
38
|
+
pub const ImageSampling = canvas.ImageSampling;
|
|
39
|
+
pub const DrawImage = canvas.DrawImage;
|
|
40
|
+
pub const Shadow = canvas.Shadow;
|
|
41
|
+
pub const Blur = canvas.Blur;
|
|
42
|
+
pub const Glyph = canvas.Glyph;
|
|
43
|
+
pub const GlyphAtlasKey = canvas.GlyphAtlasKey;
|
|
44
|
+
pub const GlyphAtlasEntry = canvas.GlyphAtlasEntry;
|
|
45
|
+
pub const GlyphAtlasPlan = canvas.GlyphAtlasPlan;
|
|
46
|
+
pub const GlyphAtlasPlanner = canvas.GlyphAtlasPlanner;
|
|
47
|
+
pub const GlyphAtlasCacheEntry = canvas.GlyphAtlasCacheEntry;
|
|
48
|
+
pub const GlyphAtlasCacheActionKind = canvas.GlyphAtlasCacheActionKind;
|
|
49
|
+
pub const GlyphAtlasCacheAction = canvas.GlyphAtlasCacheAction;
|
|
50
|
+
pub const GlyphAtlasCachePlan = canvas.GlyphAtlasCachePlan;
|
|
51
|
+
pub const GlyphAtlasCachePlanner = canvas.GlyphAtlasCachePlanner;
|
|
52
|
+
pub const DrawText = canvas.DrawText;
|
|
53
|
+
pub const TextWrap = canvas.TextWrap;
|
|
54
|
+
pub const TextOverflow = canvas.TextOverflow;
|
|
55
|
+
pub const TextAlign = canvas.TextAlign;
|
|
56
|
+
pub const text_ellipsis = canvas.text_ellipsis;
|
|
57
|
+
pub const textEllipsisAdvance = canvas.textEllipsisAdvance;
|
|
58
|
+
pub const TextLayoutOptions = canvas.TextLayoutOptions;
|
|
59
|
+
pub const TextLine = canvas.TextLine;
|
|
60
|
+
pub const TextLayout = canvas.TextLayout;
|
|
61
|
+
pub const TextLayoutKey = canvas.TextLayoutKey;
|
|
62
|
+
pub const TextLayoutPlan = canvas.TextLayoutPlan;
|
|
63
|
+
pub const TextLayoutPlanSet = canvas.TextLayoutPlanSet;
|
|
64
|
+
pub const TextLayoutPlanner = canvas.TextLayoutPlanner;
|
|
65
|
+
pub const TextLayoutCacheEntry = canvas.TextLayoutCacheEntry;
|
|
66
|
+
pub const TextLayoutCacheActionKind = canvas.TextLayoutCacheActionKind;
|
|
67
|
+
pub const TextLayoutCacheAction = canvas.TextLayoutCacheAction;
|
|
68
|
+
pub const TextLayoutCachePlan = canvas.TextLayoutCachePlan;
|
|
69
|
+
pub const TextLayoutCachePlanner = canvas.TextLayoutCachePlanner;
|
|
70
|
+
pub const TextRange = canvas.TextRange;
|
|
71
|
+
pub const TextSelectionRect = canvas.TextSelectionRect;
|
|
72
|
+
pub const TextSelection = canvas.TextSelection;
|
|
73
|
+
pub const TextCaretDirection = canvas.TextCaretDirection;
|
|
74
|
+
pub const TextCaretMove = canvas.TextCaretMove;
|
|
75
|
+
pub const TextCompositionUpdate = canvas.TextCompositionUpdate;
|
|
76
|
+
pub const TextInputEvent = canvas.TextInputEvent;
|
|
77
|
+
pub const TextEditState = canvas.TextEditState;
|
|
78
|
+
pub const CanvasCommand = canvas.CanvasCommand;
|
|
79
|
+
pub const CommandRef = canvas.CommandRef;
|
|
80
|
+
pub const DiffKind = canvas.DiffKind;
|
|
81
|
+
pub const DiffChange = canvas.DiffChange;
|
|
82
|
+
pub const Builder = canvas.Builder;
|
|
83
|
+
pub const max_render_state_stack = canvas.max_render_state_stack;
|
|
84
|
+
pub const RenderState = canvas.RenderState;
|
|
85
|
+
pub const RenderCommand = canvas.RenderCommand;
|
|
86
|
+
pub const CanvasRenderOverride = canvas.CanvasRenderOverride;
|
|
87
|
+
pub const CanvasRenderAnimation = canvas.CanvasRenderAnimation;
|
|
88
|
+
pub const applyRenderOverrides = canvas.applyRenderOverrides;
|
|
89
|
+
pub const renderOverrideDirtyBounds = canvas.renderOverrideDirtyBounds;
|
|
90
|
+
pub const RenderPlan = canvas.RenderPlan;
|
|
91
|
+
pub const RenderPlanner = canvas.RenderPlanner;
|
|
92
|
+
pub const RenderPipelineKind = canvas.RenderPipelineKind;
|
|
93
|
+
pub const RenderBatch = canvas.RenderBatch;
|
|
94
|
+
pub const RenderBatchPlanner = canvas.RenderBatchPlanner;
|
|
95
|
+
pub const RenderBatchPlan = canvas.RenderBatchPlan;
|
|
96
|
+
pub const RenderPipelineCacheEntry = canvas.RenderPipelineCacheEntry;
|
|
97
|
+
pub const RenderPipelineCacheActionKind = canvas.RenderPipelineCacheActionKind;
|
|
98
|
+
pub const RenderPipelineCacheAction = canvas.RenderPipelineCacheAction;
|
|
99
|
+
pub const RenderPipelineCachePlanner = canvas.RenderPipelineCachePlanner;
|
|
100
|
+
pub const RenderPipelineCachePlan = canvas.RenderPipelineCachePlan;
|
|
101
|
+
pub const RenderPathGeometryKind = canvas.RenderPathGeometryKind;
|
|
102
|
+
pub const RenderPathGeometry = canvas.RenderPathGeometry;
|
|
103
|
+
pub const RenderPathGeometryPlan = canvas.RenderPathGeometryPlan;
|
|
104
|
+
pub const RenderPathGeometryPlanner = canvas.RenderPathGeometryPlanner;
|
|
105
|
+
pub const RenderPathGeometryKey = canvas.RenderPathGeometryKey;
|
|
106
|
+
pub const RenderPathGeometryCacheEntry = canvas.RenderPathGeometryCacheEntry;
|
|
107
|
+
pub const RenderPathGeometryCacheActionKind = canvas.RenderPathGeometryCacheActionKind;
|
|
108
|
+
pub const RenderPathGeometryCacheAction = canvas.RenderPathGeometryCacheAction;
|
|
109
|
+
pub const RenderPathGeometryCachePlan = canvas.RenderPathGeometryCachePlan;
|
|
110
|
+
pub const RenderPathGeometryCachePlanner = canvas.RenderPathGeometryCachePlanner;
|
|
111
|
+
pub const RenderImage = canvas.RenderImage;
|
|
112
|
+
pub const RenderImagePlan = canvas.RenderImagePlan;
|
|
113
|
+
pub const RenderImagePlanner = canvas.RenderImagePlanner;
|
|
114
|
+
pub const RenderImageKey = canvas.RenderImageKey;
|
|
115
|
+
pub const RenderImageCacheEntry = canvas.RenderImageCacheEntry;
|
|
116
|
+
pub const RenderImageCacheActionKind = canvas.RenderImageCacheActionKind;
|
|
117
|
+
pub const RenderImageCacheAction = canvas.RenderImageCacheAction;
|
|
118
|
+
pub const RenderImageCachePlan = canvas.RenderImageCachePlan;
|
|
119
|
+
pub const RenderImageCachePlanner = canvas.RenderImageCachePlanner;
|
|
120
|
+
pub const RenderResourceKind = canvas.RenderResourceKind;
|
|
121
|
+
pub const RenderResource = canvas.RenderResource;
|
|
122
|
+
pub const RenderResourcePlan = canvas.RenderResourcePlan;
|
|
123
|
+
pub const RenderResourcePlanner = canvas.RenderResourcePlanner;
|
|
124
|
+
pub const RenderResourceKey = canvas.RenderResourceKey;
|
|
125
|
+
pub const RenderResourceCacheEntry = canvas.RenderResourceCacheEntry;
|
|
126
|
+
pub const RenderResourceCacheActionKind = canvas.RenderResourceCacheActionKind;
|
|
127
|
+
pub const RenderResourceCacheAction = canvas.RenderResourceCacheAction;
|
|
128
|
+
pub const RenderResourceCachePlan = canvas.RenderResourceCachePlan;
|
|
129
|
+
pub const RenderResourceCachePlanner = canvas.RenderResourceCachePlanner;
|
|
130
|
+
pub const RenderLayer = canvas.RenderLayer;
|
|
131
|
+
pub const RenderLayerPlan = canvas.RenderLayerPlan;
|
|
132
|
+
pub const RenderLayerPlanner = canvas.RenderLayerPlanner;
|
|
133
|
+
pub const RenderLayerKey = canvas.RenderLayerKey;
|
|
134
|
+
pub const RenderLayerCacheEntry = canvas.RenderLayerCacheEntry;
|
|
135
|
+
pub const RenderLayerCacheActionKind = canvas.RenderLayerCacheActionKind;
|
|
136
|
+
pub const RenderLayerCacheAction = canvas.RenderLayerCacheAction;
|
|
137
|
+
pub const RenderLayerCachePlan = canvas.RenderLayerCachePlan;
|
|
138
|
+
pub const RenderLayerCachePlanner = canvas.RenderLayerCachePlanner;
|
|
139
|
+
pub const VisualEffectKind = canvas.VisualEffectKind;
|
|
140
|
+
pub const VisualEffect = canvas.VisualEffect;
|
|
141
|
+
pub const VisualEffectPlan = canvas.VisualEffectPlan;
|
|
142
|
+
pub const VisualEffectPlanner = canvas.VisualEffectPlanner;
|
|
143
|
+
pub const VisualEffectKey = canvas.VisualEffectKey;
|
|
144
|
+
pub const VisualEffectCacheEntry = canvas.VisualEffectCacheEntry;
|
|
145
|
+
pub const VisualEffectCacheActionKind = canvas.VisualEffectCacheActionKind;
|
|
146
|
+
pub const VisualEffectCacheAction = canvas.VisualEffectCacheAction;
|
|
147
|
+
pub const VisualEffectCachePlan = canvas.VisualEffectCachePlan;
|
|
148
|
+
pub const VisualEffectCachePlanner = canvas.VisualEffectCachePlanner;
|
|
149
|
+
pub const CanvasFrameOptions = canvas.CanvasFrameOptions;
|
|
150
|
+
pub const CanvasFrameStorage = canvas.CanvasFrameStorage;
|
|
151
|
+
pub const CanvasFrameBudget = canvas.CanvasFrameBudget;
|
|
152
|
+
pub const CanvasFrameBudgetStatus = canvas.CanvasFrameBudgetStatus;
|
|
153
|
+
pub const CanvasFrameDiagnostics = canvas.CanvasFrameDiagnostics;
|
|
154
|
+
pub const CanvasFrameProfileRisk = canvas.CanvasFrameProfileRisk;
|
|
155
|
+
pub const CanvasFrameProfile = canvas.CanvasFrameProfile;
|
|
156
|
+
pub const CanvasRenderPass = canvas.CanvasRenderPass;
|
|
157
|
+
pub const CanvasFrame = canvas.CanvasFrame;
|
|
158
|
+
pub const buildCanvasFrame = canvas.buildCanvasFrame;
|
|
159
|
+
pub const CanvasRenderPassLoadAction = canvas.CanvasRenderPassLoadAction;
|
|
160
|
+
pub const RenderEncoderBeginPass = canvas.RenderEncoderBeginPass;
|
|
161
|
+
pub const RenderEncoderCommand = canvas.RenderEncoderCommand;
|
|
162
|
+
pub const RenderEncoderPlan = canvas.RenderEncoderPlan;
|
|
163
|
+
pub const RenderEncoderPlanner = canvas.RenderEncoderPlanner;
|
|
164
|
+
pub const CanvasGpuCommandKind = canvas.CanvasGpuCommandKind;
|
|
165
|
+
pub const CanvasGpuRoundedRect = canvas.CanvasGpuRoundedRect;
|
|
166
|
+
pub const CanvasGpuStrokeRect = canvas.CanvasGpuStrokeRect;
|
|
167
|
+
pub const CanvasGpuLine = canvas.CanvasGpuLine;
|
|
168
|
+
pub const CanvasGpuShape = canvas.CanvasGpuShape;
|
|
169
|
+
pub const CanvasGpuPaint = canvas.CanvasGpuPaint;
|
|
170
|
+
pub const CanvasGpuImage = canvas.CanvasGpuImage;
|
|
171
|
+
pub const CanvasGpuText = canvas.CanvasGpuText;
|
|
172
|
+
pub const CanvasGpuShadow = canvas.CanvasGpuShadow;
|
|
173
|
+
pub const CanvasGpuBlur = canvas.CanvasGpuBlur;
|
|
174
|
+
pub const CanvasGpuEffect = canvas.CanvasGpuEffect;
|
|
175
|
+
pub const CanvasGpuCommand = canvas.CanvasGpuCommand;
|
|
176
|
+
pub const CanvasGpuPacket = canvas.CanvasGpuPacket;
|
|
177
|
+
pub const CanvasGpuPacketSummary = canvas.CanvasGpuPacketSummary;
|
|
178
|
+
pub const CanvasGpuPacketPlanner = canvas.CanvasGpuPacketPlanner;
|
|
179
|
+
pub const ReferenceImage = canvas.ReferenceImage;
|
|
180
|
+
pub const ReferenceRenderSurface = canvas.ReferenceRenderSurface;
|
|
181
|
+
pub const Density = canvas.Density;
|
|
182
|
+
pub const Easing = canvas.Easing;
|
|
183
|
+
pub const ColorScheme = canvas.ColorScheme;
|
|
184
|
+
pub const ColorContrast = canvas.ColorContrast;
|
|
185
|
+
pub const ThemeOptions = canvas.ThemeOptions;
|
|
186
|
+
pub const ColorTokens = canvas.ColorTokens;
|
|
187
|
+
pub const FontFamily = canvas.FontFamily;
|
|
188
|
+
pub const TypographyTokens = canvas.TypographyTokens;
|
|
189
|
+
pub const SpacingTokens = canvas.SpacingTokens;
|
|
190
|
+
pub const RadiusTokens = canvas.RadiusTokens;
|
|
191
|
+
pub const StrokeTokens = canvas.StrokeTokens;
|
|
192
|
+
pub const ShadowToken = canvas.ShadowToken;
|
|
193
|
+
pub const ShadowTokens = canvas.ShadowTokens;
|
|
194
|
+
pub const BlurTokens = canvas.BlurTokens;
|
|
195
|
+
pub const MotionDuration = canvas.MotionDuration;
|
|
196
|
+
pub const MotionAnimationOptions = canvas.MotionAnimationOptions;
|
|
197
|
+
pub const MotionTokens = canvas.MotionTokens;
|
|
198
|
+
pub const SpringToken = canvas.SpringToken;
|
|
199
|
+
pub const BlurTokenRef = canvas.BlurTokenRef;
|
|
200
|
+
pub const ScrollPhysics = canvas.ScrollPhysics;
|
|
201
|
+
pub const ScrollState = canvas.ScrollState;
|
|
202
|
+
pub const VirtualListOptions = canvas.VirtualListOptions;
|
|
203
|
+
pub const VirtualListRange = canvas.VirtualListRange;
|
|
204
|
+
pub const virtualListRange = canvas.virtualListRange;
|
|
205
|
+
pub const LayerTokens = canvas.LayerTokens;
|
|
206
|
+
pub const PixelSnapTokens = canvas.PixelSnapTokens;
|
|
207
|
+
pub const ControlVisualTokens = canvas.ControlVisualTokens;
|
|
208
|
+
pub const ControlTokens = canvas.ControlTokens;
|
|
209
|
+
pub const ColorTokenOverrides = canvas.ColorTokenOverrides;
|
|
210
|
+
pub const TypographyTokenOverrides = canvas.TypographyTokenOverrides;
|
|
211
|
+
pub const SpacingTokenOverrides = canvas.SpacingTokenOverrides;
|
|
212
|
+
pub const RadiusTokenOverrides = canvas.RadiusTokenOverrides;
|
|
213
|
+
pub const StrokeTokenOverrides = canvas.StrokeTokenOverrides;
|
|
214
|
+
pub const ShadowTokenOverrides = canvas.ShadowTokenOverrides;
|
|
215
|
+
pub const ShadowTokensOverrides = canvas.ShadowTokensOverrides;
|
|
216
|
+
pub const BlurTokenOverrides = canvas.BlurTokenOverrides;
|
|
217
|
+
pub const SpringTokenOverrides = canvas.SpringTokenOverrides;
|
|
218
|
+
pub const MotionTokenOverrides = canvas.MotionTokenOverrides;
|
|
219
|
+
pub const ScrollPhysicsOverrides = canvas.ScrollPhysicsOverrides;
|
|
220
|
+
pub const LayerTokenOverrides = canvas.LayerTokenOverrides;
|
|
221
|
+
pub const PixelSnapTokenOverrides = canvas.PixelSnapTokenOverrides;
|
|
222
|
+
pub const ControlVisualTokenOverrides = canvas.ControlVisualTokenOverrides;
|
|
223
|
+
pub const ControlTokenOverrides = canvas.ControlTokenOverrides;
|
|
224
|
+
pub const DesignTokenOverrides = canvas.DesignTokenOverrides;
|
|
225
|
+
pub const DesignTokens = canvas.DesignTokens;
|
|
226
|
+
pub const WidgetKind = canvas.WidgetKind;
|
|
227
|
+
pub const WidgetCursor = canvas.WidgetCursor;
|
|
228
|
+
pub const WidgetState = canvas.WidgetState;
|
|
229
|
+
pub const WidgetRenderState = canvas.WidgetRenderState;
|
|
230
|
+
pub const WidgetMainAlignment = canvas.WidgetMainAlignment;
|
|
231
|
+
pub const WidgetCrossAlignment = canvas.WidgetCrossAlignment;
|
|
232
|
+
pub const WidgetLayoutStyle = canvas.WidgetLayoutStyle;
|
|
233
|
+
pub const WidgetStyle = canvas.WidgetStyle;
|
|
234
|
+
pub const WidgetVariant = canvas.WidgetVariant;
|
|
235
|
+
pub const WidgetSize = canvas.WidgetSize;
|
|
236
|
+
pub const WidgetRole = canvas.WidgetRole;
|
|
237
|
+
pub const BuiltinComponentStyle = canvas.BuiltinComponentStyle;
|
|
238
|
+
pub const BuiltinComponentKind = canvas.BuiltinComponentKind;
|
|
239
|
+
pub const builtin_component_kinds = canvas.builtin_component_kinds;
|
|
240
|
+
pub const builtin_component_names = canvas.builtin_component_names;
|
|
241
|
+
pub const BuiltinComponentDescriptor = canvas.BuiltinComponentDescriptor;
|
|
242
|
+
pub const builtinComponentCount = canvas.builtinComponentCount;
|
|
243
|
+
pub const builtinComponentName = canvas.builtinComponentName;
|
|
244
|
+
pub const builtinComponentDescriptor = canvas.builtinComponentDescriptor;
|
|
245
|
+
pub const WidgetActions = canvas.WidgetActions;
|
|
246
|
+
pub const WidgetSemantics = canvas.WidgetSemantics;
|
|
247
|
+
pub const Widget = canvas.Widget;
|
|
248
|
+
pub const BuiltinComponentOptions = canvas.BuiltinComponentOptions;
|
|
249
|
+
pub const WidgetCommandPart = canvas.WidgetCommandPart;
|
|
250
|
+
pub const BuiltinSurfacePlacementOptions = canvas.BuiltinSurfacePlacementOptions;
|
|
251
|
+
pub const BuiltinSurfaceBackdropOptions = canvas.BuiltinSurfaceBackdropOptions;
|
|
252
|
+
pub const BuiltinStatusBarOptions = canvas.BuiltinStatusBarOptions;
|
|
253
|
+
pub const BuiltinSurfaceEnterAnimationOptions = canvas.BuiltinSurfaceEnterAnimationOptions;
|
|
254
|
+
pub const builtinComponentWidget = canvas.builtinComponentWidget;
|
|
255
|
+
pub const widgetCommandPartId = canvas.widgetCommandPartId;
|
|
256
|
+
pub const builtinSurfaceBackdropWidget = canvas.builtinSurfaceBackdropWidget;
|
|
257
|
+
pub const builtinStatusBarWidget = canvas.builtinStatusBarWidget;
|
|
258
|
+
pub const builtinSurfaceFrame = canvas.builtinSurfaceFrame;
|
|
259
|
+
pub const appendBuiltinSurfaceEnterAnimations = canvas.appendBuiltinSurfaceEnterAnimations;
|
|
260
|
+
pub const builtinSurfaceEnterOffset = canvas.builtinSurfaceEnterOffset;
|
|
261
|
+
pub const max_widget_depth = canvas.max_widget_depth;
|
|
262
|
+
pub const max_widget_text_range_rects = canvas.max_widget_text_range_rects;
|
|
263
|
+
pub const WidgetLayoutNode = canvas.WidgetLayoutNode;
|
|
264
|
+
pub const WidgetHit = canvas.WidgetHit;
|
|
265
|
+
pub const WidgetPointerPhase = canvas.WidgetPointerPhase;
|
|
266
|
+
pub const WidgetPointerEvent = canvas.WidgetPointerEvent;
|
|
267
|
+
pub const WidgetKeyboardPhase = canvas.WidgetKeyboardPhase;
|
|
268
|
+
pub const WidgetKeyboardModifiers = canvas.WidgetKeyboardModifiers;
|
|
269
|
+
pub const WidgetKeyboardEvent = canvas.WidgetKeyboardEvent;
|
|
270
|
+
pub const WidgetControlIntentKind = canvas.WidgetControlIntentKind;
|
|
271
|
+
pub const WidgetControlIntent = canvas.WidgetControlIntent;
|
|
272
|
+
pub const WidgetSemanticAction = canvas.WidgetSemanticAction;
|
|
273
|
+
pub const WidgetFileDropEvent = canvas.WidgetFileDropEvent;
|
|
274
|
+
pub const WidgetDragEvent = canvas.WidgetDragEvent;
|
|
275
|
+
pub const WidgetEventPhase = canvas.WidgetEventPhase;
|
|
276
|
+
pub const WidgetEventRouteEntry = canvas.WidgetEventRouteEntry;
|
|
277
|
+
pub const WidgetEventRoute = canvas.WidgetEventRoute;
|
|
278
|
+
pub const WidgetKeyboardRoute = canvas.WidgetKeyboardRoute;
|
|
279
|
+
pub const WidgetFocusDirection = canvas.WidgetFocusDirection;
|
|
280
|
+
pub const WidgetFocusTarget = canvas.WidgetFocusTarget;
|
|
281
|
+
pub const WidgetScrollMetrics = canvas.WidgetScrollMetrics;
|
|
282
|
+
pub const WidgetListMetrics = canvas.WidgetListMetrics;
|
|
283
|
+
pub const WidgetSemanticsNode = canvas.WidgetSemanticsNode;
|
|
284
|
+
pub const WidgetInvalidationKind = canvas.WidgetInvalidationKind;
|
|
285
|
+
pub const WidgetInvalidation = canvas.WidgetInvalidation;
|
|
286
|
+
pub const widgetKeyboardControlIntent = canvas.widgetKeyboardControlIntent;
|
|
287
|
+
pub const widgetSemanticControlIntent = canvas.widgetSemanticControlIntent;
|
|
288
|
+
pub const widgetSemanticControlIntentWithActions = canvas.widgetSemanticControlIntentWithActions;
|
|
289
|
+
pub const isWidgetActivationKey = canvas.isWidgetActivationKey;
|
|
290
|
+
pub const widgetSliderKeyboardValue = canvas.widgetSliderKeyboardValue;
|
|
291
|
+
pub const widgetScrollKeyboardIntent = canvas.widgetScrollKeyboardIntent;
|
|
292
|
+
pub const widgetScrollKeyboardDelta = canvas.widgetScrollKeyboardDelta;
|
|
293
|
+
pub const WidgetLayoutTree = canvas.WidgetLayoutTree;
|
|
294
|
+
pub const DisplayList = canvas.DisplayList;
|
|
295
|
+
pub const emitWidgetTree = canvas.emitWidgetTree;
|
|
296
|
+
pub const layoutWidgetTree = canvas.layoutWidgetTree;
|
|
297
|
+
pub const layoutWidgetTreeWithTokens = canvas.layoutWidgetTreeWithTokens;
|
|
298
|
+
pub const layoutTextRun = canvas.layoutTextRun;
|
|
299
|
+
pub const layoutTextRunPlan = canvas.layoutTextRunPlan;
|
|
300
|
+
pub const layoutTextCaretRect = canvas.layoutTextCaretRect;
|
|
301
|
+
pub const textCaretRectForLayout = canvas.textCaretRectForLayout;
|
|
302
|
+
pub const layoutTextSelectionRects = canvas.layoutTextSelectionRects;
|
|
303
|
+
pub const textSelectionRectsForLayout = canvas.textSelectionRectsForLayout;
|
|
304
|
+
pub const layoutTextOffsetForPoint = canvas.layoutTextOffsetForPoint;
|
|
305
|
+
pub const textOffsetForLayoutPoint = canvas.textOffsetForLayoutPoint;
|
|
306
|
+
pub const applyTextInputEvent = canvas.applyTextInputEvent;
|
|
307
|
+
pub const sampleCanvasRenderAnimations = canvas.sampleCanvasRenderAnimations;
|
|
308
|
+
pub const emitWidgetLayout = canvas.emitWidgetLayout;
|
|
309
|
+
pub const toggleWidgetKnobCommandId = canvas.toggleWidgetKnobCommandId;
|
|
310
|
+
pub const toggleWidgetKnobTravel = canvas.toggleWidgetKnobTravel;
|
|
311
|
+
pub const textSelectionForWidgetPoint = canvas.textSelectionForWidgetPoint;
|
|
312
|
+
pub const textOffsetForWidgetPoint = canvas.textOffsetForWidgetPoint;
|
|
313
|
+
pub const textInputViewportForWidget = canvas.textInputViewportForWidget;
|
|
314
|
+
pub const textInputContentExtentForWidget = canvas.textInputContentExtentForWidget;
|
|
315
|
+
pub const textInputMaxScrollOffsetForWidget = canvas.textInputMaxScrollOffsetForWidget;
|
|
316
|
+
pub const clampedTextInputScrollOffsetForWidget = canvas.clampedTextInputScrollOffsetForWidget;
|
|
317
|
+
pub const intrinsicWidgetSize = canvas.intrinsicWidgetSize;
|
|
318
|
+
pub const cursorForWidgetHit = canvas.cursorForWidgetHit;
|
|
319
|
+
pub const cursorForWidgetTarget = canvas.cursorForWidgetTarget;
|
|
320
|
+
pub const WidgetTextGeometry = canvas.WidgetTextGeometry;
|
|
321
|
+
pub const textGeometryForWidget = canvas.textGeometryForWidget;
|
|
322
|
+
pub const virtualWidgetScrollContentExtent = canvas.virtualWidgetScrollContentExtent;
|
|
323
|
+
pub const virtualWidgetScrollContentExtentWithTokens = canvas.virtualWidgetScrollContentExtentWithTokens;
|
|
324
|
+
pub const writeCanvasGpuPacketJson = canvas.writeCanvasGpuPacketJson;
|
|
325
|
+
|
|
326
|
+
pub const strokeBounds = drawing_model.strokeBounds;
|
|
327
|
+
pub const shadowBounds = drawing_model.shadowBounds;
|
|
328
|
+
pub const semanticActions = event_model.semanticActions;
|
|
329
|
+
pub const defaultSemanticActions = event_model.defaultSemanticActions;
|
|
330
|
+
pub const defaultFocusable = event_model.defaultFocusable;
|
|
331
|
+
pub const textLineBounds = text_model.textLineBounds;
|
|
332
|
+
pub const textBounds = text_model.textBounds;
|
|
333
|
+
pub const TextMeasureProvider = text_model.TextMeasureProvider;
|
|
334
|
+
pub const measureTextWidthForFont = text_model.measureTextWidthForFont;
|
|
335
|
+
pub const measureTextAdvance = text_model.measureTextAdvance;
|
|
336
|
+
pub const estimateTextWidth = text_model.estimateTextWidth;
|
|
337
|
+
pub const estimateTextWidthForFont = text_model.estimateTextWidthForFont;
|
|
338
|
+
pub const estimateTextAdvanceForBytes = text_model.estimateTextAdvanceForBytes;
|
|
339
|
+
pub const estimatedGlyphAdvance = text_model.estimatedGlyphAdvance;
|
|
340
|
+
pub const snapTextSelection = text_model.snapTextSelection;
|
|
341
|
+
pub const snapTextRange = text_model.snapTextRange;
|
|
342
|
+
pub const nextTextOffset = text_model.nextTextOffset;
|
|
343
|
+
pub const nextTextLineEnd = text_model.nextTextLineEnd;
|
|
344
|
+
pub const isTextBreakByte = text_model.isTextBreakByte;
|
|
345
|
+
pub const textLineRange = text_model.textLineRange;
|
|
346
|
+
pub const textLineCaretX = text_model.textLineCaretX;
|
|
347
|
+
pub const motionProgress = render_model.motionProgress;
|
|
348
|
+
pub const renderImageFingerprint = render_model.renderImageFingerprint;
|
|
349
|
+
pub const renderImageFingerprintForResource = render_model.renderImageFingerprintForResource;
|
|
350
|
+
pub const commandsEqual = equality_model.commandsEqual;
|
|
351
|
+
pub const rectsEqual = equality_model.rectsEqual;
|
|
352
|
+
pub const optionalRectsEqual = equality_model.optionalRectsEqual;
|
|
353
|
+
pub const sizesEqual = equality_model.sizesEqual;
|
|
354
|
+
pub const insetsEqual = equality_model.insetsEqual;
|
|
355
|
+
pub const optionalColorsEqual = equality_model.optionalColorsEqual;
|
|
356
|
+
pub const radiiEqual = equality_model.radiiEqual;
|
|
357
|
+
pub const affinesEqual = equality_model.affinesEqual;
|
|
358
|
+
pub const optionalF32Equal = equality_model.optionalF32Equal;
|
|
359
|
+
pub const optionalTextSelectionsEqual = equality_model.optionalTextSelectionsEqual;
|
|
360
|
+
pub const optionalTextRangesEqual = equality_model.optionalTextRangesEqual;
|
|
361
|
+
pub const widgetPartId = widget_runtime.widgetPartId;
|
|
362
|
+
pub const colorWithAlpha = widget_runtime.colorWithAlpha;
|
|
363
|
+
pub const widgetControlHeight = widget_runtime.widgetControlHeight;
|
|
364
|
+
pub const textSelectionFillColor = widget_runtime.textSelectionFillColor;
|
|
365
|
+
pub const textSelectionTextColor = widget_runtime.textSelectionTextColor;
|
|
366
|
+
pub const textEditingInkColor = widget_runtime.textEditingInkColor;
|
|
367
|
+
pub const staticTextSelectionFillColor = widget_runtime.staticTextSelectionFillColor;
|
|
368
|
+
pub const transparentColor = widget_runtime.transparentColor;
|
|
369
|
+
|
|
370
|
+
pub fn expectRect(expected: geometry.RectF, actual: ?geometry.RectF) !void {
|
|
371
|
+
try std.testing.expect(actual != null);
|
|
372
|
+
try std.testing.expectEqualDeep(expected, actual.?);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
pub fn expectRectApprox(expected: geometry.RectF, actual: ?geometry.RectF) !void {
|
|
376
|
+
try std.testing.expect(actual != null);
|
|
377
|
+
try std.testing.expectApproxEqAbs(expected.x, actual.?.x, 0.001);
|
|
378
|
+
try std.testing.expectApproxEqAbs(expected.y, actual.?.y, 0.001);
|
|
379
|
+
try std.testing.expectApproxEqAbs(expected.width, actual.?.width, 0.001);
|
|
380
|
+
try std.testing.expectApproxEqAbs(expected.height, actual.?.height, 0.001);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
pub fn expectPixelRgba8(expected: [4]u8, surface: ReferenceRenderSurface, x: usize, y: usize) !void {
|
|
384
|
+
try std.testing.expectEqualDeep(expected, surface.pixelRgba8(x, y));
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
pub fn expectVisiblePixel(pixel: [4]u8) !void {
|
|
388
|
+
try std.testing.expect(pixel[3] > 0);
|
|
389
|
+
try std.testing.expect(pixel[0] != 0 or pixel[1] != 0 or pixel[2] != 0);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
pub fn referenceSurfaceSignature(pixels: []const u8) u64 {
|
|
393
|
+
var hash: u64 = 14695981039346656037;
|
|
394
|
+
for (pixels) |byte| {
|
|
395
|
+
hash = (hash ^ byte) *% 1099511628211;
|
|
396
|
+
}
|
|
397
|
+
return hash;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
pub fn expectLayoutFrame(layout: WidgetLayoutTree, id: ObjectId, expected: geometry.RectF) !void {
|
|
401
|
+
const node = layout.findById(id) orelse return error.TestUnexpectedResult;
|
|
402
|
+
try std.testing.expectEqualDeep(expected, node.frame);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
pub fn expectRouteEntry(entry: WidgetEventRouteEntry, phase: WidgetEventPhase, id: ObjectId) !void {
|
|
406
|
+
try std.testing.expectEqual(phase, entry.phase);
|
|
407
|
+
try std.testing.expectEqual(id, entry.id);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
pub fn expectFillColor(expected: Color, actual: Fill) !void {
|
|
411
|
+
switch (actual) {
|
|
412
|
+
.color => |color| try std.testing.expectEqualDeep(expected, color),
|
|
413
|
+
else => return error.TestUnexpectedResult,
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
pub fn expectGpuPaintColor(expected: Color, actual: CanvasGpuPaint) !void {
|
|
418
|
+
switch (actual) {
|
|
419
|
+
.color => |color| try std.testing.expectEqualDeep(expected, color),
|
|
420
|
+
else => return error.TestUnexpectedResult,
|
|
421
|
+
}
|
|
422
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Fieldnote
|
|
2
|
+
|
|
3
|
+
A two-pane desktop app for managing your field-survey log entries, built on the `flg` CLI.
|
|
4
|
+
|
|
5
|
+
- **Left pane** — every entry assigned to you, across all stations (toggle "Show archived").
|
|
6
|
+
- **Right pane** — the selected entry's title, description, and annotations, plus a box to
|
|
7
|
+
annotate and a button to archive/restore.
|
|
8
|
+
|
|
9
|
+
All reads and writes go through the `flg` command-line tool — no API tokens to manage,
|
|
10
|
+
it reuses your existing `flg auth login` session.
|
|
11
|
+
|
|
12
|
+
## Requirements
|
|
13
|
+
|
|
14
|
+
- A desktop OS with a windowing session
|
|
15
|
+
- [`flg`](https://example.com/flg) installed and authenticated (`flg auth login`)
|
|
16
|
+
|
|
17
|
+
## Run
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Quick dev run (window opens as a background process):
|
|
21
|
+
flg dev run
|
|
22
|
+
|
|
23
|
+
# Or build a real app bundle (proper dock icon + focus):
|
|
24
|
+
./make-app.sh
|
|
25
|
+
open Fieldnote.app
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Press **⌘R** to refresh the list, **⌘↩** to post an annotation.
|
|
29
|
+
|
|
30
|
+
## How it maps to `flg`
|
|
31
|
+
|
|
32
|
+
| Action | Command |
|
|
33
|
+
|-------------------|----------------------------------------------------------------------|
|
|
34
|
+
| List entries | `flg search entries --assignee=@me --sort=updated --json …` |
|
|
35
|
+
| Entry detail | `flg entry view <n> -S <station> --json …,annotations` |
|
|
36
|
+
| Add annotation | `flg entry annotate <n> -S <station> --body …` |
|
|
37
|
+
| Archive / restore | `flg entry archive \| restore <n> -S <station>` |
|
|
38
|
+
|
|
39
|
+
## Drafting assistant (right inspector)
|
|
40
|
+
|
|
41
|
+
The right pane is a chat with a drafting assistant running **inside a
|
|
42
|
+
disposable worker**, with the assistant's replies served by a **relay endpoint**.
|
|
43
|
+
|
|
44
|
+
Flow (all via the relay's REST API — no bundled SDK):
|
|
45
|
+
|
|
46
|
+
1. First prompt → `POST /v2/workers` creates a fresh worker.
|
|
47
|
+
2. `pkg install -g draft-assistant` inside it.
|
|
48
|
+
3. Run `draft --output-format stream-json -p "<prompt>"` with
|
|
49
|
+
`RELAY_BASE_URL=https://relay.example.com` and the relay key as the
|
|
50
|
+
auth token (passed via the command's `env`, never baked into the worker image).
|
|
51
|
+
4. The NDJSON stream (`POST .../cmd?wait&logs`) is parsed and rendered live.
|
|
52
|
+
5. Follow-ups reuse the worker with `draft --continue`. "New session"
|
|
53
|
+
(✎) stops + deletes the worker.
|
|
54
|
+
|
|
55
|
+
### Credentials
|
|
56
|
+
|
|
57
|
+
| Need | Source |
|
|
58
|
+
|------|--------|
|
|
59
|
+
| Relay key | `$RELAY_API_KEY` (read from your login shell) |
|
|
60
|
+
| Worker API token | `flg auth token` (CLI token) or `$WORKER_TOKEN` |
|
|
61
|
+
| Team ID / Project ID | **chat settings popover** (gear), or `$TEAM_ID` / `$PROJECT_ID` |
|
|
62
|
+
|
|
63
|
+
Open the gear in the chat header to set the Team/Project ID and pick a model.
|
|
64
|
+
The popover shows green checkmarks for the auto-detected relay key + token.
|
|
65
|
+
|
|
66
|
+
## Layout
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
sources/fieldnote/
|
|
70
|
+
app.src entry scene + window + menu bar + chat injection
|
|
71
|
+
content_view.src two-pane split view + chat inspector
|
|
72
|
+
entry_detail_pane.src entry detail: title, body, annotations, composer
|
|
73
|
+
store.src entries view model
|
|
74
|
+
client.src async wrapper around the flg CLI
|
|
75
|
+
models.src typed models matching flg JSON
|
|
76
|
+
menu_bar_content.src menu bar dropdown
|
|
77
|
+
chat_pane.src chat UI + settings popover
|
|
78
|
+
chat_session.src worker lifecycle + transcript orchestration
|
|
79
|
+
worker_client.src worker REST + NDJSON streaming
|
|
80
|
+
stream_parser.src stream-json → events
|
|
81
|
+
credentials.src credential resolution + persisted settings
|
|
82
|
+
chat_models.src chat/transcript/event types
|
|
83
|
+
```
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
test {
|
|
2
|
+
_ = @import("widget_tests.zig");
|
|
3
|
+
_ = @import("ui_tests.zig");
|
|
4
|
+
_ = @import("ui_schema_tests.zig");
|
|
5
|
+
_ = @import("ui_markup_tests.zig");
|
|
6
|
+
_ = @import("ui_markup_binary_tests.zig");
|
|
7
|
+
_ = @import("ui_markup_expr_tests.zig");
|
|
8
|
+
_ = @import("ui_markup_edit_tests.zig");
|
|
9
|
+
_ = @import("ui_provenance_tests.zig");
|
|
10
|
+
_ = @import("ui_markup_view_tests.zig");
|
|
11
|
+
_ = @import("ui_markup_compiled_tests.zig");
|
|
12
|
+
_ = @import("ui_markup_contract_tests.zig");
|
|
13
|
+
_ = @import("ui_markup_huge_model_tests.zig");
|
|
14
|
+
_ = @import("chart_tests.zig");
|
|
15
|
+
_ = @import("render_tests.zig");
|
|
16
|
+
_ = @import("reference_tests.zig");
|
|
17
|
+
_ = @import("vector_tests.zig");
|
|
18
|
+
_ = @import("font_ttf_tests.zig");
|
|
19
|
+
_ = @import("svg_icon_tests.zig");
|
|
20
|
+
_ = @import("png.zig");
|
|
21
|
+
_ = @import("app_icon.zig");
|
|
22
|
+
_ = @import("text_tests.zig");
|
|
23
|
+
_ = @import("text_metrics_tests.zig");
|
|
24
|
+
_ = @import("text_batch_tests.zig");
|
|
25
|
+
_ = @import("text_span_tests.zig");
|
|
26
|
+
_ = @import("markdown_tests.zig");
|
|
27
|
+
_ = @import("markdown_hostile_tests.zig");
|
|
28
|
+
_ = @import("layout_audit_tests.zig");
|
|
29
|
+
_ = @import("a11y_audit_tests.zig");
|
|
30
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
const text_atlas = @import("text_atlas.zig");
|
|
2
|
+
const text_layout = @import("text_layout.zig");
|
|
3
|
+
const text_interaction = @import("text_interaction.zig");
|
|
4
|
+
|
|
5
|
+
pub const Glyph = text_atlas.Glyph;
|
|
6
|
+
pub const GlyphAtlasKey = text_atlas.GlyphAtlasKey;
|
|
7
|
+
pub const GlyphAtlasEntry = text_atlas.GlyphAtlasEntry;
|
|
8
|
+
pub const GlyphAtlasPlan = text_atlas.GlyphAtlasPlan;
|
|
9
|
+
pub const GlyphAtlasPlanner = text_atlas.GlyphAtlasPlanner;
|
|
10
|
+
pub const GlyphAtlasCacheEntry = text_atlas.GlyphAtlasCacheEntry;
|
|
11
|
+
pub const GlyphAtlasCacheActionKind = text_atlas.GlyphAtlasCacheActionKind;
|
|
12
|
+
pub const GlyphAtlasCacheAction = text_atlas.GlyphAtlasCacheAction;
|
|
13
|
+
pub const GlyphAtlasCachePlan = text_atlas.GlyphAtlasCachePlan;
|
|
14
|
+
pub const GlyphAtlasCachePlanner = text_atlas.GlyphAtlasCachePlanner;
|
|
15
|
+
pub const fallbackGlyphId = text_atlas.fallbackGlyphId;
|
|
16
|
+
|
|
17
|
+
pub const DrawText = text_layout.DrawText;
|
|
18
|
+
pub const TextWrap = text_layout.TextWrap;
|
|
19
|
+
pub const TextOverflow = text_layout.TextOverflow;
|
|
20
|
+
pub const TextAlign = text_layout.TextAlign;
|
|
21
|
+
pub const text_ellipsis = text_layout.text_ellipsis;
|
|
22
|
+
pub const text_ellipsis_codepoint = text_layout.text_ellipsis_codepoint;
|
|
23
|
+
pub const textEllipsisAdvance = text_layout.textEllipsisAdvance;
|
|
24
|
+
pub const textLayoutKeysEqual = text_layout.textLayoutKeysEqual;
|
|
25
|
+
pub const TextLayoutOptions = text_layout.TextLayoutOptions;
|
|
26
|
+
pub const TextLine = text_layout.TextLine;
|
|
27
|
+
pub const TextLayout = text_layout.TextLayout;
|
|
28
|
+
pub const TextLayoutKey = text_layout.TextLayoutKey;
|
|
29
|
+
pub const TextLayoutPlan = text_layout.TextLayoutPlan;
|
|
30
|
+
pub const TextLayoutPlanSet = text_layout.TextLayoutPlanSet;
|
|
31
|
+
pub const TextLayoutPlanner = text_layout.TextLayoutPlanner;
|
|
32
|
+
pub const TextLayoutCacheEntry = text_layout.TextLayoutCacheEntry;
|
|
33
|
+
pub const TextLayoutCacheActionKind = text_layout.TextLayoutCacheActionKind;
|
|
34
|
+
pub const TextLayoutCacheAction = text_layout.TextLayoutCacheAction;
|
|
35
|
+
pub const TextLayoutCachePlan = text_layout.TextLayoutCachePlan;
|
|
36
|
+
pub const TextLayoutCachePlanner = text_layout.TextLayoutCachePlanner;
|
|
37
|
+
pub const layoutTextRun = text_layout.layoutTextRun;
|
|
38
|
+
pub const layoutTextRunPlan = text_layout.layoutTextRunPlan;
|
|
39
|
+
pub const TextLineIterator = text_layout.TextLineIterator;
|
|
40
|
+
pub const textBounds = text_layout.textBounds;
|
|
41
|
+
pub const layoutTextCaretRect = text_layout.layoutTextCaretRect;
|
|
42
|
+
pub const textCaretRectForLayout = text_layout.textCaretRectForLayout;
|
|
43
|
+
pub const layoutTextSelectionRects = text_layout.layoutTextSelectionRects;
|
|
44
|
+
pub const textSelectionRectsForLayout = text_layout.textSelectionRectsForLayout;
|
|
45
|
+
pub const layoutTextOffsetForPoint = text_layout.layoutTextOffsetForPoint;
|
|
46
|
+
pub const textOffsetForLayoutPoint = text_layout.textOffsetForLayoutPoint;
|
|
47
|
+
pub const nextTextLineEnd = text_layout.nextTextLineEnd;
|
|
48
|
+
pub const textLineRange = text_layout.textLineRange;
|
|
49
|
+
pub const textLineCaretX = text_layout.textLineCaretX;
|
|
50
|
+
pub const textLineBounds = text_layout.textLineBounds;
|
|
51
|
+
pub const TextMeasureProvider = text_layout.TextMeasureProvider;
|
|
52
|
+
pub const measureTextWidthForFont = text_layout.measureTextWidthForFont;
|
|
53
|
+
pub const measureTextAdvance = text_layout.measureTextAdvance;
|
|
54
|
+
pub const estimateTextWidth = text_layout.estimateTextWidth;
|
|
55
|
+
pub const estimateTextWidthForFont = text_layout.estimateTextWidthForFont;
|
|
56
|
+
pub const estimateTextWidthForFace = text_layout.estimateTextWidthForFace;
|
|
57
|
+
pub const mono_advance_em = text_layout.mono_advance_em;
|
|
58
|
+
pub const estimateTextAdvanceForBytes = text_layout.estimateTextAdvanceForBytes;
|
|
59
|
+
pub const estimatedGlyphAdvance = text_layout.estimatedGlyphAdvance;
|
|
60
|
+
pub const isTextBreakByte = text_layout.isTextBreakByte;
|
|
61
|
+
|
|
62
|
+
pub const TextRange = text_interaction.TextRange;
|
|
63
|
+
pub const TextSelectionRect = text_interaction.TextSelectionRect;
|
|
64
|
+
pub const TextSelection = text_interaction.TextSelection;
|
|
65
|
+
pub const TextCaretDirection = text_interaction.TextCaretDirection;
|
|
66
|
+
pub const TextCaretMove = text_interaction.TextCaretMove;
|
|
67
|
+
pub const TextCompositionUpdate = text_interaction.TextCompositionUpdate;
|
|
68
|
+
pub const TextInputEvent = text_interaction.TextInputEvent;
|
|
69
|
+
pub const TextEditState = text_interaction.TextEditState;
|
|
70
|
+
pub const TextBuffer = text_interaction.TextBuffer;
|
|
71
|
+
pub const applyTextInputEvent = text_interaction.applyTextInputEvent;
|
|
72
|
+
pub const snapTextSelection = text_interaction.snapTextSelection;
|
|
73
|
+
pub const snapTextRange = text_interaction.snapTextRange;
|
|
74
|
+
pub const previousTextOffset = text_interaction.previousTextOffset;
|
|
75
|
+
pub const nextTextOffset = text_interaction.nextTextOffset;
|
|
76
|
+
pub const previousTextWordOffset = text_interaction.previousTextWordOffset;
|
|
77
|
+
pub const nextTextWordOffset = text_interaction.nextTextWordOffset;
|
|
78
|
+
pub const textWordSelectionAtOffset = text_interaction.textWordSelectionAtOffset;
|
|
79
|
+
pub const textLineSelectionAtOffset = text_interaction.textLineSelectionAtOffset;
|
|
80
|
+
pub const snapTextOffset = text_interaction.snapTextOffset;
|
|
81
|
+
pub const utf8SequenceLength = text_interaction.utf8SequenceLength;
|
|
82
|
+
pub const isUtf8ContinuationByte = text_interaction.isUtf8ContinuationByte;
|