Commit graph

576 commits

Author SHA1 Message Date
Sabin Regmi
ec983c982a
Remove left margin from window caption label (#884)
* Remove left margin from window caption label

Delete the hardcoded Inset{left: 100} margin on the caption Label in widgets/src/window.rs so the label can be centered by the parent layout. This cleans up alignment and removes an unnecessary offset in the window header.

* Use window title in caption; format button click

Apply the configured window title to the window caption and make a small UI code cleanup.

- examples/splash: set window.title to "Splash Example" and reformat the tooltip button click check to a multiline expression for readability.
- widgets/src/window.rs: import label::* and update ensure_initialized to copy cx.windows[window_id].create_title into the caption_label when non-empty so the window chrome shows the configured title.
2026-02-25 13:04:46 +01:00
Admin
33eeb0d244 little glitches in script engine 2026-02-24 23:32:56 +01:00
Admin
677d2ba934 cleanup warnings 2026-02-24 21:40:08 +01:00
Admin
d75499e215 edmx 2026-02-24 21:40:08 +01:00
Admin
688da80e11 fix gc issues 2026-02-24 21:40:08 +01:00
Kevin Boos
c0082cc323
Fix Tooltip behavior and structure. Add CalloutTooltip widget (#881)
The CalloutTooltip is a fancier wrapper atop Tooltip that allows
the user to display a tooltip with a callout triangle that points
at a particular widget, making it clearer what the tooltip
corresponds to. It also supports a custom text color, background color,
positioning suggestion (top, right, left, bottom), full text wrapping,
and dynamically resize and re-orient itself to fit within the app screen.
2026-02-24 19:43:06 +01:00
Admin
ca17ee8baa splice out a makepad-network crate 2026-02-23 23:21:31 +01:00
Admin
aa056e8053 fix dx11 memleak 2026-02-23 18:30:26 +01:00
Admin
7dc1249b4f fix up uizoo 2026-02-23 18:00:19 +01:00
Julián Montes de Oca
6bc8fde866
Video Widget: Support on MacOS & iOS (#863)
* Add macOS video playback support using AVPlayer + CVMetalTextureCache

Extends the Video widget from Android-only to also support macOS with
hardware-accelerated, zero-copy video rendering through Metal. Uses
AVPlayer for decoding and CVMetalTextureCache to map decoded frames
directly to MTLTextures without CPU copies.

Key changes:
- New AppleVideoPlayer module (AVPlayer + CVPixelBuffer → MTLTexture pipeline)
- FFI bindings for CVMetalTextureCache, CMTime, and related Apple APIs
- Video frame polling integrated into macOS paint cycle
- TextureFormat::VideoRGB ungated from Android-only to all platforms
- Video widget made cross-platform (TextureHandleReady wait is Android-only)
- Fixed shader aspect ratio bug (&&→|| for non-positive dimension check)
- Added video demo to uizoo and scratchpad examples

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Add iOS video playback support

* Enhance video playback functionality with seek support and current position tracking

Key changes:
- Added `seek_video_playback` operation to allow seeking to specific timestamps.
- Introduced `current_position_ms` field in `VideoTextureUpdatedEvent` for tracking playback position.
- Implemented seeking functionality across iOS, macOS, and Android platforms.
- Updated Video widget to support new controls and indicators for seeking.

* Improve error handling for unsupported texture pixel formats

* Make volume icon drawing  use fixed width

* Make play/pause drawing use fixed width

* Remove video from scratchpad

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 15:19:21 +01:00
admin
b6dea262e2 automated click animation 2026-02-22 13:34:00 +01:00
admin
ec56475706 theme cleanup 2026-02-21 15:40:12 +01:00
admin
2d8754eea9 fix up theme hook 2026-02-21 15:21:27 +01:00
Admin
a98c49dadd sortable drawcalls 2026-02-21 10:05:07 +01:00
Admin
f6bafb9a82 splats without sort yet 2026-02-21 08:43:52 +01:00
Admin
7cc23e477e fix 2026-02-20 23:58:48 +01:00
Admin
6fdcbc923b portal list unstuck 2026-02-20 16:05:31 +01:00
Admin
e423ba59e5 drawcall ordering and git ui 2026-02-20 15:47:56 +01:00
Julián Montes de Oca
88abfedd24
Restore IME support (#860)
* Restore IME support

* Remove unused voice handling methods from Window
2026-02-20 14:06:02 +01:00
Admin
0a71358169 terminal split 2026-02-19 07:18:43 +01:00
Admin
a5510b3f53 ui proto 2026-02-18 21:10:25 +01:00
Admin
7656e2b537 fix selection accross items 2026-02-17 21:49:02 +01:00
Admin
ae50c3997e fix svg shadows 2026-02-17 21:09:04 +01:00
Admin
a298eb62f3 terminal work/ webp 2026-02-17 18:11:36 +01:00
Admin
c6d8df41ec rounded boxes 2026-02-17 11:38:21 +01:00
Admin
7b45e69fed 3d charts otw 2026-02-17 10:21:14 +01:00
Admin
8e7985507e instance pbr 2026-02-17 09:56:13 +01:00
Admin
db10fc4ceb instance pbr 2026-02-17 09:52:04 +01:00
Admin
cb55db99cb windows 2026-02-16 22:00:26 +01:00
Admin
e013be1894 physics 2026-02-16 18:06:57 +01:00
Admin
cd1c1753f2 gltf example! 2026-02-16 15:51:24 +01:00
Admin
1c8ceb4693 cleanup widget tree 2026-02-15 18:34:42 +01:00
Admin
5ad1df51f1 vulkan otw + widget fixes 2026-02-15 16:04:24 +01:00
Admin
8dc9efe96b headless otw 2026-02-15 11:48:51 +01:00
Admin
309626bd19 web almost there 2026-02-14 22:49:23 +01:00
Admin
4d036ecdc4 otw 2026-02-14 22:14:26 +01:00
Admin
476c19a473 terminal 2026-02-14 09:51:47 +01:00
Admin
b675e78934 image search 2026-02-12 21:56:41 +01:00
Admin
10ab1838d5 add http resources 2026-02-12 20:20:17 +01:00
Admin
b9f957ecef todo app 2026-02-12 19:58:49 +01:00
Admin
9edced7a6c todo app in splash 2026-02-12 19:32:35 +01:00
Admin
156ce2e41b fix pdf 2026-02-12 15:29:15 +01:00
Admin
1ba7b2f7fe First 2.0 2026-02-12 14:52:33 +01:00
Admin
30df081776 task 2026-02-12 14:00:53 +01:00
Admin
52cbec46b2 finish networking api for splash 2026-02-12 13:43:24 +01:00
Admin
f09667328a refactor script<>widget 2026-02-12 12:35:21 +01:00
Admin
988c2d7a77 fix uid uniqueness 2026-02-12 07:21:50 +01:00
Admin
2710bef7a1 widget tree refactor 2026-02-12 07:05:13 +01:00
Admin
56d47582bb cleanup 2026-02-11 17:19:18 +01:00
Admin
bb420272cf better sdf/msdf strategy 2026-02-11 10:43:42 +01:00