SDL_MouseButtonEvent man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]

SDL_MouseButtonEvent(3) SDL API Reference SDL_MouseButtonEvent(3)

NAME
       SDL_MouseButtonEvent- Mouse button event structure

STRUCTURE DEFINITION
       typedef struct{
	 Uint8 type;
	 Uint8 button;
	 Uint8 state;
	 Uint16 x, y;
       } SDL_MouseButtonEvent;

STRUCTURE DATA
       type		   SDL_MOUSEBUTTONDOWN	or  SDL_MOUSEBUT-
			   TONUP

       button		   The	mouse  button	index	(SDL_BUT-
			   TON_LEFT,  SDL_BUTTON_MIDDLE, SDL_BUT-
			   TON_RIGHT)

       state		   SDL_PRESSED or SDL_RELEASED

       x, y		   The X/Y coordinates of  the	mouse  at
			   press/release time

DESCRIPTION
       SDL_MouseButtonEvent  is	 a  member of the SDL_Event union
       and is used when an event of type  SDL_MOUSEBUTTONDOWN  or
       SDL_MOUSEBUTTONUP is reported.

       When a mouse button press or release is detected then num-
       ber of the button pressed (from 1 to 255, with  1  usually
       being the left button and 2 the right) is placed into but-
       ton, the position of the mouse when this event occured  is
       stored  in the x and the y fields. Like SDL_KeyboardEvent,
       information on whether the event was a press or a  release
       event  is  stored  in  both the type and state fields, but
       this should be obvious.

SEE ALSO
       SDL_Event, SDL_MouseMotionEvent

SDL		      Tue 11 Sep 2001, 22:SDL_MouseButtonEvent(3)
[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net