glutButtonBoxFunc(3GLUT) GLUT glutButtonBoxFunc(3GLUT)NAME
glutButtonBoxFunc - sets the dial & button box button callback for the current window.
void glutButtonBoxFunc(void (*func)(int button, int state));
func The new button box callback function.
glutButtonBoxFunc sets the dial & button box button callback for the current window. The dial & button box button callback for a window is
called when the window has dial & button box input focus (normally, when the mouse is in the window) and the user generates dial & button
box button presses. The button parameter will be the button number (starting at one). The number of available dial & button box buttons can
be determined with glutDeviceGet(GLUT_NUM_BUTTON_BOX_BUTTONS). The state is either GLUT_UP or GLUT_DOWN indicating whether the callback was
due to a release or press respectively.
Registering a dial & button box button callback when a dial & button box device is not available is ineffectual and not an error. In this
case, no dial & button box button callbacks will be generated.
Passing NULL to glutButtonBoxFunc disables the generation of dial & button box button callbacks. When a new window is created, no dial &
button box button callback is initially registered.
glutDialsFunc, glutDeviceGet, glutSpaceballButtonFunc, glutTabletButtonFunc
Mark J. Kilgard (firstname.lastname@example.org)
GLUT 3.7 glutButtonBoxFunc(3GLUT)
Check Out this Related Man Page
glutDialsFunc(3GLUT) GLUT glutDialsFunc(3GLUT)NAME
glutDialsFunc - sets the dial & button box dials callback for the current window.
void glutDialsFunc(void (*func)(int dial, int value));
func The new dials callback function.
glutDialsFunc sets the dial & button box dials callback for the current window. The dial & button box dials callback for a window is called
when the window has dial & button box input focus (normally, when the mouse is in the window) and the user generates dial & button box dial
changes. The dial parameter will be the dial number (starting at one). The number of available dial & button box dials can be determined
with glutDeviceGet(GLUT_NUM_DIALS). The value measures the absolute rotation in degrees. Dial values do not ``roll over'' with each com-
plete rotation but continue to accumulate degrees (until the int dial value overflows).
Registering a dial & button box dials callback when a dial & button box device is not available is ineffectual and not an error. In this
case, no dial & button box dials callbacks will be generated.
Passing NULL to glutDialsFunc disables the generation of dial & button box dials callbacks. When a new window is created, no dial & button
box dials callback is initially registered.
Mark J. Kilgard (email@example.com)
GLUT 3.7 glutDialsFunc(3GLUT)
I need to open a port in linux to allow a connect() from another box to succeed. I have the linux box listening on port 3000 on INADDR_ANY, and a Windows box does a connect to the IP of the linux box on that same port. The Linux box refuses the connection. I think it's because all the ports are... (9 Replies)
I have upgraded my old RedHat 6.2 box to RedHat 7.3. I had couple hundreds of users on that box so i just migrated all the user account to a new box by transfering home directories, and appending to /etc/passwd /etc/shadow /etc/group. I have preserved all permittions. Everything works... (8 Replies)
Just for the record: I am a Mac User.
But I believe my question is a simple UNIX FBSD question.
My problem: I need to learn how to "pick up" the telephone line and dial a number from an Unix shell or shell script execution.
My modem is at /dev/cu.modem
Why I need it?
I... (12 Replies)
I have aquired a load of old Wyse dumb terminals. I have a Linux system set up that I want to be the host for all of these. Now, I know these don't use cat5 or standard networking. They are all done through serial (com) ports. However, I researched this more and found a converter... (25 Replies)
just as the title says.
#General Rule Sets
/sbin/ipfw add 0300 check-state
/sbin/ipfw add 0301 deny tcp from any to any in established
/sbin/ipfw add 0302 pass tcp from any to any out setup keep-state
/sbin/ipfw add 0303 pass udp from any to any out
/sbin/ipfw add 0400... (11 Replies)
I have a box running SUSE SLES 8 and in the past few months the box will randomly spawn thousands of instances of /USR/SBIN/CRON to the point where the box will lock up entirely. Upwards of 14000 instances! I imagine it's using up all of the available files that can be opened at one... (10 Replies)
We have a power supply in an x4100 (x86) and it seems to be faulty but it is still working!?! (this box only has one PSU). We are getting Orange flashing warning light on the front of the box and the LED labelled “rear PSu” is solid orange ...We don't seem to have had any syslog error... (8 Replies)
We have a test box in solaris and some of 20 servers in prod. The problem is i can ping from test box to all prod box, but can't to ssh to prod box. If i try from prod to test box it giving unknown host error, SO what i need to check in test box
I did ps -ef |grep ssh it showing ssh is running
... (15 Replies)
Am using the following command to add a user in Unix box
useradd -d <default_path> -g 90 -p <pwd for the user> <user_name>
But am getting an error while using this command by root user.Let me know if this cmd is right or else is there any other command to add a user in unix... (9 Replies)
We have a SCO box running OpenServer 5.0.5. This has our business software on it (15 users connecting via terminal emulator (ansio lite)) which has been running for about 12-15yrs strong!
Within the past 6-8 months, at random times of the day, we've been loosing connection to this box. ... (8 Replies)
I have Solaris-9, Sun Fire V1280 with uptime of 501 Days. My Big brother monitoring showing me 90% + memory utilization on this box. Since this is production box, I can not reboot it. Is there way to know, what is consuming so much ? It is affecting my other environment on the box.... (16 Replies)
I have on script1 which provide the output text...
I want to make box around that output to make it more beautiful.
As the output lines for the script1 are not fixed, I can not hard code the design pattern.
Can anyone provide me the code to make design.?
... (9 Replies)