Matti
Matti
> In other words the API has nothing to do with your decision to instantiate a variable holding the pointer. Yes, so one can call nk_xlib_init without taking note of...
So based on the previous message one can also replace the respective parts in the code with: `nk_xlib_init(xw.font, xw.dpy, xw.screen, xw.win, xw.width, xw.height);` (not saved to a pointer) `nk_input_begin(&xlib.ctx);` and...
Again the info on this is scattered, since I found: https://github.com/vurtun/nuklear/blob/master/demo/x11_rawfb/main.c#L182 that related `nk_xlib_init()` to framebuffer, which I understand from the context of OpenGL (https://stackoverflow.com/a/9759063). However, here: https://github.com/Immediate-Mode-UI/Nuklear/blob/60c52adfafceb478e9fee571a23e453c0c3df062/demo/x11/nuklear_xlib.h#L614 it seems...
It seems that the "just a window" `main.c` is sort of like the following: ``` /* nuklear - v1.32.0 - public domain */ #include #include #include #include #include #include #include...
Do you really say that the following is not wrapping? https://github.com/Immediate-Mode-UI/Nuklear/blob/60c52adfafceb478e9fee571a23e453c0c3df062/demo/x11/nuklear_xlib.h#L527 > A wrapper function is a subroutine (another word for a function) in a software library or a computer...
+1 I'm currently struggling to understand how the bitwise comparisons of the kind `someflag & some NK_ flag`, e.g. `layout->flags & NK_WINDOW_ROM`, are used. Also, statements like: `NK_INBOX(i->mouse.pos.x,i->mouse.pos.y, g->slots[slot].last.x-3, g->slots[slot].last.y-3,...
> It is the source of the "compiled" header. You edit the source files to make changes to Nuklear, and generate the single header file for usage. Oh yes: https://github.com/Immediate-Mode-UI/Nuklear/blob/master/src/Readme.md...
...continues... ``` default: Current default time zone: 'Etc/UTC' default: Local time is now: Wed Jan 25 07:47:59 UTC 2023. default: Universal Time is now: Wed Jan 25 07:47:59 UTC 2023....
Okay fixed by doing: `LD_LIBRARY_PATH=./` `export L_LIBRARY_PATH` `gcc main.c wave.c -L. -lsonic`
But now I got stuck in trying to compile this with spectrogram.c and kiss_fft. I found no instructions for this.