raysan5 / raygui

A simple and easy-to-use immediate-mode gui library
zlib License
3.47k stars 298 forks source link

📝 Added a note for define implemention #304

Closed tusqasi closed 1 year ago

tusqasi commented 1 year ago

There was no way to know that this must come before the #include ...

#define RAYGUI_IMPLEMENTATION

So I added some note to the examples, most people will now won't need to google that.

If this isn't needed, no worries. It was just a search and replace not much effort wasted.

raysan5 commented 1 year ago

@tusqasi Sorry, I think there is no need for this comment everywhere, raygui.h header is already clear about how to use the library.