Nuklear/demo/sfml_opengl3
Ricardo Antonio Tejada 3d77394bd2 Forgot to edit link to point to SFML webpage and not Allegro.. 2017-03-01 22:25:42 -05:00
..
Makefile Almost ready for merge. Need to fix bug with mouse movement. Need to implement clipboard support. Lastly need to write ReadMe on instructions for building. 2017-02-28 19:32:55 -05:00
Readme.md Forgot to edit link to point to SFML webpage and not Allegro.. 2017-03-01 22:25:42 -05:00
main.cpp Dumped the pure SFML folder. Got it working enough to realize that it just ran too slow to continue wasting time on it. SFML creates a OpenGL context anyway so users can drop in the nk_sfml_gl2.h and not need anything else. I'll have to add this in the readme. Tried to make my code as similar to other demos for sake of consistency. 2017-02-23 02:02:59 -05:00
nuklear_sfml_gl3.h Finally! I fixed that bug that I had. sf::Mouse::setPosition was setting the position of the cursor to desktop coordinates not window coordinates. 2017-03-01 17:17:43 -05:00

Readme.md

SFML 2.4 nuklear backend

This backend provides support for SFML 2.4. It will work on all platforms supported by SFML.

Compiling

This backend uses Glad to handle OpenGL extensions. You can download the Glad files used to test this backend from this link or you can create your own loader by visiting the Glad site.

Once SFML and Glad have been installed on your system you have to edit the Makefile provided so that you can build the demo. There are two variables that need to be edited: SFML_DIR and GLAD_DIR. Make these point to your SFML root folder and Glad root folder respectively.

On Linux there is an extra step. You need to install the the udev development files.