Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glutdialsfunc(3glut) [osx man page]

glutDialsFunc(3GLUT)						       GLUT						      glutDialsFunc(3GLUT)

NAME
glutDialsFunc - sets the dial & button box dials callback for the current window. SYNTAX
#include <GLUT/glut.h> void glutDialsFunc(void (*func)(int dial, int value)); ARGUMENTS
func The new dials callback function. DESCRIPTION
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. SEE ALSO
glutButtonBoxFunc, glutDeviceGet AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutDialsFunc(3GLUT)

Check Out this Related Man Page

glutButtonBoxFunc(3GLUT)					       GLUT						  glutButtonBoxFunc(3GLUT)

NAME
glutButtonBoxFunc - sets the dial & button box button callback for the current window. SYNTAX
#include <GLUT/glut.h> void glutButtonBoxFunc(void (*func)(int button, int state)); ARGUMENTS
func The new button box callback function. DESCRIPTION
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. SEE ALSO
glutDialsFunc, glutDeviceGet, glutSpaceballButtonFunc, glutTabletButtonFunc AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutButtonBoxFunc(3GLUT)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Exceed - dial in - CDE

Hi folks. I'm curious to see if anyone has had success using Exceed, through a dial in connection, to access the Solaris CDE? Thanks, kristy (6 Replies)
Discussion started by: kristy
6 Replies

2. Cybersecurity

opening ports

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)
Discussion started by: dryheat
9 Replies

3. Post Here to Contact Site Administrators and Moderators

netscape 4.5.1

Were you aware that the forum entries don't show up in netscape 4.5.1. This is true on an NT box and a solaris box. I changed my colors around on my winders box and checked to always use my colors. Unfortunately my company doesn't seem in any hurry to upgrade. It just means I have to ftp code... (7 Replies)
Discussion started by: gillbates
7 Replies

4. UNIX for Advanced & Expert Users

Authentication token error?!?!

Hi all, 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)
Discussion started by: solvman
8 Replies

5. UNIX for Dummies Questions & Answers

How do I dial a number from the terminal window?

Hi Folks, 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)
Discussion started by: fundidor
12 Replies

6. UNIX for Advanced & Expert Users

Multiple (thousands) of Cron Instances

Hey all, 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)
Discussion started by: sysera
10 Replies

7. Linux

CentOS, Fedora & RedHat in 1 box

(23 Replies)
Discussion started by: raybakh
23 Replies

8. Solaris

Faulty PSU - but its still working !?!

Hello 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)
Discussion started by: hcclnoodles
8 Replies

9. UNIX for Advanced & Expert Users

System hanged. help required.

HI, I have a Fedora running box. I am not able to ping/login. I guess it got hanged. Can any one help me how to login to that box with out restart? (8 Replies)
Discussion started by: praveen_b744
8 Replies

10. Solaris

An urgent call for help

I am new with Sun and havn't been working with it for more then a week now, but I have ran into a problem. I have a Sun V210 box with 2 Fujitsu hard drives. I had everything working on the box (solaris 8), but I was told that some more things needed to be configured. Rather then risking messing the... (6 Replies)
Discussion started by: bsdixon
6 Replies

11. Shell Programming and Scripting

User addition in Unix box

Hi All, 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)
Discussion started by: Ashok_oct22
9 Replies

12. UNIX for Advanced & Expert Users

Copy file from unix box to another unix box

Hi, I am new for perl scripting, I need a script to copy a log file /test/test_yyyymmdd.dat from one unix box to another unix box location /check/check1/ at daily 2:00AM, please let me know how to do that...... Regards, Ann (8 Replies)
Discussion started by: fabrine
8 Replies

13. SCO

SCO box loosing network connection

Hello, 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)
Discussion started by: rpcbrielle
8 Replies

14. What is on Your Mind?

Modems still in operation?

Does anyone still use modems for anything? Every now and then I see a web site that offers low res video for dial-up users. I wonder if any dial-up users still exist. But even if you have a wide band Internet connection,you might still use a modem for something else. For the purposes of this... (13 Replies)
Discussion started by: Perderabo
13 Replies

15. Red Hat

Could any one tell me how to assign IP to a linux box.

Hi All, Could any one please help me how to assign IP to a linux box permanently. IP should not be changed even after Rebooting the machine.:b::b::b: (8 Replies)
Discussion started by: vamshigvk475
8 Replies