Commit graph

2,205 commits

Author SHA1 Message Date
Admin
646f1b5888 image works 2026-01-30 19:31:42 +01:00
Admin
5aecc49eb0 svg icons on buttons 2026-01-30 18:43:14 +01:00
Admin
0914a36756 clean out the button shader a bit 2026-01-30 17:43:43 +01:00
Admin
b4a9e14fbc fix up postfix methods for concise style shaders 2026-01-30 17:16:02 +01:00
Admin
4852ddfb6f fix up postfix methods for concise style shaders 2026-01-30 17:02:38 +01:00
Admin
d906fc094f button is back! 2026-01-30 16:17:45 +01:00
Admin
ae33cf2322 button is back! 2026-01-30 16:13:32 +01:00
Admin
72f8b5378f add proper pod*pod operator support 2026-01-30 16:07:28 +01:00
Admin
638bf3a180 fix font quickly 2026-01-30 15:22:37 +01:00
Admin
a77f0f9ca0 DSL substructure assign even cleaner 2026-01-30 15:15:55 +01:00
Admin
9218299996 DSL substructure assign even cleaner 2026-01-30 15:08:33 +01:00
Admin
480b6cb2a2 added label 2026-01-30 14:58:03 +01:00
Admin
7133034f8b updated zune libraries to latest 2026-01-30 14:01:42 +01:00
Admin
4bd7275075 make deps optional 2026-01-30 13:49:15 +01:00
Admin
49d5827ce3 reduce monomorphisation costs 2026-01-30 13:18:57 +01:00
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