macmain.h

来自「通过人工智能算法快速实现神经网络识别」· C头文件 代码 · 共 41 行

H
41
字号
#include <Menus.h>#include <Windows.h>#include <TextEdit.h>#include <Dialogs.h>#include <OSUtils.h>#include <ToolUtils.h>#include <SegLoad.h>#include <AppleEvents.h>#include <sound.h>#include <stdio.h>#include <Movies.h>#include <Gestalt.h>#include <QDOffscreen.h>#include <Types.h>#include <Quickdraw.h>#include "AICommon.h"#include "Toolbox.h"#define kOKButton					1#define kCancelButton			2void main(void);void OpenWindow(void);void Initialize(void);void SetUpMenus(void);void MainLoop();void DoMouseDown (EventRecord *theEvent);void DoMenus (long menuResult);void DoUpdate (WindowPtr wp);void DoKey (EventRecord *theEvent);void DoActivate (EventRecord *theEvent);static pascal OSErr MyHandleOApp (const AppleEvent *appleEvt, AppleEvent* reply, long refCon);static pascal OSErr MyHandleODoc (const AppleEvent *appleEvt, AppleEvent* reply, long refCon);static pascal OSErr MyHandlePDoc (const AppleEvent *appleEvt, AppleEvent* reply, long refCon);static pascal OSErr MyHandleQuit( const AppleEvent *appleEvt, AppleEvent *reply, long refcon );pascal TBoolean GenericFilter (DialogPtr theDialog, EventRecord *theEvent, SInt16 *itemHit);void DoSuspendResume(Boolean InForeground);

⌨️ 快捷键说明

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