Post AmSLjdCjilWwR8MUdc by ul@kanye.aiwnios.com
 (DIR) More posts by ul@kanye.aiwnios.com
 (DIR) Post #AmSFoOUBGxXiViPQCO by nyanide@lab.nyanide.com
       2024-09-28T07:12:40.338635Z
       
       3 likes, 2 repeats
       
       all the c GUI libs kind of suck lol
       
 (DIR) Post #AmSFrPxOG91HwSVtBo by nyanide@lab.nyanide.com
       2024-09-28T07:13:13.431701Z
       
       0 likes, 1 repeats
       
       except for raylib and this other thing i just found called nuklear but it's not in the openbsd ports and I'm too paranoid to go outside of that
       
 (DIR) Post #AmSFtJlQFvYnJVozuy by sysrq@lab.nyanide.com
       2024-09-28T07:13:32.261026Z
       
       1 likes, 2 repeats
       
       @nyanide They're all terrible, I hate all of them, especially the Windows API.
       
 (DIR) Post #AmSHbNhZ4nooDqalsm by meeper@mai.waifuism.life
       2024-09-28T07:32:20.658Z
       
       1 likes, 0 repeats
       
       @nyanide@lab.nyanide.com raylib isn't a gui lib dummyand Nuklear is a very different thing and it doesn't make sense to put it in ports as you  bundle it with the source
       
 (DIR) Post #AmSHjfAM1ofAhh0VTk by meeper@mai.waifuism.life
       2024-09-28T07:33:50.425Z
       
       1 likes, 0 repeats
       
       @nyanide@lab.nyanide.com basically nuklear is a set of functions defined in a single header file which renders ui elements on any gui library which provides the suitable basics but you have to define the equivalents
       
 (DIR) Post #AmSHqn5gxjYvJEE1Zo by nyanide@lab.nyanide.com
       2024-09-28T07:35:15.452115Z
       
       0 likes, 1 repeats
       
       @meeper more specifically raygui
       
 (DIR) Post #AmSHyLs62yMJCsTI00 by meeper@mai.waifuism.life
       2024-09-28T07:36:29.713Z
       
       1 likes, 0 repeats
       
       @nyanide@lab.nyanide.com that seems to be basically the same thing as nuclear (and IMGUI which was mentioned in it's source which is another popular thing of this kind) but probably much more raylib focused
       
 (DIR) Post #AmSIAcwKPgutcNIukS by meeper@mai.waifuism.life
       2024-09-28T07:38:42.685Z
       
       1 likes, 0 repeats
       
       @nyanide@lab.nyanide.com Immediate mode and retained mode are actually kinda different things and it would be good if you take a read at
       
 (DIR) Post #AmSKn8vg7pNbkCUfdQ by pernia@cum.salon
       2024-09-28T08:08:29.060772Z
       
       0 likes, 1 repeats
       
       @meeper @nyanide so its like a widget library that lies on top of other gui libs? Like libx11/wayland?
       
 (DIR) Post #AmSLY5BDsmsvj69AsC by meeper@mai.waifuism.life
       2024-09-28T08:16:33.670Z
       
       1 likes, 0 repeats
       
       @pernia@cum.salon @nyanide@lab.nyanide.com yeah its basically, sdl, opengl or even if you have some sort of framebuffer thing on plan9 (and port c99)  a set of functions that for example draws on top of a framebuffer that takes wrappers to functions for basic prkmitives like for example drawing a pixel, triangle or rertangle and holds how and what to draw for the logic loop and widgets
       
 (DIR) Post #AmSLjdCjilWwR8MUdc by ul@kanye.aiwnios.com
       2024-09-28T08:18:44.211397Z
       
       2 likes, 0 repeats
       
       @pernia @nyanide @meeper basically immediate mode gui is sdl/imgui and retained mode gui is gtk/qt, in immediate mode gui you are supposed to draw everything in a frame so you see them used in games
       
 (DIR) Post #AmSOE47UPldAVcY0Iq by pernia@cum.salon
       2024-09-28T08:46:54.804607Z
       
       0 likes, 1 repeats
       
       @ul @nyanide @meeper which graph is which?so in immediate mode u basically wrap around opengl/sdl functions with the library that draw everything you want to see yourself through those functions, while retained mode you use functions from gtk/qt that uses x11 that uses mesa etc.so its like, one ur more direct with rendering and the other use a taller stack of libs?
       
 (DIR) Post #AmSOrJy5QOLixIrrZQ by meeper@mai.waifuism.life
       2024-09-28T08:53:39.019Z
       
       1 likes, 0 repeats
       
       @pernia@cum.salon @ul@kanye.aiwnios.com @nyanide@lab.nyanide.com first one is immediate and the second one is retained immediate mode is where the application constructs the frames and sends it to the library like for example, in every iteration of the loop nuklear makes the window state on the sdl renderer and then the program presents itdSince this is easy to abstract Immediate mode 'libraries' are typically a single header and not tied to a toolkitGtk and qt,basically take high level commands like put a text  box next to this label, write this below that, put it in a scrollbar and gtk and then the basic widgets work with gdk and then it finally renders
       
 (DIR) Post #AmT4nKVPgFE7XUEega by pernia@cum.salon
       2024-09-28T16:43:56.587446Z
       
       0 likes, 1 repeats
       
       @meeper @ul @nyanide mepurr u really need to use periods im lost lmao.ok so immediate mode is app sets up the entire frame of the gui, and sends it to the gui ibrary to render, so that every element in the frame renders at the same time.retained mode app makes library commands that then it sends to the library, which then will turn it into a frame and then render it.so retained mode has the job of making the frame and rendering at the library level, immediate makes the frame at the app level and renders at the library level.is that correct?