TextWindowController.m
上传用户:center1979
上传日期:2022-07-26
资源大小:50633k
文件大小:1k
源码类别:
OpenGL
开发平台:
Visual C++
- //
- // TextWindowController.h
- // celestia
- //
- // Created by Da Woon Jung on 2006-10-01.
- // Copyright 2006 Da Woon Jung. All rights reserved.
- //
- #import "TextWindowController.h"
- @implementation TextWindowController
- - (id)init
- {
- self = [super initWithWindowNibName: @"TextWindow"];
- return self;
- }
- - (void)makeActiveWithDelegate: (id)aDelegate
- {
- [[self window] makeKeyAndOrderFront: nil];
- [[self window] setAlphaValue: 0.0f];
- [[self window] makeFirstResponder: textView];
- [textView setDelegate: aDelegate];
- }
- @end