How to hide the mouse cursor in a glut application

  • Permalink
  • submit to reddit
  • Email
  • Follow


Hi, 
how can I hide/show the mousecursor while in glut fullscreen mode?
I provide my app with textured cursors and I want to hide the real cursor
from the screen...

tnx in advance...
[sniper]
0
Reply _sniper 8/28/2003 3:14:00 PM

See related articles to this posting


_sniper@libero.it ([sniper]) wrote in message news:<619c684a.0308280714.379885f5@posting.google.com>...
> Hi, 
> how can I hide/show the mousecursor while in glut fullscreen mode?
> I provide my app with textured cursors and I want to hide the real cursor
> from the screen...
> 
> tnx in advance...
> [sniper]

glutSetCursor (GLUT_CURSOR_NONE);
1
Reply marcus 8/29/2003 7:19:12 AM

It works... tnx! :D
0
Reply _sniper 8/29/2003 2:26:44 PM

[sniper] wrote:
> Hi, 
> how can I hide/show the mousecursor while in glut fullscreen mode?
> I provide my app with textured cursors and I want to hide the real cursor
> from the screen...
> 
> tnx in advance...
> [sniper]

for crying out loud! don't you have the fucking docs? I mean it comes in 
html you can view it online, or whatever.... did it occur to you to try 
and ... *gasp* ... "FIND" the answer by looking for it at the most 
obvious place (glut docs) before posting here? It's a god damn library 
call for crists sake!

-- Nuclear / the Lab --

-1
Reply John 8/31/2003 1:44:11 AM
comp.graphics.api.opengl 7100 articles. 24 followers. Post

3 Replies
1127 Views

Similar Articles

[PageSpeed] 22


  • Permalink
  • submit to reddit
  • Email
  • Follow


Reply:

Similar Artilces:

utility that hides mouse cursor when mouse is not moved
What the name a small x11 utility that hides mouse movements after n seconds when mouse was not moved ? xtidy or something ? Yakov "Yakov Lerner" <iler.ml@gmail.com> writes: > What the name a small x11 utility that hides mouse movements > after n seconds when mouse was not moved ? xtidy > or something ? unclutter ...

Hiding mouse cursor
Hello ! How can I hide mouse cursor in Delphi for all Applications not for just my form ? Screen.Cursor := crNone; MartinChrzan@gmail.com wrote: > Hello ! How can I hide mouse cursor in Delphi for all Applications not > for just my form ? ...

Hiding Mouse Cursor after Delay
Hi, Is it possible to hide the mouse cursor using Java Swing if it is not moved for a certain amount of time? Many thanks, Jacqueline "Jacqueline Snook" <jasnook@ntlworld.com> schreef in bericht news:b1bc25e6.0412121747.3934c20a@posting.google.com... > Hi, > > Is it possible to hide the mouse cursor using Java Swing if it is > not moved for a certain amount of time? In your component, do: setCursor(getToolkit().createCustomCursor( new BufferedImage(3, 3, BufferedImage.TYPE_INT_ARGB), new Point(0, 0), "null")); ...

move the mouse cursor using GLUT?
How do you move the mouse cursor to a certain x and y using GLUT? On 01/30/2012 10:09 PM, bob wrote: > How do you move the mouse cursor to a certain x and y using GLUT? you are NOT moving cursor using GLUT. However, you can respond to cursor movement using glut callbacks "glutMotionFunc", and "glutPassiveMotionFunc". www.opengl.org/resources/libraries/glut/glut-3.spec.pdf have a look at chapter 7, Callback registration On Mon, 30 Jan 2012 23:49:02 +0100 Leclerc <gordan.sikic.remove@this.inet.hr> wrote: > On 01/30/2012 10:09 PM, bob wrote: > > How do y...

How to Change the Application Cursor (Mouse pointer)?
How to Change the Application Cursor (Mouse pointer)? When i'm using wvw_setpointer i'm changing the cursor for the current window. How to change the cursor for the application and only for the current window? Thanks in advance Mike Evans Hi Mike, Why don't you do it in a loop for all windows: for i := 0 to wvw_nNumWindows()-1 wvw_setpointer(i, ....) next regards, budyanto "Mike Evans" <makis1970@gmail.com> wrote in message news:603d988e-ddd7-4519-a161-8d0254909019@o11g2000yql.googlegroups.com... > How to Change the Application Cursor (Mouse pointer)? Wh...

