Commit Graph

11 Commits

Author SHA1 Message Date
crazyBaboon
c52193b3f2
icon_load() function not used
This function was not used in this file, so... removed.
2019-09-30 23:58:37 +01:00
Jupiter
b3b0c9ee02
Fix Error 65543: NSGL on macOS
## Forward compatibility (GLFW_OPENGL_FORWARD_COMPAT)
Fix for error 65543 on macOS:
Error `65543`: NSGL: The targeted version of OS X only supports forward-compatible contexts for OpenGL 3.2 and above

Quote from docs:
GLFW_OPENGL_FORWARD_COMPAT specifies whether the OpenGL context should be forward-compatible, i.e. one where all functionality deprecated in the requested version of OpenGL is removed. This must only be used if the requested OpenGL version is 3.0 or above.
2018-04-11 14:40:18 +03:00
vurtun
0b95e3e5a0 Fixed #525 by updating canvas example 2017-09-23 14:53:55 +02:00
Rokas Kupstys
25e6ba2597 Fix examples to use nk_vec2 in nk_input_scroll() calls. 2017-03-30 13:46:39 +03:00
vurtun
bd3fd8300f Pulled panel memory managment into nuklear
I simplified a lot of API calls by pulling panel memory management
inside the library. All API calls which previously required a panel
as parameter are now handling their panel themself.
2016-10-29 23:28:47 +02:00
vurtun
7279f0f0cc Updated examples to new vertex layout API 2016-09-04 10:02:28 +02:00
vurtun
727b912390 Update canvas example with background color arg
`nk_canvas_begin` now takes a background color directly instead of
requiring the user of the API to clear the window background with
another draw call.
2016-08-26 19:48:04 +02:00
kim yongbin
b54bc88e47 add missing CLFW_PRESS check for GLFW_KEY_RIGHT_CONTROL 2016-08-23 23:00:40 +09:00
vurtun
2dab85fde1 Enhanced the canvas example a little bit
Removed some global varibles and made the canvas a little bit easier
to use and embed into code.
2016-08-15 10:35:42 +02:00
vurtun
4b910e0f31 Update example version numbers 2016-08-07 21:26:53 +02:00
vurtun
ba1ff9c23c Added canvas example
Added another example to show how to use Nuklear to only draw stuff
to the screen instead of using it for UI (or both).
2016-05-27 13:27:29 +02:00