MouseButton detection and FullScreen

Hi :slight_smile:

How I can set fullscreen on a window and how I know
if letf or right button was pressed? I was looking to
MouseButtonEvent … that’s the way?
I am using Fedora Core 1 with the default kernel (I
think it is 2.4) with Gnome (default too).

Thanks in advance for any info and / or help.

J. In?cio W.

Free Software Development Coordinator
GNUFrb / Faculdade Ruy Barbosa
Salvador - Bahia - Brazil

Mit sch?nen Gr??en von Yahoo! Mail - http://mail.yahoo.de

Hi

This is pretty selfexplaining if you read the documentation. But anyways
when you call SDL_SetVideoMode you should pass along SDL_FULLSCREEN. Like
SDL_SetVideoMode(640, 480, 8, SDL_SWSURFACE | SDL_FULLSCREEN);

Information about pressed mousebuttons can be found in the MouseButtonEvent
you recive when the button is pressed. Read the doc and it should be
clear…

Best regards
Daniel Liljeberg> ----- Original Message -----

From: dein_metzger@yahoo.de (j inacio))
To:
Sent: Monday, March 01, 2004 2:42 PM
Subject: [SDL] MouseButton detection and FullScreen

Hi :slight_smile:

How I can set fullscreen on a window and how I know
if letf or right button was pressed? I was looking to
MouseButtonEvent … that’s the way?
I am using Fedora Core 1 with the default kernel (I
think it is 2.4) with Gnome (default too).

Thanks in advance for any info and / or help.

J. In?cio W.

Free Software Development Coordinator
GNUFrb / Faculdade Ruy Barbosa
Salvador - Bahia - Brazil

Mit sch?nen Gr??en von Yahoo! Mail - http://mail.yahoo.de


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Alle Monday 01 March 2004 14:42, Dark Kernel (InacioW-) ha scritto:

Hi :slight_smile:

How I can set fullscreen on a window and how I know
if letf or right button was pressed?

Please check the mailing list archive. These questions
have been answered many times.–
Giuseppe Torelli