Why does OS X hide the mouse cursor on keypresses?
I'm new to Macland, and am enjoying my powerbook very much (as a Windows and Java programmer, and old Unix hand). Here's my little question: When I scroll in a Firefox or Safari window *using the arrow keys*, OS X hides the mouse cursor. (This happens on any keypress in TextEdit too.) Then I have to move the mouse a little bit to force the system to display the cursor, even though sometimes I just want to click the mouse (without moving it). Is there any way to force the OS to keep displaying the mouse cursor? Thanks, Mark markbuxbaum@hotmail.com wrote: > When I scroll in a F...

How can I hide the mouse cursor in embeded linux?
dear all, I want to hide or display the cursor in embeded linux on ARM9 platform? which file in kernel should I modify? John Huntington wrote: > dear all, > I want to hide or display the cursor in embeded linux on ARM9 > platform? > which file in kernel should I modify? Mouse cursor or console cursor? For the mouse cursor there should be an API to control (X), for console cursor there should be control sequences to hide or show it (take a look into the ncurses library). Juergen "Juergen Beisert" <jbeisert@netscape.net> ?????...

Hide Mouse Cursor on TPC-2006 Windows CE
Hello all, I have a VI that is deployed on NI's TPC-2006 touch panel, running Windows CE 4.2 and was wondering if there is a way to hide the mouse cursor from the screen? When running a touch screen VI on the touch panel, it looks pretty tacky to have the mouse pointer show up when clicking buttons or tabs. I have done quite a bit of searching, but have yet to find a way to do it, in or out of Labview. Any ideas / suggestions? Thanks for any responses.- Adam I haven't done this on CE, but on windows (inc. Emb.) and Linux, the Cursor menu in Application Control the Create Cursor From F...

KDE doesn't hide mouse cursor when typing
I found this to be very odd. It seems that KDE doesn't automatically hide the mouse cursor when the user is typing. I've noticed this a while ago but I always thought that it was due to some problem with my KDE configuration. Today, after I've decided to finally take the bull by the horns and search for the place where I could configure it, I found this: https://bugs.kde.org/show_bug.cgi?id=88345 It seems that KDE doesn't support it at all. Moreover, it seems that the wishlist report was posted in the ancient times of 2004. Well, that was disappointing... Rui Maciel -- R...

Hide Mouse Cursor under XFree86 Version 3.3.6a
Hi, How can I hide my mouse cursor under : XFree86 Version 3.3.6a / X Window System (protocol Version 11, revision 0, vendor release 6300) SVGA: server for SVGA graphics adaptors (Patchlevel 1) Thank you Bye > "unclutter" hides the mouse cursor when the mouse is not moved. Thank you!! unclutter has resolved the problem. Bye ...

How can I show/hide the windows cursor in a LabView 7.0 application run under Windows XP?
VI used In Win2000 does npt work in XP How are you doing it in Windows 2000? Are you making a system call to shut off the cursors? There is a palette of cursor manipulation (Application Control -> Cursor or just do a palette search for "Cursor"). These VIs let you set the cursors, but I don't see an easy way to turn it off. A work-around might be to have a blank cursor in a cursor file and change the cursor to that. It will still have a click response (hot spot), so it does not keep the user from using the cursor, just seeing it. Hi, Take look at this example: <a h...

determine the mouse cursor position without mouse event
is there a way to determine the mouse cursor position apart from intercepting a mouse event such as drag, i.e., sometimes i want the cursor position even if no mouse event has taken place tom arnall north spit, ca usa Loosen up: the tests extend the compiler. -- Posted via a free Usenet account from http://www.teranews.com tom arnall wrote: > is there a way to determine the mouse cursor position apart from > intercepting a mouse event such as drag, i.e., sometimes i want the cursor > position even if no mouse event has taken place What about trapping "mouse move" e...

Hiding cursor
How can I hide the cursor in C++? I am using Visual Studio .NET and the problem is that the cursor remains blinking on the opening screen on my program. How can I set it to be black so that it wouldn't apperar? Pekka pekkajarvela@email.com (Pekka Jarvela) wrote in news:6780c2c2.0405120647.2b5fb6e6@posting.google.com: > How can I hide the cursor in C++? > > I am using Visual Studio .NET and the problem is that the cursor > remains blinking on the opening screen on my program. How can I set it > to be black so that it wouldn't apperar? You can't. There is noth...

How to hide cursor ?
Hi, Is there a simple way of hiding a blinknig cursor in text application ? thx. In article <dsvde7$m86$1@atlantis.news.tpi.pl>, janek <jj17@o2.pl> writes: > Is there a simple way of hiding a blinknig cursor in > text application ? Send the appropriate escape sequence to your VT100. A Google search should provide a list of the escape sequences. If your hardware environment is other than a VT100 at the end of a serial line, you might specify it in whatever operating system or hardware newsgroup is appropriate. ...

