Re: Nuklear DLL and Wrapper

new topic     » goto parent     » topic index » view thread      » older message » newer message
Icy_Viking said...

//I added the main function() so it would compile/build correctly. 

FYI you do not need a main() function when building a shared library. If the compiler is demanding a main() function from you then something is wrong.

Be warned: Nuklear is an immediate-mode GUI, which means several things:

  • you are responsible for creating the main window and event loop of the application (typically using GLFW, etc.)
  • you are responsible for hooking into the callbacks and drawing everything yourself (typically using OpenGL, etc.)
  • the library is only responsible for the "state" of the user interface, such as text content, window sizes, cursor position, etc.
  • everything happens within the "plane" of the main window, which means menus, buttons, etc. are no longer native experience

Personally I am not a big fan unless you're using it strictly for the GUI elements within a game.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu