Komari Spaghetti
Komari Spaghetti
Hmmm. Here is another question. Is there any value in having an enum array be ordered by tag declaration order? ``` const A = enum { A = 2, B...
Also, maybe this feature requires special initialization syntax: ``` [A]u8 { .A = 0, .B = 1, .C = 2 } ``` This ensures that if someone reorders members of...
Hmmmm. Just look up the `packed enum`s and they're just TODO'ed in the docs, so I have no idea what they are used for. Maybe they'll get endian properties like...
Actually, order matters if you intend to ever treat your enum array as a normal array. ``` const A = enum { A = 2, B = 1, C =...
Seems to me that the actual issue is that some things that look like they shouldn't require semicolons actually do, like: ``` defer if (true) {}; ``` I think it...
One benefit to the approach right now is that windows with titles can use their titles as identifiers, which is convenient (I guess). It is probably also easier for humans...
I can see your point there. Ofc, if one actually wants to be maximally efficient, Nuklear should allow the user to manage the window state themselves. Allowing one to store...
I haven't tested the code, but I've read through it. The code looks good to me though :+1:
Looked at this a bit. It's a little weird that we have a `STYLE` and a `GUI` section of the header, but both sections only contain functions and structs related...
Aah, right. I see what you are going for now. You want a "non-owning" (better name pending) API, as you have an array of floats in memory already and don't...