mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-30 07:20:35 +00:00
minor cleanup
This commit is contained in:
parent
1717ab2d16
commit
787a416ee0
@ -6,9 +6,6 @@ The above copyright notice and this permission notice shall be included in all c
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
#import <AppKit/NSDisplay.h>
|
||||
#import <AppKit/NSFont.h>
|
||||
#import <AppKit/NSEvent_periodic.h>
|
||||
#import <AppKit/NSApplication.h>
|
||||
#import <AppKit/NSRaise.h>
|
||||
|
||||
@implementation NSDisplay
|
||||
|
@ -11,7 +11,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
#import <AppKit/NSWindow.h>
|
||||
#import <AppKit/NSGraphicsContextFunctions.h>
|
||||
#import <ApplicationServices/ApplicationServices.h>
|
||||
#import <AppKit/NSDisplay.h>
|
||||
#import <Foundation/NSKeyedArchiver.h>
|
||||
#import <AppKit/NSRaise.h>
|
||||
|
||||
|
@ -250,7 +250,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
}
|
||||
|
||||
-(void)selectFontWithName:(const char *)name size:(float)size encoding:(int)encoding {
|
||||
KGFont *font=[KGFont createWithFontName:[NSString stringWithCString:name]];
|
||||
KGFont *font=O2FontCreateWithFontName([NSString stringWithCString:name]);
|
||||
|
||||
if(font!=nil){
|
||||
[_font release];
|
||||
|
Loading…
Reference in New Issue
Block a user