Commit graph

2,140 commits

Author SHA1 Message Date
Admin
c8f8c24dbe cleanup 2026-01-30 11:02:13 +01:00
Admin
f5e77f9518 we have a window again! 2026-01-30 10:38:40 +01:00
Admin
354876ad66 add script wrappers to window/pass 2026-01-30 10:20:45 +01:00
Admin
5e54cba2ff widget refactor otw 2026-01-30 09:17:14 +01:00
Admin
a4302bc5fb oops\ 2026-01-29 19:08:12 +01:00
Admin
4cf3c59ee7 clean up view_ui 2026-01-29 18:10:40 +01:00
Admin
3db3189466 add shader error handling 2026-01-29 17:41:23 +01:00
Admin
8c5fb84365 custom handling of value casting 2026-01-29 17:26:37 +01:00
Alex
a6708b6a7e fix: rename Math widget to MathView to avoid shader namespace collision (#848)
The `pub Math` DSL registration in math_widget shadows the shader
built-in `Math` namespace (defined in draw/src/shader/std.rs), which
provides `Math::random_2d` and `Math::rotate_2d`. This causes runtime
shader compilation errors in every widget that uses `Math::random_2d`
for color dithering (Slider, Button, Label, CheckBox, Icon, TextInput,
Tab, LinkLabel, PopupMenu, DropDown, RadioButton, View).

Rename the widget DSL name from `Math` to `MathView`, consistent with
Makepad naming conventions (CodeView, CircleView, RoundedView, etc.).
The Rust struct remains `Math` — only the DSL registration name changes.

Downstream users need to update:
  `inline_math = <Math> {}` → `inline_math = <MathView> {}`
  `display_math = <Math> {}` → `display_math = <MathView> {}`

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 17:14:09 +01:00
Admin
49dfb5fb16 cleanupt 2026-01-29 17:03:55 +01:00
Admin
43a81759a6 view almost there 2026-01-29 16:28:49 +01:00
Admin
45b0539235 error type compaction 2026-01-29 13:14:51 +01:00
Admin
374850deb4 add more detailed type errors 2026-01-29 12:58:45 +01:00
Admin
dcb4ef4f22 add more detailed type errors 2026-01-29 12:48:39 +01:00
Admin
1414b74397 add nice errors to script engine and shader compiler 2026-01-29 12:34:46 +01:00
Admin
4c334b080f script error refactor done 2026-01-29 11:24:01 +01:00
Admin
a3dfcb0bc5 script error refactor otw 2026-01-29 10:17:45 +01:00
Admin
49f48f1907 basic animator working 2026-01-28 18:38:58 +01:00
admin
702e321402 animator otw 2026-01-28 16:25:03 +01:00
Admin
e949a1319d fix proto fields 2026-01-28 12:11:15 +01:00
Admin
71d6705abc add apply_default for animator 2026-01-28 11:01:55 +01:00
Admin
1da77e6446 working scrollbar 2026-01-27 19:34:02 +01:00
Admin
925b169233 slider works 2026-01-27 17:45:02 +01:00
Admin
fcbd13a953 animator otw 2026-01-27 15:54:21 +01:00
Admin
5ef1ac269f preparing animator 2026-01-27 14:45:10 +01:00
Admin
7cf26f922c theme refactor 2026-01-27 09:51:23 +01:00
Admin
322dad1b3e refactor apply 2026-01-27 09:10:31 +01:00
Admin
16b344078b rename Apply 2026-01-26 20:37:41 +01:00
Admin
69beca87d0 splat operator 2026-01-26 19:51:02 +01:00
Admin
56e2acdb1c proto field += 2026-01-26 18:14:48 +01:00
Admin
cc85765d86 proto field fonr 2026-01-26 17:59:32 +01:00
Admin
05a2476076 proto field otw 2026-01-26 16:27:17 +01:00
Admin
9d44625a33 add support for scope uniforms 2026-01-26 12:10:37 +01:00
Admin
32300b1ec0 theme uniform buffers 2026-01-26 11:10:16 +01:00
Admin
f0ff8cdeaf theme uniform buffers 2026-01-26 10:53:34 +01:00
Admin
9c4e70a648 theme methods 2026-01-26 10:26:42 +01:00
Admin
5e5757c441 theme vars otw 2026-01-26 09:41:00 +01:00
Admin
51f8b5a57e widgets2 barebones 2026-01-24 10:43:02 +01:00
Admin
9030a28f2b shader compiler bits 2026-01-23 16:06:38 +01:00
Admin
bac30d1273 shader compiler bits 2026-01-23 15:59:28 +01:00
Admin
1fca2fbd61 text renders! 2026-01-23 15:26:13 +01:00
Admin
039e7ee24a apple block oops 2026-01-23 10:49:26 +01:00
Admin
e84a6e5858 resource handling otw 2026-01-23 10:47:42 +01:00
Admin
0b70eb97be windows compiles again 2026-01-22 15:41:19 +01:00
Admin
05f2aebc80 split up refactor 2026-01-22 15:29:25 +01:00
Admin
dbb9a2857e draw text compiles on metal 2026-01-22 11:24:12 +01:00
Kevin Boos
36c88b79d3 Expose whether a native LongPress has occurred before a FingerMove (#846)
This bit of info was already tracked, but it wasn't exposed by the
`FingerMoveEvent` struct.

Doing so will allow widgets to differentiate between a gesture like
long-press then drag (for drag-n-drop) vs. just a regular drag
(for something like finger-based scrolling).
This is useful in TextInput, Dock, and any view that may respond
differently to a drag vs a "select then drag".
2026-01-22 08:49:49 +01:00
Kevin Boos
a850b416bd Hide the Tooltip widget upon any click/tap, drag, or scroll event (#844)
* Hide the `Tooltip` widget upon any click/tap, drag, or scroll event

* Tooltip: handle raw events directly as to not impact `Hit` consumption
2026-01-21 19:41:31 +01:00
admin
f25dd40696 draw text otw 2026-01-21 17:00:45 +01:00
admin
96cb7ed0aa working instance values 2026-01-21 15:06:35 +01:00