summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-12-21 15:26:36 +0200
committerTor Lillqvist <tml@iki.fi>2012-12-21 15:35:19 +0200
commitb2e5a39babba902707dab28d81b843d1aef055dc (patch)
tree04f5197fd685136b04c602814597df60b89fe748 /vcl/inc
parent06968a96afd334c276b425bf6b809c011f88b716 (diff)
fdo#39983: Support Mac OS X 10.7 full-screen mode
Should be good enough for now, at least doesn't break any existing functionality if you don't use the system provided full-screen buttons. Should continue to compile against older SDKs but still work also on newer OSes. There are some known glitches. For instance if you choose View:Full Screen, the window does go into the system full-screen state, but if you then use the system unfullscreen button on the (now no longer disabled, but hidden) menubar, LO keeps displaying its own small floating unfullscreen dialog... I also occasionally managed to get some menus in the menubar borked with no text!? But as traditionally a full-screened LO has no menubar at all, technically that isn't a regression;) Partially based on my own old patch, partially on http://svn.apache.org/viewvc?view=revision&revision=1423520 , http://svn.apache.org/viewvc?view=revision&revision=1423523 by Herbert Duerr <hdu@apache.org>. Change-Id: I546c58f7cee9f8cb6c746eb014d8d5a8af3619cb
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/aqua/salframeview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/inc/aqua/salframeview.h b/vcl/inc/aqua/salframeview.h
index 23874111a220..ece2672f0daa 100644
--- a/vcl/inc/aqua/salframeview.h
+++ b/vcl/inc/aqua/salframeview.h
@@ -35,6 +35,8 @@
-(void)windowDidChangeScreen: (NSNotification*)pNotification;
-(void)windowDidMove: (NSNotification*)pNotification;
-(void)windowDidResize: (NSNotification*)pNotification;
+-(void)windowDidEnterFullScreen: (NSNotification*)pNotification;
+-(void)windowDidExitFullScreen: (NSNotification*)pNotification;
-(void)windowDidMiniaturize: (NSNotification*)pNotification;
-(void)windowDidDeminiaturize: (NSNotification*)pNotification;
-(BOOL)windowShouldClose: (NSNotification*)pNotification;