[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

RE: [PROGRAMMERING] Fjern mus i SDL



Hvis du ikke vil bruge musen kan du slå muse events fra for at formindske
processeringen:
SDL_EventState(SDL_MOUSEMOTION,SDL_IGNORE);
SDL_EventState(SDL_MOUSEBUTTONUP,SDL_IGNORE);
SDL_EventState(SDL_MOUSEBUTTONDOWN,SDL_IGNORE);


-----Original Message-----
From: Christian Brønnum-Hansen [mailto:sslug@sslug
Sent: 22. juli 2004 15:14
To: sslug@sslug
Subject: Re: [PROGRAMMERING] Fjern mus i SDL


Den Thu, 22 Jul 2004 14:49:58 +0200. skrev Jens Svalgaard Kohrt:

>
> On Thu, 22 Jul 2004, Christian Brønnum-Hansen wrote:
>
>> Jeg laver et spil der kører i fuld skærm og ikke bruger mus.
>> Hvordan fjerner jeg musen for det er ret irriterende at have den stående
>> når den ikke skal bruges.
>
> Måske SDL_ShowCursor ?
>
>     http://sdldoc.csn.ul.ie/sdlshowcursor.php
>
> - Jens

Tak det virkede fint.
Må nok selv kigge lidt bedre efter en anden gang.





 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:44 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *