rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Everything has quit [Server closed connection]
Everything has joined #ocaml
bibi_ has joined #ocaml
bibi_ has quit [Ping timeout: 240 seconds]
xd1le has joined #ocaml
Serpent7776 has joined #ocaml
rgrinberg has joined #ocaml
chrisz has quit [Ping timeout: 240 seconds]
chrisz has joined #ocaml
<discocaml>
<lroche> I had another look today to see how hard it would be to bind Dear ImGui. And raygui is actually meant to build UIs and is also an immediate GUI lib. So it might be a good starting point in a larger number of cases.
<discocaml>
<lroche> But binding ImGui should also not be too difficult. There's a json file which describes the whole C interface. The info is a bit low level, like the return type of `ImGui::GetIO` is `ImGuiIO*`, one would have to parse the string and get the `*` to know that it is a pointer. Nothing that looks impossible
<discocaml>
<lroche> I had another look today to see how hard it would be to bind Dear ImGui. And raygui is actually meant to build UIs and is also an immediate GUI lib. So it might be a good starting point in a large number of cases.
<discocaml>
<lroche> But binding ImGui should also not be too difficult. There's a json file which describes the whole C interface. The info is a bit low level, like the return type of `ImGui::GetIO` is `ImGuiIO*`, one would have to parse the string and get the `*` to know that it is a pointer. Nothing that looks impossible
bibi_ has joined #ocaml
<companion_cube>
Still not very easy
<companion_cube>
I had partial bindings going if you're interested
<companion_cube>
But it's also hard because everything is passed by ref and modified, in ocaml you'd probably have to translate that into passing a value and returning it?
<discocaml>
<lroche> is there a lot of mutation actually going on?
<companion_cube>
In dear imgui, yes, I think
<companion_cube>
Passing pointers to bool, ints, vec2, etc
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bibi_ has quit [Ping timeout: 240 seconds]
rgrinberg has joined #ocaml
bartholin has quit [Quit: Leaving]
bibi_ has joined #ocaml
GreaseMonkey has quit [Server closed connection]
greaser|q has joined #ocaml
xd1le has quit [Remote host closed the connection]
John_Ivan has quit [Read error: Connection reset by peer]
John_Ivan has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
yziquel has quit [Ping timeout: 245 seconds]
octachron has quit [Server closed connection]
octachron has joined #ocaml
bibi_ has joined #ocaml
yziquel has joined #ocaml
John_Ivan has quit [Quit: Disrupting the dragon's slumber one time too often shall eventually bestow upon all an empirical and indiscriminate conflagration that will last for all goddamn eternity.]
John_Ivan has joined #ocaml
xmachina has quit [Quit: WeeChat 4.0.4]
xmachina has joined #ocaml
Armael has quit [Server closed connection]
Armael has joined #ocaml
xmachina has quit [Quit: WeeChat 4.0.4]
waleee has joined #ocaml
xmachina has joined #ocaml
ec has quit [Remote host closed the connection]
ec has joined #ocaml
yziquel has quit [Quit: Client closed]
bibi_ has quit [Ping timeout: 245 seconds]
lilata has quit [Quit: bye]
xmachina has quit [Quit: WeeChat 4.0.4]
arrpa has joined #ocaml
lilata has joined #ocaml
waleee has quit [Ping timeout: 240 seconds]
lilata has quit [Client Quit]
lilata has joined #ocaml
waleee has joined #ocaml
TrillionEuroNote has joined #ocaml
bibi_ has joined #ocaml
waleee has quit [Ping timeout: 245 seconds]
Serpent7776 has quit [Ping timeout: 240 seconds]
humasect has joined #ocaml
humasect has quit [Client Quit]
bartholin has quit [Quit: Leaving]
yziquel has joined #ocaml
waleee has joined #ocaml
arrpa has quit [Quit: Client closed]
yziquel has quit [Quit: Client closed]
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]