⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 appdelegate.mm

📁 game engine, which is useful for everyone who is interested in it. I hope you can enjoy it.
💻 MM
字号:
// Copyright (C) 2005 Etienne Petitjean// This file is part of the "Irrlicht Engine".// For conditions of distribution and use, see copyright notice in Irrlicht.h#import "AppDelegate.h"@implementation AppDelegate- (id)initWithDevice:(irr::CIrrDeviceMacOSX *)device{	self = [super init];	if (self) _device = device;	return (self);}- (void)applicationDidFinishLaunching:(NSNotification *)aNotification{	_quit = FALSE;}- (void)orderFrontStandardAboutPanel:(id)sender{	[NSApp orderFrontStandardAboutPanel:sender];	}- (void)unhideAllApplications:(id)sender{	[NSApp unhideAllApplications:sender];	}- (void)hide:(id)sender{	[NSApp hide:sender];	}- (void)hideOtherApplications:(id)sender{	[NSApp hideOtherApplications:sender];	}- (void)terminate:(id)sender{	_quit = TRUE;}- (void)windowDidResize:(NSNotification *)aNotification{	NSWindow	*window;	NSRect		frame;		window = [aNotification object];	frame = [window frame];	_device->setResize((int)frame.size.width,(int)frame.size.height);}- (BOOL)isQuit{	return (_quit);}@end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -