Can someone help me make a Window appear using Nuklear GUI Library In C++ and on the window I want 2 buttons in the center one above another, and above the buttons I want an Image, and I want the background to be black. I also want it to have it's own custom title bar.
Here is an example on how I want it to look:
I want the first button to open a new file
and I want the second one to also open a new file
here is my code:
/*Importing Packages*/
#include <stdio.h>
#include "Nuklear/src/nuklear.h"
int main() {
}
To create a custom window, you will need to init the nuklear GUI state.
Once your GUI state is initiated, you must create the window rect. To do so, you will have to begin the nuklear GUI and use nk_rect to draw a rectangle.
To create buttons, you must use the
nk_button_label
method, which will draw a button in your nk_content.To view more information I recommend checking out the Nuklear GitHub page as it has plenty of examples that will help you create the design you want.