[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: primitive fullscreen mode support
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: primitive fullscreen mode support |
Date: |
Tue, 05 Apr 2005 16:21:25 +0200 |
Hi,
I'm committing the attached patch that implements a primitive fullscreen
support on a peer independent level. Actually it does only resize and
relocate the fullscreen window. Peers that implement a real
(accelerated) fullscreen mode would override the setFullScreenWindow(),
getFullScreenWindow() and isFullScreenSupported() methods.
I wonder about the default of isFullScreenSupported in
java.awt.GraphicsDevice returning true. Does that make sense? Should it
be the other way, defaulting to false and requiring Devices that support
fullscreen to override it to return true?
2005-04-05 Roman Kennke <address@hidden>
* gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
(getDisplayMode): Added. Returns the current display mode.
(isFullScreenSupported): Added.
* java/awt/GraphicsDevice.java
(setFullScreenWindow): Implemented a primitive fullscreen mode.
This resizes and relocates the fullscreen window so that it uses
the whole screen. This is not a fully accelerated fullscreen
exclusive mode.
Best regards,
/Roman
FullScreen.diff
Description: Text Data
- [cp-patches] FYI: primitive fullscreen mode support,
Roman Kennke <=