Zig bindings for orca (still WIP) #140

Open
rdunnington wants to merge 24 commits from zig_ffi into main

24 Commits

Author SHA1 Message Date
Ilia Demianenko f1727dbc8d Text box arena, ui init func 2023-10-04 19:40:02 -07:00
Ilia Demianenko 30d45cd7fd Comptime enum counts, namespace UI, clarify names/labels 2023-10-03 20:22:43 -07:00
Ilia Demianenko fd308f9a3a Zig UI demo 2023-10-03 02:00:20 -07:00
Reuben Dunnington 47cba86c03
zig bindings: oc_surface_render_commands 2023-10-02 20:18:33 -07:00
Reuben Dunnington 024a528afa
zig sample:
* generate a gradient image and draw it
* rbga8 color helpers and some const tweaks
2023-10-01 14:56:32 -04:00
Reuben Dunnington c31c81bd9c
zig bindings: minor API cleanup
* deleting invalid function binding
* minor reorg stuff
2023-09-30 21:53:55 -04:00
Reuben Dunnington 23378edfec
zig bindings: namespace File data types and Io data/functions 2023-09-30 21:40:30 -04:00
Reuben Dunnington 49213353fc
zig bindings: namespace clock/canvas functions 2023-09-29 23:42:10 -04:00
Reuben Dunnington 3e6cd07b34
revert const changes to oc_font_create_from_*
* Martin has said the orca style is to avoid const, so we will avoid adding it where it isn't already present
* Zig bindings doesn't need the corresponding C function to have const-decorated types
2023-09-29 23:15:01 -04:00
Reuben Dunnington eb60729721
zig bindings: string refinements/bugfixes 2023-09-29 23:03:24 -04:00
Reuben Dunnington 9c4e2125c1
fleshing out oc_str* zig bindings 2023-09-29 20:14:51 -04:00
Reuben Dunnington d46c00f0ec
zig bindings: fixup some string list types 2023-09-29 20:13:39 -04:00
Reuben Dunnington 1af327d353
zig-sample: add README 2023-09-29 20:13:39 -04:00
Reuben Dunnington 7a91ba471e
zig-sample: fix build.zig to use correct cpu feature set 2023-09-29 20:13:38 -04:00
Reuben Dunnington db2828141f
adding more orca zig bindings 2023-09-29 20:13:38 -04:00
Reuben Dunnington 4fb25d1d49
wip zig orca bindings 2023-09-29 20:13:38 -04:00
Reuben Dunnington aa22491eb6
wip zig bindings 2023-09-29 20:13:38 -04:00
Reuben Dunnington e06e735902
wip zig orca bindings 2023-09-29 20:13:38 -04:00
Reuben Dunnington 5999429838
rename calc-zig to zig-sample 2023-09-29 20:13:38 -04:00
Reuben Dunnington ee2d14e0e7
wip orca zig bindings 2023-09-29 20:13:37 -04:00
Reuben Dunnington b85efa4bc7
fix oc_get_host_platform declaration 2023-09-29 20:13:37 -04:00
Reuben Dunnington bded79d363
zig proof of concept is working 2023-09-29 20:13:37 -04:00
Reuben Dunnington 02c1938a43
wip trying to get orca wasm binary to build 2023-09-29 20:13:37 -04:00
Reuben Dunnington 0fd255682d
wip zig orca sample 2023-09-29 20:13:35 -04:00