This commit is contained in:
Steve Checkoway
2003-09-06 22:22:35 +00:00
parent ebf3aa4b64
commit a87abdb881
2 changed files with 1 additions and 2 deletions
@@ -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];