Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Pop-up menu under GLFW?

  1. #1
    Junior Member Newbie
    Join Date
    May 2002
    Posts
    2

    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?

  2. #2
    Junior Member Regular Contributor
    Join Date
    Feb 2002
    Posts
    133

    Re: Pop-up menu under GLFW?

    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
    --
    Jim Mathies http://www.mathies.com/

    \"The best way to predict the future is to invent it."

  3. #3
    Advanced Member Frequent Contributor marcus256's Avatar
    Join Date
    Aug 2001
    Location
    Sweden
    Posts
    853

    Re: Pop-up menu under GLFW?

    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.

  4. #4
    Junior Member Regular Contributor
    Join Date
    Feb 2002
    Posts
    133

    Re: Pop-up menu under GLFW?

    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
    --
    Jim Mathies http://www.mathies.com/

    \"The best way to predict the future is to invent it."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •