Commit graph

639 commits

Author SHA1 Message Date
Admin
3ed6de6cac fix 2026-03-06 09:26:02 +01:00
Admin
3f71a13648 widget tree change 2026-03-03 21:22:58 +01:00
Admin
521b31d132 y flip webgl rendertartet 2026-03-03 09:42:54 +01:00
Admin
e6aed38950 finall fix render glitch 2026-03-02 20:16:29 +01:00
Admin
6c5f2728a9 cleanup 2026-03-01 23:15:39 +01:00
Admin
11859b7a44 makepad studio old 2026-02-28 22:42:57 +01:00
Admin
3ce4f836ef fix 2026-02-28 12:48:06 +01:00
Admin
5b07941f35 plaintext error 2026-02-28 11:40:11 +01:00
Julián Montes de Oca
a41329500b Restore StackNavigation widget, add examples to ui-zoo (#892) 2026-02-26 13:54:36 +01:00
Admin
956471c1a6 counter splash example 2026-02-26 10:08:25 +01:00
Kevin Boos
bb31284475 Fix circle view (#887)
* Fix `CircleView` shader, support true circle shader behavior

Add CircleView examples w/ variety to `uizoo`

* splash example: fix popup notification behavior
2026-02-26 08:17:49 +01:00
admin
ddebd64601 api 2026-02-25 17:14:39 +01:00
Kevin Boos
7bd65ad570 FIx Icon, improve to support IconRotated, expose geom in draw_svg (#883)
* Fix draw_svg to support a rotated Icon. Add `IconRotated` widget.

Fix icon resource paths in `splash` example

* Expose geometry in draw_svg to make icon/svg rotation more efficient

simplifies the code too
2026-02-25 13:05:14 +01:00
Sabin Regmi
6757648426 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
c8ab367b14 little glitches in script engine 2026-02-24 23:32:56 +01:00
Admin
56501e372b cleanup warnings 2026-02-24 21:40:08 +01:00
Admin
f2ea64ce71 edmx 2026-02-24 21:40:08 +01:00
Admin
aae121f31d fix gc issues 2026-02-24 21:40:08 +01:00
Kevin Boos
8512c1d430 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
582af4b271 splice out a makepad-network crate 2026-02-23 23:21:31 +01:00
Admin
251df9ebec fix dx11 memleak 2026-02-23 18:30:26 +01:00
Admin
9cb709f6a5 fix up uizoo 2026-02-23 18:00:19 +01:00
Julián Montes de Oca
0774c184a3 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
4cfac71525 automated click animation 2026-02-22 13:34:00 +01:00
admin
b6c847faf2 theme cleanup 2026-02-21 15:40:12 +01:00
admin
c4a7c3e8d9 fix up theme hook 2026-02-21 15:21:27 +01:00
Admin
88baa3eff8 sortable drawcalls 2026-02-21 10:05:07 +01:00
Admin
e5cc73cfe6 splats without sort yet 2026-02-21 08:43:52 +01:00
Admin
dbbdadbe34 fix 2026-02-20 23:58:48 +01:00
Admin
d0fe4151ac portal list unstuck 2026-02-20 16:05:31 +01:00
Admin
9d86689d07 drawcall ordering and git ui 2026-02-20 15:47:56 +01:00
Julián Montes de Oca
40cad5dd37 Restore IME support (#860)
* Restore IME support

* Remove unused voice handling methods from Window
2026-02-20 14:06:02 +01:00
Admin
f06fce0cee terminal split 2026-02-19 07:18:43 +01:00
Admin
393ad66d27 ui proto 2026-02-18 21:10:25 +01:00
Admin
0e34cca569 fix selection accross items 2026-02-17 21:49:02 +01:00
Admin
da7f681823 fix svg shadows 2026-02-17 21:09:04 +01:00
Admin
9d9b03b72d terminal work/ webp 2026-02-17 18:11:36 +01:00
Admin
3539389693 rounded boxes 2026-02-17 11:38:21 +01:00
Admin
586c1c2cc4 3d charts otw 2026-02-17 10:21:14 +01:00
Admin
2e1f7cdfba instance pbr 2026-02-17 09:56:13 +01:00
Admin
c6dd9ff37c instance pbr 2026-02-17 09:52:04 +01:00
Admin
eff7230231 windows 2026-02-16 22:00:26 +01:00
Admin
6eacc7e132 physics 2026-02-16 18:06:57 +01:00
Admin
548506cd9c gltf example! 2026-02-16 15:51:24 +01:00
Admin
dd1678f9b2 cleanup widget tree 2026-02-15 18:34:42 +01:00
Admin
d4e6c53358 vulkan otw + widget fixes 2026-02-15 16:04:24 +01:00
Admin
aed1eaa4f2 headless otw 2026-02-15 11:48:51 +01:00
Admin
276f4f0c0f web almost there 2026-02-14 22:49:23 +01:00
Admin
a58686a4e9 otw 2026-02-14 22:14:26 +01:00
Admin
41e007acf1 terminal 2026-02-14 09:51:47 +01:00