Pop-up menu under GLFW?

Is it possible to enable pop-up menu when you right click the mouse under GLFW?.In GLUT it is possible.
Is GLUT Open source?

Originally posted by kng:
Is it possible to enable pop-up menu when you right click the mouse under GLFW?.In GLUT it is possible.
Is GLUT Open source?

I’m not sur about the answer to the first,
but I know the second is “no”. Mark Kilgard
maintains the copyright and has prevented
people from releasing non sanctioned
versions of his library.

Regards,
Jim

The answer to the first question is: no.

GLFW is not meant to be a pure GLUT replacement. GLUT has some features that are nice when developing small programs (the popup menus, embedded font support and geometrical shapes are examples of this). GLFW will probably never have similar functionality. You can either simply poll for specific keys (and supply a readme.txt file with your app telling what the different keys do), or add a more sophisticated GUI-like layer that runs under OpenGL.

Originally posted by kng:
Is it possible to enable pop-up menu when you right click the mouse under GLFW?.In GLUT it is possible.
Is GLUT Open source?

Or try a library that is free source, is
a glut replacement, and offer’s popup and
standard menuing. For example Cpw .

Which also happens to offer -

  • excellent high performance timing
  • anti-aliased TrueType fonts
  • Full windowing support
  • multiple contexts
  • primitives library
  • direct keyboard and mouse state access
  • on win32 DirectInput support
  • common image format loading and saving
  • screenshoting
  • auto OpenGL 1.2, 1.3 and extension support

Ok, enough of that. you get the picture.

Regards,
Jim