Codechange: coding style fixes
This commit is contained in:
@@ -52,7 +52,7 @@ protected:
|
||||
void *GetVideoPointer() override;
|
||||
void ReleaseVideoPointer() override;
|
||||
|
||||
NSView* AllocateDrawView() override;
|
||||
NSView *AllocateDrawView() override;
|
||||
};
|
||||
|
||||
class FVideoDriver_CocoaOpenGL : public DriverFactoryBase {
|
||||
|
||||
@@ -78,7 +78,7 @@ protected:
|
||||
|
||||
bool MakeWindow(int width, int height);
|
||||
|
||||
virtual NSView* AllocateDrawView() = 0;
|
||||
virtual NSView *AllocateDrawView() = 0;
|
||||
|
||||
/** Get a pointer to the video buffer. */
|
||||
virtual void *GetVideoPointer() = 0;
|
||||
@@ -121,7 +121,7 @@ protected:
|
||||
void Paint() override;
|
||||
void CheckPaletteAnim() override;
|
||||
|
||||
NSView* AllocateDrawView() override;
|
||||
NSView *AllocateDrawView() override;
|
||||
|
||||
void *GetVideoPointer() override { return this->buffer_depth == 8 ? this->pixel_buffer : this->window_buffer; }
|
||||
};
|
||||
|
||||
@@ -400,7 +400,7 @@ bool VideoDriver_Cocoa::MakeWindow(int width, int height)
|
||||
behavior |= NSWindowCollectionBehaviorFullScreenPrimary;
|
||||
[ this->window setCollectionBehavior:behavior ];
|
||||
|
||||
NSButton* fullscreenButton = [ this->window standardWindowButton:NSWindowZoomButton ];
|
||||
NSButton *fullscreenButton = [ this->window standardWindowButton:NSWindowZoomButton ];
|
||||
[ fullscreenButton setAction:@selector(toggleFullScreen:) ];
|
||||
[ fullscreenButton setTarget:this->window ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user