Questions tagged [glui]

GLUI is a GLUT-based C++ user interface library which provides controls such as buttons, checkboxes, radio buttons, and spinners to OpenGL applications.

GLUI is a -based user interface library which provides controls such as buttons, checkboxes, radio buttons, and spinners to applications. It is window-system independent, relying on GLUT to handle all system-dependent issues, such as window and mouse management.

Features of the GLUI User Interface Library include:

  • Complete integration with GLUT toolkit
  • Simple creation of a new user interface window with a single line of code
  • Support for multiple user interface windows
  • Standard user interface controls such as:
    • Buttons
    • Checkboxes for boolean variables
    • Radio Buttons for mutually-exclusive options
    • Editable text boxes for inputting text, integers, and floating-point values
    • Spinners for interactively manipulating integer and floating-point values
    • Static text fields
    • Panels for grouping sets of controls
    • Separator lines to help visually organize groups of controls
  • Controls can generate callbacks when their values change
  • Variables can be linked to controls and automatically updated when the value of the control changes ("live variables")
  • Controls can be automatically synchronized to reflect changes in live variables
  • Controls can trigger GLUT redisplay events when their values change
  • Layout and sizing of controls is automatic
  • Controls can be grouped into columns
  • User can cycle through controls using Tab key

Resources

24 questions
3
votes
1 answer

table creation using glui

Is it possible to create table(mathematical table not kitchen table) by using glui? Please specify the function, if possible. Thanks in advance.
Shweta
  • 5,198
  • 11
  • 44
  • 58
3
votes
1 answer

Linker error: undefined reference to `GLUI_Master'

This is my first post. (Sorry if I missed something.) (In C++, Dev-C++ IDE) So, I made a gl/glu/glut project, and had no problems/errors, right? After that, I added the header #include And compiled. Still no errors. Following that, I…
2
votes
2 answers

Changing size of glui window

Can anyone tell me if there is any function for changing size of glui window? Also do anyone have any idea about how to add scroll bars to glut window? Thanx in advance.
Shweta
  • 5,198
  • 11
  • 44
  • 58
2
votes
1 answer

Get value of radio group on C++

I'm using C++ to create a GLUI window. I have a radio button, and I am trying to get the two options I have to have different callbacks. For now, this is my code: radio = glui->add_radiogroup_to_panel(panel_1, NULL, …
L.R.
  • 423
  • 2
  • 5
  • 15
1
vote
0 answers

Fix 'no matching function for call to ...' error?

I'm trying to run this .cpp file in Codeblocks (only change is adding #include for windows.h to beginning). It uses OpenGL, GLUT, and GLUI. I think I've gotten OpenGL and GLUT to work in Codeblocks but GLUI is still giving me some issues. At first,…
atlanif
  • 11
  • 1
1
vote
1 answer

nested glui windows

I am new to glui. I want to ask can glui windows be nested? Is it possible to make a glui subwindow, subwindow of a glui window? Can glui windows overlap each other? Thanx in advance
Shweta
  • 5,198
  • 11
  • 44
  • 58
1
vote
1 answer

How can I display text and some points using OpenGL/GLUT?

This project compiles and runs, but there is nothing appearing in the window. It is supposed to display some text and an area with some points. Could anyone help me fix this? Here is my code: #include #include #include…
TommyGhat
  • 11
  • 5
1
vote
2 answers

How to include GLUI framework in makefile on macbookpro?

I am using macbook pro that runs on OS X Yosemite 10.10.1. I downloaded and installed GLUI 2.35 framework from here GLUI 2.35 and wrote a makefile to rum my c++ program but I got an error the no can be found so I made a directory and…
Urler
  • 500
  • 3
  • 8
  • 23
1
vote
1 answer

Visual C++ 2010 - multiple unresolved externals errors after copy project to other computer

I wrote a C++ program using OpenMP. I was using it on my laptop without problems. Now i want to run it on my other computer (with better CPU). I copied project and all libraries (i use GLUT and GLUI), but when i try to run program i get a lot of…
Zuku
  • 1,030
  • 13
  • 21
1
vote
1 answer

OSX : Symbols not found for architecture i386

I have the following makefile that uses C++ and OpenGL. It was compiling at all, so I added the -m32 line in order to attempt to get it to compile in x86_64. Now I'm getting the same error but it's saying i386 instead. What can I do to get this…
UndefinedReference
  • 1,223
  • 4
  • 22
  • 52
0
votes
0 answers

Why does not let me draw rectangle the subwindow in glut?

So my task is to create a subwindow system which I give the coordinates (xmin,ymin,xmax,ymax) by the glui system I create when I push the start button, to draw a rectangle on each side, but it seems not working the draw? here is my attempt: #include…
0
votes
1 answer

Can't figure out how to install a C++ library (GLUI) on linux Mint

I have been trying forever to install this: https://github.com/libglui/glui on my Linux mint distribution. I usually install stuff with the command line, and am a novice at manually installing libraries. Basically, I download the Github repo, ran…
Cool guy
  • 1
  • 1
0
votes
1 answer

C2252 error when building GLUI with VS2017?

I downloaded GLUI 2.36 and set out to build the Visual Studio project in VS 2017, Windows 10. After getting the GLUT libraries correctly installed, I still get the following compile-time…
Joymaker
  • 813
  • 1
  • 9
  • 23
0
votes
1 answer

using glui menubar

I am new to glui. I am not able to create glui menubar. Whenever I create a glui menubar I get following errors: 1.cpp:13: error: expected constructor, destructor, or type conversion before ‘*’ token 1.cpp: In function ‘void…
Shweta
  • 5,198
  • 11
  • 44
  • 58
0
votes
1 answer

glui setting button width

I have a problem with glui code, which is as follows: glui=GLUI_Master.create_glui_subwindow(main_window,GLUI_SUBWINDOW_TOP); b1 =…
user513164
  • 1,788
  • 3
  • 20
  • 26
1
2