cursor application?
Hi all, This is not an urgent query merely an interested question. But for what would I use a Cursor for? I have looked at the on-line help but I am still unclear why it for what reason it might be employed? Many thanks Sam Two reasons would be when you need to do something for each row in a result set (usually execute a stored procedure), or when you must process rows in a specific order. The first case is probably most common in DBA/admin scripts, for example to write a script which GRANTs execute permission on all stored procs in a database. I can't think of a good example of the s...

cursor hiding
_____ Hello, I am back trying to finish my home heating monitoring program using a licensed copy of Pygmy Forth 1.5 under DOS. I want to hide/show the cursor, but have not found any way to do this. The code segment (from pent.fs [A.v.d.Horst])below applies only to LINUX, but could be adapted?: : ESC 27 EMIT ; \ For normal Linux xterm. \ Found by ``nfocmp -r'' to look up attributes: clear cup cinvis cvvis : PAGE ESC "[H" TYPE ESC "[J" TYPE ; : AT-XY ESC &[ EMIT 1+ 0 .R &; EMIT 1+ 0 .R &H EMIT ; : CVVIS ESC "[?25h" TYPE ESC...

How to hide applications
Is it possible to hide applications (like !Boot in the root directory of a harddisc) so that those aren't shown in the filer window anymore? (In RISC OS 4.39 Adjust or another version?) -- To reply, replace "ausserstorfer@mail.com" (=spam bin) by bavariasound (AT) chiemgau-net (point) de Venusberg British groggy A7000+ running RISC OS 4.39 Adjust Upper Bavaria On 6 Oct 2007 "Alex' A. Interrants" <ausserstorfer@mail.com> wrote: > Is it possible to hide applications (like !Boot in the root directory of > a harddisc) so that those aren&#...

Mouse cursors
On some objects, such as a label, it is possible to select a different mouse cursor as one of the properties. The only one that doesn't seem available is the Link Select. I have to use custom and use a cursor of my own. Is it possible to use a Link Select cursor that uses a default cursor like the rest? ...

mouse cursor
i want to change mouse cursor to arrow in white of combobox and when mouse press the location, drop down. generally, there is the function possible in microsoft excel. but the access is not, i don't know. *** Sent via Developersdex http://www.developersdex.com *** ...

mouse cursore
i want open hand and close hand mouse cursore for my web page, where the default is open hand and on left mouse down it would be close hand. but i'm not getting any help regarding this. the example is google map. it use same what i need for my application/ web page. kunwar wrote: > i want open hand and close hand mouse cursore for my web page, where > the default is open hand and on left mouse down it would be close hand. > but i'm not getting any help regarding this. the example is google map. > it use same what i need for my application/ web page. Post to a group that ...

Mouse Cursor
This may sound like a dumb question. But how does one go about changing the default mouse cursor in KDE? Thanks, Don Don wrote: > This may sound like a dumb question. But how does one go about changing > the default mouse cursor in KDE? If you want to change the mouse theme systemwide, you will need to create a file named index.theme --- index.theme --- [Icon Theme] Inherits=pCircle --- eof --- The path to the location may differ between distros, so the best is to look up in the distros documentation over Xorg. I think the /usr/local/share/cursors/xorg-x11/default/index.theme i...

hiding cursor?
Hello, all I'd like hide cursor in my photon application. is it possible? I tried to find a way. but I couldn't. please help. thanks.. ...

no mouse cursor
I just installed Fedora Core 6 with KDE as my window manager. Sometimes when I bring it up, the mouse works but I can't see the mouse cursor. Any help would be appreciated! In comp.os.linux.setup togo48 <proto.enigma@verizon.net>: > I just installed Fedora Core 6 with KDE as my window manager. Sometimes when > I bring it up, the mouse works but I can't see the mouse cursor. I'd firstly install all patches using 'yum update' from the next xterm/kvt after becoming root 'su -', reboot and check if this cures things before doing anything ...

Cursor hide
I have a simple view.. It's a dodgy hack and I'm just overriding the #onMouseMove: and #onMouseLeave: messages. onMouseMove: aMouseEvent Cursor hide. ^super onMouseMove: aMouseEvent onMouseLeave: aMouseEvent Cursor show. ^super onMouseLeave: aMouseEvent The hiding of the cursor works, but showing the cursor doesn't work. The only way to get the cursor back is to restart the image.. Anyone have any suggestions as to what I'm doing wrong? >I have a simple view.. It's a dodgy hack and I'm just overriding the >#onMouseMove...