iacore
iacore
partially fixes #58 as mentioned in https://github.com/david-vanderson/dvui/issues/58#issuecomment-1898322338, the cursor for `cursor_resize_bottom_right` I picked the best, but still looks wrong. This is a SDL2 problem. current (in dvui, this patch): Yes,...
Let's say I have the following code. ``` try dvui.label(@src(), "domain", .{}, .{}); var txt_domain = try dvui.textEntry(@src(), .{ .text = &this.b_domain }, .{}); txt_domain.deinit(); ``` this is what it...
No API to affect style of direct or recursive child widgets|gravity does not affect direct children
Coming from CSS Flexbox, this is a bit strange to me. [Having only global default for gravity](https://github.com/david-vanderson/dvui/blob/811e8d93f9f55c0a16d18d45e61a2db646198b52/src/Options.zig#L61-L65) is strange. Currently you have to [pass gravity to each widget](https://github.com/david-vanderson/dvui/blob/811e8d93f9f55c0a16d18d45e61a2db646198b52/src/Examples.zig#L702-L748). I think...
cannot lighten black `0 * (1 + y) == 0` https://github.com/david-vanderson/dvui/blob/811e8d93f9f55c0a16d18d45e61a2db646198b52/src/Color.zig#L28-L35
`MIR_get_global_item` was in `mir.h` but missing definition in `mir.c`. This patch tries to add its definition.
Currently, `MIR_scan_string` and `MIR_read` can only read complete modules, not a function or standalone MIR instructions. Since MIR has both text and in-memory representation, I thought the C API should...
Pass all test. I'm not sure what the best API would be. At least `MIR_scan_string_s` should be safer. More improvement opportunities: Once it is sure that no \0 is in...
This will make this repo a Zig package. TODO - [ ] configurable -DXXXX
Goal: Closes #923