removed the containing subdir
This commit is contained in:
44
bin/main-mac.c
Normal file
44
bin/main-mac.c
Normal file
@ -0,0 +1,44 @@
|
||||
#include <Types.h>
|
||||
#include <Memory.h>
|
||||
#include <QuickDraw.h>
|
||||
#include <Fonts.h>
|
||||
#include <Events.h>
|
||||
#include <Menus.h>
|
||||
#include <TextEdit.h>
|
||||
#include <MacWindows.h>
|
||||
#include <OSUtils.h>
|
||||
#include <ToolUtils.h>
|
||||
|
||||
|
||||
static void InitToolBox (void)
|
||||
{
|
||||
GrafPtr wmgrPort;
|
||||
|
||||
#if defined(TARGET_API_MAC_CARBON) && (TARGET_API_MAC_CARBON > 0)
|
||||
/* no init required for the managers below in Carbon */
|
||||
#else
|
||||
InitGraf (&qd.thePort);
|
||||
InitFonts ();
|
||||
InitWindows ();
|
||||
InitMenus ();
|
||||
TEInit ();
|
||||
InitDialogs (0L);
|
||||
MaxApplZone ();
|
||||
#endif
|
||||
|
||||
InitCursor ();
|
||||
|
||||
#if defined(TARGET_API_MAC_CARBON) && (TARGET_API_MAC_CARBON > 0)
|
||||
wmgrPort = CreateNewPort();
|
||||
#else
|
||||
GetWMgrPort (&wmgrPort);
|
||||
#endif
|
||||
|
||||
SetPort (wmgrPort);
|
||||
}
|
||||
|
||||
|
||||
static void EventLoop (void)
|
||||
{
|
||||
|
||||
}
|
Reference in New Issue
Block a user