Update
This commit is contained in:
@@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
extern void MakeNewCocoaWindow();
|
extern void MakeNewCocoaWindow();
|
||||||
extern void DisposeOfCocoaWindow();
|
extern void DisposeOfCocoaWindow();
|
||||||
extern void PaintCocoaWindow();
|
|
||||||
extern void SetCocoaWindowText(const char *s);
|
extern void SetCocoaWindowText(const char *s);
|
||||||
|
|
||||||
class LoadingWindow_Cocoa : public LoadingWindow {
|
class LoadingWindow_Cocoa : public LoadingWindow {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ static NSWindow *window;
|
|||||||
static NSTextView *text;
|
static NSTextView *text;
|
||||||
|
|
||||||
void MakeNewCocoaWindow() {
|
void MakeNewCocoaWindow() {
|
||||||
NSImage *image = [NSImage imageNamed:@"loading"];
|
NSImage *image = [NSImage imageNamed:@"splash"];
|
||||||
NSSize size = [image size];
|
NSSize size = [image size];
|
||||||
float height = size.height;
|
float height = size.height;
|
||||||
NSImageView *iView = [[[NSImageView alloc] initWithFrame:NSMakeRect(0, height+1, size.width, height)] autorelease];
|
NSImageView *iView = [[[NSImageView alloc] initWithFrame:NSMakeRect(0, height+1, size.width, height)] autorelease];
|
||||||
|
|||||||
Reference in New Issue
Block a user