xEricL

Results 25 comments of xEricL

> Maybe `(*MasterWindow).SetPos(...)` can help here I tried that, but where should I get x,y from? I tried giu.GetAvailableRegion() but I keep getting a segment violation.

@gucio321 I just figured out I can do it with this: ```go window = giu.NewMasterWindow("title", 377, 144, 0) monitor := cimgui.CurrentPlatformIO().Monitors() ws := monitor.Data.WorkSize() centerX := (ws.X - float32(377)) /...

> I've a suggestion for your project: make sure your `style.go` does not use AllenDang/**imgui-go** - you need AllenDang/**cimgui-go** @gucio321 I've made sure to update my style.go. I've pushed the...

Even if I comment out the progress bar and only load the image by itself, the SIGSEV occurs. It is almost certainly caused by `giu.ImageWithRgba`.

Replacing `giu.ImageWithRgba` with `giu.ImageWithURL` fixes the issue. Not an ideal solution but will have to do in the meantime. This is probably a lower-level issue with [cimgui-go](https://github.com/AllenDang/cimgui-go).

That is very interesting. I just tested it in a Debian 11 Virtual Machine and it compiled and ran no problem. Perhaps it's just an issue with Fedora 40 or...

> You use wayland or xorg? And what gpu? I'm on xorg. GPU is NVIDIA 2060S.

It likely has something to do with NVIDIA drivers for Fedora 40. Very weird that `giu.ImageWithURL` and `giu.ImageWithFile` work just fine. I decided to just go with `giu.ImageWithFile`. Perhaps it...

The weird thing is that my cross-compiling worked when my app was using Giu v0.7 but when I upgraded to Giu v0.8 + cimgui it broke, so I was thinking...

@gucio321 Is there a reason `cimgui.a` in `/lib/windows/x64/` isn't following the naming convention for libraries? Like how glfw3 is called `libglfw3.a` and SDL2 is called `libSDL2.a`? I figured out how...