~ubuntu-branches/ubuntu/raring/vice/raring

« back to all changes in this revision

Viewing changes to src/arch/unix/macosx/cocoa/view/fullscreenwindow.m

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2009-03-31 00:37:15 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20090331003715-mzclchtl0dp7fcl0
Tags: upstream-2.1.dfsg
ImportĀ upstreamĀ versionĀ 2.1.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
#import "fullscreenwindow.h"
29
29
 
 
30
// for SetSystemUIMode:
 
31
#include <QuickTime/QuickTime.h>
 
32
 
30
33
@implementation FullscreenWindow
31
34
 
32
35
-(id)init
80
83
-(void)becomeKeyWindow
81
84
{
82
85
    [super becomeKeyWindow];
 
86
    SetSystemUIMode( kUIModeAllHidden, kUIOptionAutoShowMenuBar);
83
87
}
84
88
 
85
89
-(void)resignKeyWindow
86
90
{
 
91
    SetSystemUIMode( kUIModeNormal, 0);
87
92
    [super resignKeyWindow];
88
93
}
89
94