Codechange: coding style fixes

This commit is contained in:
Rubidium
2024-01-03 22:33:38 +01:00
committed by rubidium42
parent 0075364c89
commit e3f49ee7a0
59 changed files with 121 additions and 121 deletions

View File

@@ -52,7 +52,7 @@ protected:
void *GetVideoPointer() override;
void ReleaseVideoPointer() override;
NSView* AllocateDrawView() override;
NSView *AllocateDrawView() override;
};
class FVideoDriver_CocoaOpenGL : public DriverFactoryBase {

View File

@@ -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; }
};

View File

@@ -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 ];
}