libglui / glui

GLUI is a GLUT-based C++ user interface library which provides controls such as buttons, checkboxes, radio buttons, and spinners to OpenGL applications. It is window-system independent, using GLUT or FreeGLUT.
Other
200 stars 81 forks source link

Welcome to the GLUI User Interface Library

https://github.com/libglui/glui

Build Status

This distribution contains the latest community-maintained fork of the GLUI Library, now under the ZLIB license.

It is based on the GLUI v2.1 beta version from Paul Rademacher plus changes made in GLUI v2.2 onwards.

The (original) manual is available: glui_manual.pdf.

The (original) GLUI web page is at http://www.cs.unc.edu/~rademach/glui

Releases

Version 2.37, October 15, 2015

Version 2.36, November 4, 2007

Version 2.35, July 7, 2006

Many changes submitted by Orion Sky Lawlor.

Version 2.3, March 22, 2005

That's about it. Enjoy!

If you find yourself with too much time on your hands, the things I think would be most useful for future improvements to GLUI would be:

  1. The GLUI_TextBox and GLUI_Tree definitely need some work, still.
  2. Clipboard integration under Windows/X-Win. I have some code that works on Win32 that I once integrated with GLUI, but I lost that version somewhere. I still have the Win32 clipboard code, though if anyone wants to work on integrating it. I have some X-Win clipboard code, too, but I never got it working quite right.
  3. Remove the dependency on GLUT, making the connection with window system APIs into a more plug-in/adapter modular design.
    So e.g. if you want to use GLUT, you'd link with the GLUI lib and a GLUI_GLUT lib, and call one extra GLUI_glut_init() function or something.

Definitly consider submitting a patch if you've made some nice improvements to GLUI. Hopefully being an LGPL sourceforge project will attract some new interest to the GLUI project.

Bill Baxter
baxter at cs unc edu

JOHN KEW'S ADDITIONS (March 2005)

Thanks to John Kew of Natural Solutions Inc., there are some new widgets. These are demonstrated in example6.cpp.

The new widgets are:

And one other change:

PAUL'S ORIGINAL GLUI 2.0/2.1 README

Welcome to the GLUI User Interface Library, v2.0 beta!

This distribution contains the full GLUI sources, as well as five example programs.

Windows

The directory 'msvc' contains a Visual C++ workspace entitled 'glui.dsw'. To recompile the library and examples, open this workspace and run the menu command "Build:Batch Build:Build". The 3 executables will be in the 'bin' directory, and the library in the 'lib' directory.

To create a new Windows executable using GLUI, create a "Win32 Console Application" in VC++, add the GLUI library (in 'msvc/lib/glui32.lib'), and add the OpenGL libs:

glui32.lib glut32.lib glu32.lib opengl32.lib   (Microsoft OpenGL)

Include the file "glui.h" in any file that uses the GLUI library.

Unix

An SGI/HP makefile is found in the file 'makefile' (certain lines may need to be commented/uncommented).

To include GLUI in your own apps, add the glui library to your makefile (before the glut library 'libglut.a'), and include "glui.h" in your sources.