From 41d8ea06cf6d8f09d910bbe6727c3c9b4adf6c01 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Sat, 19 Feb 2011 06:25:57 +0000 Subject: -(SysBeep)Some improvements to the Mac port of PeopsXGL: cursor doesn't stay hidden when app is switched out; disallow dragging window in fullscreen mode; does almost the right thing when app is deactivated; responds properly to user resolution switching. Also, some rounding errors when window resized have been eliminated. (Patch #8429) git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@63554 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/PeopsXgl/macsrc/PluginWindowController.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'macosx/plugins/PeopsXgl/macsrc/PluginWindowController.h') diff --git a/macosx/plugins/PeopsXgl/macsrc/PluginWindowController.h b/macosx/plugins/PeopsXgl/macsrc/PluginWindowController.h index 8ead9fc6..9322a01f 100644 --- a/macosx/plugins/PeopsXgl/macsrc/PluginWindowController.h +++ b/macosx/plugins/PeopsXgl/macsrc/PluginWindowController.h @@ -49,4 +49,14 @@ extern PluginWindowController *gameController; - (void)setFullscreen:(BOOL)flag; - (void)performFullscreenSwap; - (void)cureAllIlls; +- (void) adaptToFrame:(NSRect)aFrame; +- (NSRect) screenFrame; +- (void)subscribeToEvents; + + +- (id)initWithCoder:(NSCoder *)aDecoder ; +- (id)initWithWindow:(NSWindow*)theWindow; + +- (void)windowDidBecomeKey:(NSNotification*)aNotice; +- (void)windowDidResignKey:(NSNotification*)aNotice; @end -- cgit v1.2.3