diff --git a/macosx/English.lproj/InfoPlist.strings b/macosx/English.lproj/InfoPlist.strings new file mode 100644 index 000000000..d2d7d7f7a Binary files /dev/null and b/macosx/English.lproj/InfoPlist.strings differ diff --git a/macosx/English.lproj/SDLMain.nib/classes.nib b/macosx/English.lproj/SDLMain.nib/classes.nib new file mode 100755 index 000000000..f8f4e9a4b --- /dev/null +++ b/macosx/English.lproj/SDLMain.nib/classes.nib @@ -0,0 +1,12 @@ +{ + IBClasses = ( + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + { + ACTIONS = {makeFullscreen = id; quit = id; }; + CLASS = SDLMain; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + } + ); + IBVersion = 1; +} diff --git a/macosx/English.lproj/SDLMain.nib/info.nib b/macosx/English.lproj/SDLMain.nib/info.nib new file mode 100755 index 000000000..2211cf9d7 --- /dev/null +++ b/macosx/English.lproj/SDLMain.nib/info.nib @@ -0,0 +1,12 @@ + + + + + IBDocumentLocation + 49 97 356 240 0 0 987 746 + IBMainMenuLocation + 20 515 195 44 0 46 800 532 + IBUserGuides + + + diff --git a/macosx/English.lproj/SDLMain.nib/objects.nib b/macosx/English.lproj/SDLMain.nib/objects.nib new file mode 100755 index 000000000..9f697b0ee Binary files /dev/null and b/macosx/English.lproj/SDLMain.nib/objects.nib differ diff --git a/macosx/Info.plist b/macosx/Info.plist new file mode 100644 index 000000000..95d7387d1 --- /dev/null +++ b/macosx/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + TuxPaint + CFBundleIconFile + tuxpaint.icns + CFBundleIdentifier + com.newbreedsoftware.tuxpaint + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 0.9.14 + NSMainNibFile + SDLMain + NSPrincipalClass + NSApplication + + diff --git a/macosx/Read Me.txt b/macosx/Read Me.txt new file mode 100644 index 000000000..03b2dfb29 --- /dev/null +++ b/macosx/Read Me.txt @@ -0,0 +1,36 @@ +TuxPaint Xcode Project +notes by Martin Fuhrer + +This TuxPaint project file is located in a folder titled "macosx", which should in turn be placed in the root folder of the TuxPaint source code distribution. The project will then be able to access all the source code files. + +This XCode project assumes that you have certain libraries and files installed in particular locations under Mac OS X. This file indicates what you must install, and where these items go. Some of the libraries are installed via the Fink package manager, which can be downloaded from + + +-- SDL -- + +You must have the following frameworks installed in /Library/Frameworks: + +SDL.framework +SDL_image.framework +SDL_mixer.framework +SDL_ttf.framework + +These frameworks should ideally be the non-development versions (without the header files), as they will be copied into the Tux Paint bundle. You can obtain the frameworks from the SDL website + +So where does the project reference the SDL header files, if they are not in the frameworks? Via the Fink installation of SDL. So be sure to install all SDL-related packages in Fink. + + +-- PNG and Internationalization Libraries -- + +Install PNG (libpng.a) and the GNU internationalization library (libintl.a) via Fink. These libraries will be statically linked into the TuxPaint binary. + + +-- Translation Files -- + +These are generated by the Makefile in the TuxPaint source distribution as follows: + +make translations +make install-gettext + +This will generate translation files in /usr/local/share/locale. Move the locale folder into the root folder of the TuxPaint source distribution, and the TuxPaint XCode project will be able to bundle the files into the TuxPaint application. + diff --git a/macosx/SDLMain.h b/macosx/SDLMain.h new file mode 100755 index 000000000..b8713dea6 --- /dev/null +++ b/macosx/SDLMain.h @@ -0,0 +1,14 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +//#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_2 +//#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_2 + +#import + +@interface SDLMain : NSObject +@end diff --git a/macosx/SDLMain.m b/macosx/SDLMain.m new file mode 100644 index 000000000..5c68833ff --- /dev/null +++ b/macosx/SDLMain.m @@ -0,0 +1,365 @@ +/* SDLMain.m - main entry point for our Cocoa-ized SDL app + Initial Version: Darrell Walisser + Non-NIB-Code & other changes: Max Horn + + Feel free to customize this file to suit your needs +*/ + +#import "SDL.h" +#import "SDLMain.h" +#import /* for MAXPATHLEN */ +#import +#include "wrapperdata.h" + +/* Use this flag to determine whether we use SDLMain.nib or not */ +#define SDL_USE_NIB_FILE 0 + +/* Use this flag to determine whether we use CPS (docking) or not */ +#define SDL_USE_CPS 1 +#ifdef SDL_USE_CPS +/* Portions of CPS.h */ +typedef struct CPSProcessSerNum +{ + UInt32 lo; + UInt32 hi; +} CPSProcessSerNum; + +extern OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn); +extern OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5); +extern OSErr CPSSetFrontProcess( CPSProcessSerNum *psn); + +#endif /* SDL_USE_CPS */ + +static int gArgc; +static char **gArgv; +static BOOL gFinderLaunch; + +WrapperData macosx; + +static NSString *getApplicationName(void) +{ + NSDictionary *dict; + NSString *appName = 0; + + /* Determine the application name */ + dict = (NSDictionary *)CFBundleGetInfoDictionary(CFBundleGetMainBundle()); + if (dict) + appName = [dict objectForKey: @"CFBundleName"]; + + if (![appName length]) + appName = [[NSProcessInfo processInfo] processName]; + + return appName; +} + +#if SDL_USE_NIB_FILE +/* A helper category for NSString */ +@interface NSString (ReplaceSubString) +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString; +@end +#endif + +@interface SDLApplication : NSApplication +@end + +@implementation SDLApplication +/* Invoked from the Quit menu item */ +- (void)terminate:(id)sender +{ + /* Post a SDL_QUIT event */ + SDL_Event event; + event.type = SDL_QUIT; + SDL_PushEvent(&event); +} + +- (void)sendEvent:(NSEvent *)anEvent { + if( NSKeyDown == [anEvent type] || NSKeyUp == + [anEvent type] ) { + if( [anEvent modifierFlags] & NSCommandKeyMask ) + [super sendEvent: anEvent]; + } else + [super sendEvent: anEvent]; +} +@end + + +/* Class to pass information from Cocoa to SDL application */ +@interface CocoaToSDLBridge : NSObject {} +- (void)dataPath:(NSString *)directory; +- (void)preferencesPath; +@end + +@implementation CocoaToSDLBridge + +-(void) dataPath:(NSString *)directory; +{ + NSBundle *mainBundle; + NSString *path; + + mainBundle = [NSBundle mainBundle]; + path = [mainBundle pathForResource:@"data" ofType:nil]; + + [path getCString:(macosx.dataPath)]; +} + +-(void) preferencesPath; +{ + NSString *path; + + path = [@"~/Library/Application Support" stringByExpandingTildeInPath]; + [path getCString:(macosx.preferencesPath)]; +} + +@end + + +/* The main class of the application, the application's delegate */ +@implementation SDLMain + +/* Set the working directory to the .app's parent directory */ +- (void) setupWorkingDirectory:(BOOL)shouldChdir +{ + if (shouldChdir) + { + char parentdir[MAXPATHLEN]; + CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle()); + CFURLRef url2 = CFURLCreateCopyDeletingLastPathComponent(0, url); + if (CFURLGetFileSystemRepresentation(url2, true, parentdir, MAXPATHLEN)) { + assert ( chdir (parentdir) == 0 ); /* chdir to the binary app's parent */ + } + CFRelease(url); + CFRelease(url2); + } + +} + +#if SDL_USE_NIB_FILE + +/* Fix menu to contain the real app name instead of "SDL App" */ +- (void)fixMenu:(NSMenu *)aMenu withAppName:(NSString *)appName +{ + NSRange aRange; + NSEnumerator *enumerator; + NSMenuItem *menuItem; + + aRange = [[aMenu title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [aMenu setTitle: [[aMenu title] stringByReplacingRange:aRange with:appName]]; + + enumerator = [[aMenu itemArray] objectEnumerator]; + while ((menuItem = [enumerator nextObject])) + { + aRange = [[menuItem title] rangeOfString:@"SDL App"]; + if (aRange.length != 0) + [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; + if ([menuItem hasSubmenu]) + [self fixMenu:[menuItem submenu] withAppName:appName]; + } + [ aMenu sizeToFit ]; +} + +#else + +static void setApplicationMenu(void) +{ + /* warning: this code is very odd */ + NSMenu *appleMenu; + + NSMenuItem *menuItem; + NSString *title; + NSString *appName; + + appName = getApplicationName(); + appleMenu = [[NSMenu alloc] initWithTitle:@""]; + + /* Add menu items */ + title = [@"About " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(orderFrontStandardAboutPanel:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Hide " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@"h"]; + + menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"]; + [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; + + [appleMenu addItemWithTitle:@"Show All" action:@selector(unhideAllApplications:) keyEquivalent:@""]; + + [appleMenu addItem:[NSMenuItem separatorItem]]; + + title = [@"Quit " stringByAppendingString:appName]; + [appleMenu addItemWithTitle:title action:@selector(terminate:) keyEquivalent:@"q"]; + + + /* Put menu into the menubar */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; + [menuItem setSubmenu:appleMenu]; + [[NSApp mainMenu] addItem:menuItem]; + + /* Tell the application object that this is now the application menu */ + [NSApp setAppleMenu:appleMenu]; + + /* Finally give up our references to the objects */ + [appleMenu release]; + [menuItem release]; +} + +/* Create a window menu */ +static void setupWindowMenu(void) +{ + NSMenu *windowMenu; + NSMenuItem *windowMenuItem; + NSMenuItem *menuItem; + + windowMenu = [[NSMenu alloc] initWithTitle:@"Window"]; + + /* "Minimize" item */ + menuItem = [[NSMenuItem alloc] initWithTitle:@"Minimize" action:@selector(performMiniaturize:) keyEquivalent:@"m"]; + [windowMenu addItem:menuItem]; + [menuItem release]; + + /* Put menu into the menubar */ + windowMenuItem = [[NSMenuItem alloc] initWithTitle:@"Window" action:nil keyEquivalent:@""]; + [windowMenuItem setSubmenu:windowMenu]; + [[NSApp mainMenu] addItem:windowMenuItem]; + + /* Tell the application object that this is now the window menu */ + [NSApp setWindowsMenu:windowMenu]; + + /* Finally give up our references to the objects */ + [windowMenu release]; + [windowMenuItem release]; +} + +/* Replacement for NSApplicationMain */ +static void CustomApplicationMain (argc, argv) +{ + + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + SDLMain *sdlMain; + + /* Ensure the application object is initialised */ + [SDLApplication sharedApplication]; + +#ifdef SDL_USE_CPS + { + CPSProcessSerNum PSN; + /* Tell the dock about us */ + if (!CPSGetCurrentProcess(&PSN)) + if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103)) + if (!CPSSetFrontProcess(&PSN)) + [SDLApplication sharedApplication]; + } +#endif /* SDL_USE_CPS */ + + /* Set up the menubar */ + [NSApp setMainMenu:[[NSMenu alloc] init]]; + setApplicationMenu(); + setupWindowMenu(); + + /* Create SDLMain and make it the app delegate */ + sdlMain = [[SDLMain alloc] init]; + [NSApp setDelegate:sdlMain]; + + /* Start the main event loop */ + [NSApp run]; + + [sdlMain release]; + [pool release]; +} + +#endif + +/* Called when the internal event loop has just started running */ +- (void) applicationDidFinishLaunching: (NSNotification *) note +{ + setenv ("SDL_ENABLEAPPEVENTS", "1", 1); + int status; + + /* Set the working directory to the .app's parent directory */ + [self setupWorkingDirectory:gFinderLaunch]; + +#if SDL_USE_NIB_FILE + /* Set the main menu to contain the real app name instead of "SDL App" */ + [self fixMenu:[NSApp mainMenu] withAppName:getApplicationName()]; +#endif + + /* Hand off to main application code */ + status = SDL_main (gArgc, gArgv); + + /* We're done, thank you for playing */ + exit(status); +} +@end + + +@implementation NSString (ReplaceSubString) + +- (NSString *)stringByReplacingRange:(NSRange)aRange with:(NSString *)aString +{ + unsigned int bufferSize; + unsigned int selfLen = [self length]; + unsigned int aStringLen = [aString length]; + unichar *buffer; + NSRange localRange; + NSString *result; + + bufferSize = selfLen + aStringLen - aRange.length; + buffer = NSAllocateMemoryPages(bufferSize*sizeof(unichar)); + + /* Get first part into buffer */ + localRange.location = 0; + localRange.length = aRange.location; + [self getCharacters:buffer range:localRange]; + + /* Get middle part into buffer */ + localRange.location = 0; + localRange.length = aStringLen; + [aString getCharacters:(buffer+aRange.location) range:localRange]; + + /* Get last part into buffer */ + localRange.location = aRange.location + aRange.length; + localRange.length = selfLen - localRange.location; + [self getCharacters:(buffer+aRange.location+aStringLen) range:localRange]; + + /* Build output string */ + result = [NSString stringWithCharacters:buffer length:bufferSize]; + + NSDeallocateMemoryPages(buffer, bufferSize); + + return result; +} + +@end + + + +#ifdef main +# undef main +#endif + + +/* Main entry point to executable - should *not* be SDL_main! */ +int main (int argc, char **argv) +{ + /* Copy the arguments into a global variable */ + gArgv = argv; + + /* This is passed if we are launched by double-clicking */ + if ( argc >= 2 && strncmp (argv[1], "-psn", 4) == 0 ) { + gArgc = 1; + gFinderLaunch = YES; + } else { + gArgc = argc; + gFinderLaunch = NO; + } + +#if SDL_USE_NIB_FILE + [SDLApplication poseAsClass:[NSApplication class]]; + NSApplicationMain (argc, argv); +#else + CustomApplicationMain (argc, argv); +#endif + return 0; +} diff --git a/macosx/TuxPaint.xcode/mfuhrer.mode1 b/macosx/TuxPaint.xcode/mfuhrer.mode1 new file mode 100644 index 000000000..22253596b --- /dev/null +++ b/macosx/TuxPaint.xcode/mfuhrer.mode1 @@ -0,0 +1,1214 @@ + + + + + ActivePerspectiveName + Project + AllowedModules + + + BundleLoadPath + + MaxInstances + n + Module + PBXSmartGroupTreeModule + Name + Groups and Files Outline View + + + BundleLoadPath + + MaxInstances + n + Module + PBXNavigatorGroup + Name + Editor + + + BundleLoadPath + + MaxInstances + n + Module + XCTaskListModule + Name + Task List + + + BundleLoadPath + + MaxInstances + n + Module + XCDetailModule + Name + File and Smart Group Detail Viewer + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXBuildResultsModule + Name + Detailed Build Results Viewer + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXProjectFindModule + Name + Project Batch Find Tool + + + BundleLoadPath + + MaxInstances + n + Module + PBXRunSessionModule + Name + Run Log + + + BundleLoadPath + + MaxInstances + n + Module + PBXBookmarksModule + Name + Bookmarks Tool + + + BundleLoadPath + + MaxInstances + n + Module + PBXClassBrowserModule + Name + Class Browser + + + BundleLoadPath + + MaxInstances + n + Module + PBXCVSModule + Name + Source Code Control Tool + + + BundleLoadPath + + MaxInstances + n + Module + PBXDebugBreakpointsModule + Name + Debug Breakpoints Tool + + + BundleLoadPath + + MaxInstances + n + Module + XCDockableInspector + Name + Inspector + + + BundleLoadPath + + MaxInstances + n + Module + PBXOpenQuicklyModule + Name + Open Quickly Tool + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXDebugSessionModule + Name + Debugger + + + BundleLoadPath + + MaxInstances + 1 + Module + PBXDebugCLIModule + Name + Debug Console + + + Description + This workspace mimics that found in Xcode 1.2, with various minor improvements such as including attached editors to the build results window and the project find window. + DockingSystemVisible + + Extension + mode1 + FirstTimeWindowDisplayed + + Identifier + com.apple.perspectives.project.mode1 + MajorVersion + 31 + MinorVersion + 0 + Name + Default Workspace + Notifications + + OpenEditors + + Perspectives + + + ChosenToolbarItems + + active-target-popup + action + NSToolbarFlexibleSpaceItem + buildOrClean + build-and-runOrDebug + debug + build-and-debug + com.apple.ide.PBXToolbarStopButton + get-info + toggle-editor + servicesModulefind + NSToolbarFlexibleSpaceItem + com.apple.pbx.toolbar.searchfield + + ControllerClassBaseName + + IconName + WindowOfProject + Identifier + perspective.project + IsVertical + + Layout + + + ContentConfiguration + + PBXBottomSmartGroupGIDs + + 1C37FBAC04509CD000000102 + 1C37FAAC04509CD000000102 + 1C08E77C0454961000C914BD + 1C37FABC05509CD000000102 + 1C37FABC05539CD112110102 + E2644B35053B69B200211256 + 1C37FABC04509CD000100104 + 1CC0EA4004350EF90044410B + 1CC0EA4004350EF90041110B + + PBXProjectModuleGUID + 1CE0B1FE06471DED0097A5F4 + PBXProjectModuleLabel + Files + PBXProjectStructureProvided + yes + PBXSmartGroupTreeModuleColumnData + + PBXSmartGroupTreeModuleColumnWidthsKey + + 186 + + PBXSmartGroupTreeModuleColumnsKey_v4 + + MainColumn + + + PBXSmartGroupTreeModuleOutlineStateKey_v7 + + PBXSmartGroupTreeModuleOutlineStateExpansionKey + + 29B97314FDCFA39411CA2CEA + 080E96DDFE201D6D7F000001 + 29B97315FDCFA39411CA2CEA + 29B97317FDCFA39411CA2CEA + 2286F34D0740B3FC001164FE + 089C165CFE840E0CC02AAC07 + 29B97323FDCFA39411CA2CEA + 1058C7A0FEA54F0111CA2CBB + 1058C7A2FEA54F0111CA2CBB + 19C28FACFE9D520D11CA2CBB + 1C37FBAC04509CD000000102 + 1C37FABC05509CD000000102 + + PBXSmartGroupTreeModuleOutlineStateSelectionKey + + + 4 + 2 + 0 + + + PBXSmartGroupTreeModuleOutlineStateVisibleRectKey + {{0, 16}, {186, 711}} + + PBXTopSmartGroupGIDs + + + GeometryConfiguration + + Frame + {{0, 0}, {203, 729}} + GroupTreeTableConfiguration + + MainColumn + 186 + + RubberWindowFrame + 31 107 1078 771 0 0 1440 878 + + Module + PBXSmartGroupTreeModule + Proportion + 203pt + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CE0B20306471E060097A5F4 + PBXProjectModuleLabel + SDLMain.m + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1CE0B20406471E060097A5F4 + PBXProjectModuleLabel + SDLMain.m + bookmark + 221C344807529B0400EB431B + history + + 22C0F9F907361A42008555A2 + 22C0FB9407365679008555A2 + 22C0FB9507365679008555A2 + 22C0FB9607365679008555A2 + 22C0FB9907365679008555A2 + 22C0FB9A07365679008555A2 + 22C0FB9B07365679008555A2 + 22C0FBAF073657BA008555A2 + 22C0FBB0073657BA008555A2 + 22C005FC073667AB008555A2 + 22CD74E8073709D200BAB60B + 220452DE0737175E005CCC84 + 2286F3600740B518001164FE + 22581648074EC8C7005F774F + 22582E2107513FA5005F774F + 221C2ACD075299F700EB431B + 221C344407529B0400EB431B + 221C344507529B0400EB431B + 22581625074EB0FC005F774F + + prevStack + + 22C0EAD30735B99F008555A2 + 22C0EAD50735B99F008555A2 + 22C0F65F0735C7BE008555A2 + 22C0F9140735F511008555A2 + 22C0F9C1073614E8008555A2 + 22C0FA0407361A42008555A2 + 22C0FA0507361A42008555A2 + 22C0FA0707361A42008555A2 + 22C0FA0907361A42008555A2 + 22C0FA0A07361A42008555A2 + 22C0FA0B07361A42008555A2 + 22C0FA0C07361A42008555A2 + 22C0FA1807361CA8008555A2 + 22C005DE073665E1008555A2 + 22C005DF073665E1008555A2 + 22D01F1907434E9B00494AE0 + 2258218D07509422005F774F + 221C2ACE075299F700EB431B + 221C344607529B0400EB431B + 221C344707529B0400EB431B + + + SplitCount + 1 + + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {869, 511}} + RubberWindowFrame + 31 107 1078 771 0 0 1440 878 + + Module + PBXNavigatorGroup + Proportion + 511pt + + + ContentConfiguration + + PBXProjectModuleGUID + 1CE0B20506471E060097A5F4 + PBXProjectModuleLabel + Detail + + GeometryConfiguration + + Frame + {{0, 518}, {869, 211}} + RubberWindowFrame + 31 107 1078 771 0 0 1440 878 + + Module + XCDetailModule + Proportion + 211pt + + + Proportion + 869pt + + + Name + Project + ServiceClasses + + XCModuleDock + PBXSmartGroupTreeModule + XCModuleDock + PBXNavigatorGroup + XCDetailModule + + TableOfContents + + 221C344907529B0400EB431B + 1CE0B1FE06471DED0097A5F4 + 221C344A07529B0400EB431B + 1CE0B20306471E060097A5F4 + 1CE0B20506471E060097A5F4 + + ToolbarConfiguration + xcode.toolbar.config.default + + + PerspectivesBarVisible + + StatusbarIsVisible + + TimeStamp + 0.0 + ToolbarDisplayMode + 1 + ToolbarIsVisible + + ToolbarSizeMode + 1 + Type + Perspectives + UpdateMessage + + WindowJustification + 5 + WindowOrderList + + 221C344C07529B0400EB431B + 1CD10A99069EF8BA00B06720 + 1C0AD2B3069F1EA900FABCE6 + /Users/mfuhrer/Projects/TuxPaint/tuxpaint-cvs/tuxpaint/macosx/TuxPaint.xcode + + WindowString + 31 107 1078 771 0 0 1440 878 + WindowTools + + + FirstTimeWindowDisplayed + + Identifier + windowTool.build + Layout + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CD0528F0623707200166675 + PBXProjectModuleLabel + tuxpaint.c + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1CD052900623707200166675 + PBXProjectModuleLabel + tuxpaint.c + bookmark + 2258169507508DA8005F774F + history + + 22D01F1B07434E9B00494AE0 + 22D021B807435A6B00494AE0 + 22D022E00744AEF500494AE0 + + prevStack + + 22D01F1D07434E9B00494AE0 + 22D021BA07435A6B00494AE0 + + + SplitCount + 1 + + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {920, 364}} + RubberWindowFrame + 210 181 920 686 0 0 1440 878 + + Module + PBXNavigatorGroup + Proportion + 364pt + + + BecomeActive + + ContentConfiguration + + PBXProjectModuleGUID + XCMainBuildResultsModuleGUID + PBXProjectModuleLabel + Build + XCBuildResultsTrigger_Collapse + 1021 + XCBuildResultsTrigger_Open + 1011 + + GeometryConfiguration + + Frame + {{0, 371}, {920, 273}} + RubberWindowFrame + 210 181 920 686 0 0 1440 878 + + Module + PBXBuildResultsModule + Proportion + 273pt + + + Proportion + 644pt + + + Name + Build Results + ServiceClasses + + PBXBuildResultsModule + + StatusbarIsVisible + + TableOfContents + + 22C0EADB0735B99F008555A2 + 22581645074EC870005F774F + 1CD0528F0623707200166675 + XCMainBuildResultsModuleGUID + + ToolbarConfiguration + xcode.toolbar.config.build + WindowString + 210 181 920 686 0 0 1440 878 + WindowToolGUID + 22C0EADB0735B99F008555A2 + WindowToolIsVisible + + + + FirstTimeWindowDisplayed + + Identifier + windowTool.debugger + Layout + + + Dock + + + ContentConfiguration + + Debugger + + HorizontalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {293, 253}} + {{293, 0}, {623, 253}} + + + VerticalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {916, 253}} + {{0, 253}, {916, 351}} + + + + LauncherConfigVersion + 8 + PBXProjectModuleGUID + 1C162984064C10D400B95A72 + PBXProjectModuleLabel + Debug - GLUTExamples (Underwater) + + GeometryConfiguration + + DebugConsoleDrawerSize + {100, 120} + DebugConsoleVisible + None + DebugConsoleWindowFrame + {{200, 200}, {500, 300}} + DebugSTDIOWindowFrame + {{200, 200}, {500, 300}} + Frame + {{0, 0}, {916, 604}} + RubberWindowFrame + 218 192 916 686 0 0 1440 878 + + Module + PBXDebugSessionModule + Proportion + 604pt + + + Proportion + 644pt + + + Name + Debugger + ServiceClasses + + PBXDebugSessionModule + + StatusbarIsVisible + + TableOfContents + + 1CD10A99069EF8BA00B06720 + 221C344B07529B0400EB431B + 1C162984064C10D400B95A72 + 221C344C07529B0400EB431B + + ToolbarConfiguration + xcode.toolbar.config.debug + WindowString + 218 192 916 686 0 0 1440 878 + WindowToolGUID + 1CD10A99069EF8BA00B06720 + WindowToolIsVisible + + + + FirstTimeWindowDisplayed + + Identifier + windowTool.find + Layout + + + Dock + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1CDD528C0622207200134675 + PBXProjectModuleLabel + CHANGES.txt + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1CD0528D0623707200166675 + PBXProjectModuleLabel + CHANGES.txt + bookmark + 22C008170736D633008555A2 + history + + 22C0FB7507365135008555A2 + 22C0FB7607365135008555A2 + + prevStack + + 22C0F86B0735CF73008555A2 + 22C0F8740735CFDA008555A2 + 22C0F8A30735D40B008555A2 + 22C0F8A40735D40B008555A2 + 22C0F8BA0735D514008555A2 + 22C0F8E60735D8AF008555A2 + 22C0FB7707365135008555A2 + + + SplitCount + 1 + + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {837, 387}} + RubberWindowFrame + 94 68 837 751 0 0 1440 878 + + Module + PBXNavigatorGroup + Proportion + 837pt + + + Proportion + 387pt + + + ContentConfiguration + + PBXProjectModuleGUID + 1CD0528E0623707200166675 + PBXProjectModuleLabel + Project Find + + GeometryConfiguration + + Frame + {{0, 394}, {837, 315}} + RubberWindowFrame + 94 68 837 751 0 0 1440 878 + + Module + PBXProjectFindModule + Proportion + 315pt + + + Proportion + 709pt + + + Name + Project Find + ServiceClasses + + PBXProjectFindModule + + StatusbarIsVisible + + TableOfContents + + 1C530D57069F1CE1000CFCEE + 22C0F85C0735CA8B008555A2 + 22C0F85D0735CA8B008555A2 + 1CDD528C0622207200134675 + 1CD0528E0623707200166675 + + WindowString + 94 68 837 751 0 0 1440 878 + WindowToolGUID + 1C530D57069F1CE1000CFCEE + WindowToolIsVisible + + + + Identifier + MENUSEPARATOR + + + FirstTimeWindowDisplayed + + Identifier + windowTool.debuggerConsole + Layout + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1C78EAAC065D492600B07095 + PBXProjectModuleLabel + Debugger Console + + GeometryConfiguration + + Frame + {{0, 0}, {440, 358}} + RubberWindowFrame + 205 423 440 400 0 0 1440 878 + + Module + PBXDebugCLIModule + Proportion + 358pt + + + Proportion + 358pt + + + Name + Debugger Console + ServiceClasses + + PBXDebugCLIModule + + StatusbarIsVisible + + TableOfContents + + 22C0F6550735C72A008555A2 + 2286F30F07401286001164FE + 1C78EAAC065D492600B07095 + + WindowString + 205 423 440 400 0 0 1440 878 + WindowToolGUID + 22C0F6550735C72A008555A2 + WindowToolIsVisible + + + + FirstTimeWindowDisplayed + + Identifier + windowTool.run + Layout + + + Dock + + + ContentConfiguration + + LauncherConfigVersion + 3 + PBXProjectModuleGUID + 1CD0528B0623707200166675 + PBXProjectModuleLabel + Run + Runner + + HorizontalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {491, 167}} + {{0, 176}, {491, 267}} + + + VerticalSplitView + + _collapsingFrameDimension + 0.0 + _indexOfCollapsedView + 0 + _percentageOfCollapsedView + 0.0 + isCollapsed + yes + sizes + + {{0, 0}, {405, 443}} + {{414, 0}, {514, 443}} + + + + + GeometryConfiguration + + Frame + {{0, 0}, {570, 294}} + RubberWindowFrame + 846 138 570 336 0 0 1440 878 + + Module + PBXRunSessionModule + Proportion + 294pt + + + Proportion + 294pt + + + Name + Run Log + ServiceClasses + + PBXRunSessionModule + + StatusbarIsVisible + + TableOfContents + + 1C0AD2B3069F1EA900FABCE6 + 221C344D07529B0400EB431B + 1CD0528B0623707200166675 + 221C344E07529B0400EB431B + + ToolbarConfiguration + xcode.toolbar.config.run + WindowString + 846 138 570 336 0 0 1440 878 + WindowToolGUID + 1C0AD2B3069F1EA900FABCE6 + WindowToolIsVisible + + + + Identifier + windowTool.scm + Layout + + + Dock + + + ContentConfiguration + + PBXProjectModuleGUID + 1C78EAB2065D492600B07095 + PBXProjectModuleLabel + <No Editor> + PBXSplitModuleInNavigatorKey + + Split0 + + PBXProjectModuleGUID + 1C78EAB3065D492600B07095 + + SplitCount + 1 + + StatusBarVisibility + + + GeometryConfiguration + + Frame + {{0, 0}, {452, 0}} + RubberWindowFrame + 743 379 452 308 0 0 1280 1002 + + Module + PBXNavigatorGroup + Proportion + 0pt + + + BecomeActive + + ContentConfiguration + + PBXProjectModuleGUID + 1CD052920623707200166675 + PBXProjectModuleLabel + SCM + + GeometryConfiguration + + ConsoleFrame + {{0, 259}, {452, 0}} + Frame + {{0, 7}, {452, 259}} + RubberWindowFrame + 743 379 452 308 0 0 1280 1002 + TableConfiguration + + Status + 30 + FileName + 199 + Path + 197.09500122070312 + + TableFrame + {{0, 0}, {452, 250}} + + Module + PBXCVSModule + Proportion + 259pt + + + Proportion + 266pt + + + Name + SCM + ServiceClasses + + PBXCVSModule + + StatusbarIsVisible + + TableOfContents + + 1C78EAB4065D492600B07095 + 1C78EAB5065D492600B07095 + 1C78EAB2065D492600B07095 + 1CD052920623707200166675 + + WindowString + 743 379 452 308 0 0 1280 1002 + + + Identifier + windowTool.breakpoints + Layout + + + Dock + + + BecomeActive + + ContentConfiguration + + PBXProjectModuleGUID + 1CD052930623707200166675 + PBXProjectModuleLabel + Breakpoints + + GeometryConfiguration + + BreakpointsTreeTableConfiguration + + enabledColumn + 16 + breakpointColumn + 201.5830078125 + + Frame + {{0, 0}, {240, 195}} + RubberWindowFrame + 342 421 240 216 0 0 1440 878 + + Module + PBXDebugBreakpointsModule + Proportion + 195pt + + + Proportion + 195pt + + + Name + Breakpoints + ServiceClasses + + PBXDebugBreakpointsModule + + StatusbarIsVisible + + TableOfContents + + 1C0AD2AD069F1E9B00FABCE6 + 1C0AD2AE069F1E9B00FABCE6 + 1CD052930623707200166675 + + WindowString + 342 421 240 216 0 0 1440 878 + WindowToolGUID + 1C0AD2AD069F1E9B00FABCE6 + WindowToolIsVisible + + + + Identifier + windowTool.bookmarks + Layout + + + Dock + + + Module + PBXBookmarksModule + Proportion + 166pt + + + Proportion + 166pt + + + Name + Bookmarks + ServiceClasses + + PBXBookmarksModule + + StatusbarIsVisible + + WindowString + 538 42 401 187 0 0 1280 1002 + + + FirstTimeWindowDisplayed + + Identifier + windowTool.classBrowser + Layout + + + Dock + + + ContentConfiguration + + OptionsSetName + Hierarchy, all classes + PBXProjectModuleGUID + 1CA6456E063B45B4001379D8 + PBXProjectModuleLabel + Class Browser - NSObject + + GeometryConfiguration + + ClassesFrame + {{0, 0}, {374, 96}} + ClassesTreeTableConfiguration + + PBXClassNameColumnIdentifier + 208 + PBXClassBookColumnIdentifier + 22 + + Frame + {{0, 0}, {630, 331}} + MembersFrame + {{0, 105}, {374, 226}} + MembersTreeTableConfiguration + + PBXMemberTypeIconColumnIdentifier + 22 + PBXMemberNameColumnIdentifier + 216 + PBXMemberTypeColumnIdentifier + 97 + PBXMemberBookColumnIdentifier + 22 + + PBXModuleWindowStatusBarHidden2 + + RubberWindowFrame + 134 468 630 352 0 0 1440 878 + + Module + PBXClassBrowserModule + Proportion + 331pt + + + Proportion + 331pt + + + Name + Class Browser + ServiceClasses + + PBXClassBrowserModule + + StatusbarIsVisible + + TableOfContents + + 1C0AD2AF069F1E9B00FABCE6 + 22C0F9070735F3FB008555A2 + 1CA6456E063B45B4001379D8 + + ToolbarConfiguration + xcode.toolbar.config.classbrowser + WindowString + 134 468 630 352 0 0 1440 878 + WindowToolGUID + 1C0AD2AF069F1E9B00FABCE6 + WindowToolIsVisible + + + + + diff --git a/macosx/TuxPaint.xcode/mfuhrer.pbxuser b/macosx/TuxPaint.xcode/mfuhrer.pbxuser new file mode 100644 index 000000000..52f147287 --- /dev/null +++ b/macosx/TuxPaint.xcode/mfuhrer.pbxuser @@ -0,0 +1,895 @@ +// !$*UTF8*$! +{ + 089C165DFE840E0CC02AAC07 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {826, 443}}"; + sepNavSelRange = "{123, 0}"; + sepNavVisRect = "{{0, 0}, {826, 443}}"; + }; + }; + 220452DE0737175E005CCC84 = { + fRef = 089C165DFE840E0CC02AAC07; + isa = PBXTextBookmark; + name = "English: 5"; + rLen = 0; + rLoc = 141; + rType = 0; + vrLen = 252; + vrLoc = 0; + }; + 221C2ACD075299F700EB431B = { + fRef = 22C005D30736650D008555A2; + isa = PBXBookmark; + }; + 221C2ACE075299F700EB431B = { + fRef = 22C005D30736650D008555A2; + isa = PBXBookmark; + }; + 221C344407529B0400EB431B = { + fRef = 22581666074EE1A5005F774F; + isa = PBXTextBookmark; + name = "Read Me.txt: 1"; + rLen = 0; + rLoc = 11; + rType = 0; + vrLen = 1743; + vrLoc = 23; + }; + 221C344507529B0400EB431B = { + fRef = 22C0EA9A0735B76F008555A2; + isa = PBXTextBookmark; + name = "SDLMain.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 431; + vrLoc = 0; + }; + 221C344607529B0400EB431B = { + fRef = 22581666074EE1A5005F774F; + isa = PBXTextBookmark; + name = "Read Me.txt: 1"; + rLen = 0; + rLoc = 11; + rType = 0; + vrLen = 1743; + vrLoc = 23; + }; + 221C344707529B0400EB431B = { + fRef = 22C0EA9A0735B76F008555A2; + isa = PBXTextBookmark; + name = "SDLMain.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 431; + vrLoc = 0; + }; + 221C344807529B0400EB431B = { + fRef = 22C0EA9B0735B76F008555A2; + isa = PBXTextBookmark; + name = macosx; + rLen = 6; + rLoc = 2702; + rType = 0; + vrLen = 770; + vrLoc = 2124; + }; + 22581625074EB0FC005F774F = { + fRef = 22C0EA9B0735B76F008555A2; + isa = PBXTextBookmark; + name = CocoaToSDLBridge; + rLen = 16; + rLoc = 2198; + rType = 0; + vrLen = 925; + vrLoc = 2421; + }; + 22581648074EC8C7005F774F = { + fRef = 22C0EA9C0735B76F008555A2; + isa = PBXTextBookmark; + name = "wrapperdata.h: 7"; + rLen = 0; + rLoc = 151; + rType = 0; + vrLen = 607; + vrLoc = 0; + }; + 22581666074EE1A5005F774F = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {1862, 517}}"; + sepNavSelRange = "{11, 0}"; + sepNavVisRect = "{{0, 38}, {828, 479}}"; + }; + }; + 2258218D07509422005F774F = { + fRef = 22581666074EE1A5005F774F; + isa = PBXTextBookmark; + name = "Read Me: 8"; + rLen = 0; + rLoc = 619; + rType = 0; + vrLen = 1546; + vrLoc = 75; + }; + 22582E2107513FA5005F774F = { + fRef = 22C0EAB30735B851008555A2; + isa = PBXTextBookmark; + name = "tuxpaint.c: 10812"; + rLen = 0; + rLoc = 238983; + rType = 0; + vrLen = 848; + vrLoc = 238452; + }; + 2286F3600740B518001164FE = { + fRef = 2286F34E0740B3FC001164FE; + isa = PBXBookmark; + name = "SDLMain.nib (English)"; + }; + 22C005DE073665E1008555A2 = { + fRef = 089C165DFE840E0CC02AAC07; + isa = PBXTextBookmark; + name = "English: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 127; + vrLoc = 0; + }; + 22C005DF073665E1008555A2 = { + fRef = 8D1107310486CEB800E47090; + isa = PBXTextBookmark; + name = "Info.plist: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 773; + vrLoc = 0; + }; + 22C005FC073667AB008555A2 = { + fRef = 8D1107310486CEB800E47090; + isa = PBXTextBookmark; + name = "Info.plist: 10"; + rLen = 0; + rLoc = 362; + rType = 0; + vrLen = 798; + vrLoc = 0; + }; + 22C0E75A0735B6C0008555A2 = { + activeArgIndex = 2147483647; + activeArgIndices = ( + ); + argumentStrings = ( + ); + configStateDict = { + }; + cppStopOnCatchEnabled = 0; + cppStopOnThrowEnabled = 0; + customDataFormattersEnabled = 1; + debuggerPlugin = GDBDebugging; + disassemblyDisplayState = 0; + dylibVariantSuffix = ""; + enableDebugStr = 1; + environmentEntries = ( + ); + isa = PBXExecutable; + libgmallocEnabled = 0; + name = TuxPaint; + savedGlobals = { + }; + shlibInfoDictList = ( + ); + sourceDirectories = ( + ); + }; + 22C0E7640735B6C5008555A2 = { + fallbackIsa = XCSourceControlManager; + isSCMEnabled = 0; + isa = PBXSourceControlManager; + scmConfiguration = { + }; + scmType = ""; + }; + 22C0E7650735B6C5008555A2 = { + indexTemplatePath = ""; + isa = PBXCodeSenseManager; + usesDefaults = 1; + wantsCodeCompletion = 1; + wantsCodeCompletionAutoSuggestions = 0; + wantsCodeCompletionCaseSensitivity = 1; + wantsCodeCompletionListAlways = 1; + wantsCodeCompletionOnlyMatchingItems = 1; + wantsCodeCompletionParametersIncluded = 1; + wantsCodeCompletionPlaceholdersInserted = 1; + wantsCodeCompletionTabCompletes = 1; + wantsIndex = 1; + }; + 22C0EA9A0735B76F008555A2 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {828, 479}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {828, 479}}"; + }; + }; + 22C0EA9B0735B76F008555A2 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {828, 5123}}"; + sepNavSelRange = "{2702, 6}"; + sepNavVisRect = "{{0, 1182}, {828, 479}}"; + }; + }; + 22C0EA9C0735B76F008555A2 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {828, 479}}"; + sepNavSelRange = "{151, 0}"; + sepNavVisRect = "{{0, 0}, {828, 479}}"; + }; + }; + 22C0EAA30735B851008555A2 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {826, 1091}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 640}, {826, 443}}"; + }; + }; + 22C0EAA40735B851008555A2 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {826, 443}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {826, 443}}"; + }; + }; + 22C0EAAB0735B851008555A2 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {826, 443}}"; + sepNavSelRange = "{0, 0}"; + sepNavVisRect = "{{0, 0}, {826, 443}}"; + }; + }; + 22C0EAAC0735B851008555A2 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {826, 3219}}"; + sepNavSelRange = "{156, 0}"; + sepNavVisRect = "{{0, 0}, {826, 443}}"; + }; + }; + 22C0EAAD0735B851008555A2 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {879, 2155}}"; + sepNavSelRange = "{2316, 39}"; + sepNavVisRect = "{{0, 1421}, {879, 252}}"; + }; + }; + 22C0EAAE0735B851008555A2 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {826, 2757}}"; + sepNavSelRange = "{3663, 42}"; + sepNavVisRect = "{{0, 2287}, {826, 443}}"; + }; + }; + 22C0EAAF0735B851008555A2 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {826, 1315}}"; + sepNavSelRange = "{1592, 33}"; + sepNavVisRect = "{{0, 411}, {826, 443}}"; + }; + }; + 22C0EAB00735B851008555A2 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {879, 601}}"; + sepNavSelRange = "{446, 40}"; + sepNavVisRect = "{{0, 269}, {879, 332}}"; + }; + }; + 22C0EAB10735B851008555A2 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {826, 671}}"; + sepNavSelRange = "{58, 0}"; + sepNavVisRect = "{{0, 0}, {826, 443}}"; + }; + }; + 22C0EAB20735B851008555A2 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {944, 1721}}"; + sepNavSelRange = "{2281, 11}"; + sepNavVisRect = "{{0, 971}, {826, 443}}"; + }; + }; + 22C0EAB30735B851008555A2 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {842, 183385}}"; + sepNavSelRange = "{238998, 0}"; + sepNavVisRect = "{{0, 151108}, {828, 479}}"; + }; + }; + 22C0EAD30735B99F008555A2 = { + fRef = 22C0EA9A0735B76F008555A2; + isa = PBXTextBookmark; + name = "SDLMain.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 431; + vrLoc = 0; + }; + 22C0EAD50735B99F008555A2 = { + fRef = 22C0EA9C0735B76F008555A2; + isa = PBXTextBookmark; + name = "wrapperdata.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 607; + vrLoc = 0; + }; + 22C0F65F0735C7BE008555A2 = { + fRef = 22C0EAB30735B851008555A2; + isa = PBXTextBookmark; + name = Library/Preferences/tuxpaint; + rLen = 0; + rLoc = 2933; + rType = 0; + vrLen = 608; + vrLoc = 192121; + }; + 22C0F9140735F511008555A2 = { + fRef = 22C0EAB20735B851008555A2; + isa = PBXTextBookmark; + name = " DATA_PREFIX \"images/tools/brush.png\",\n"; + rLen = 40; + rLoc = 2239; + rType = 0; + vrLen = 996; + vrLoc = 1796; + }; + 22C0F9C1073614E8008555A2 = { + fRef = 22C0EAA40735B851008555A2; + isa = PBXTextBookmark; + name = "great.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 438; + vrLoc = 0; + }; + 22C0F9F907361A42008555A2 = { + fRef = 22C0EAAC0735B851008555A2; + isa = PBXTextBookmark; + name = "macosx_print.m: 7"; + rLen = 0; + rLoc = 156; + rType = 0; + vrLen = 578; + vrLoc = 0; + }; + 22C0FA0407361A42008555A2 = { + fRef = 22C0EAAC0735B851008555A2; + isa = PBXTextBookmark; + name = "macosx_print.m: 7"; + rLen = 0; + rLoc = 156; + rType = 0; + vrLen = 578; + vrLoc = 0; + }; + 22C0FA0507361A42008555A2 = { + fRef = 22C0EAAB0735B851008555A2; + isa = PBXTextBookmark; + name = "macosx_print.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 243; + vrLoc = 0; + }; + 22C0FA0707361A42008555A2 = { + fRef = 22C0EAA30735B851008555A2; + isa = PBXTextBookmark; + name = "colors.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 460; + vrLoc = 0; + }; + 22C0FA0907361A42008555A2 = { + fRef = 22C0EAB10735B851008555A2; + isa = PBXTextBookmark; + name = "titles.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 433; + vrLoc = 0; + }; + 22C0FA0A07361A42008555A2 = { + fRef = 22C0EAB00735B851008555A2; + isa = PBXTextBookmark; + name = " DATA_PREFIX \"images/tux/default.png\",\n"; + rLen = 40; + rLoc = 446; + rType = 0; + vrLen = 492; + vrLoc = 207; + }; + 22C0FA0B07361A42008555A2 = { + fRef = 22C0EAAF0735B851008555A2; + isa = PBXTextBookmark; + name = " DATA_PREFIX \"sounds/harp.wav\",\n"; + rLen = 33; + rLoc = 1592; + rType = 0; + vrLen = 1028; + vrLoc = 1192; + }; + 22C0FA0C07361A42008555A2 = { + fRef = 22C0EAAE0735B851008555A2; + isa = PBXTextBookmark; + name = " DATA_PREFIX \"images/shapes/square.png\",\n"; + rLen = 42; + rLoc = 3663; + rType = 0; + vrLen = 1102; + vrLoc = 3178; + }; + 22C0FA1807361CA8008555A2 = { + fRef = 22C0EAAD0735B851008555A2; + isa = PBXTextBookmark; + name = " DATA_PREFIX \"images/magic/rainbow.png\",\n"; + rLen = 42; + rLoc = 1937; + rType = 0; + vrLen = 1076; + vrLoc = 1361; + }; + 22C0FB9407365679008555A2 = { + fRef = 22C0EAB20735B851008555A2; + isa = PBXTextBookmark; + name = DATA_PREFIX; + rLen = 11; + rLoc = 2281; + rType = 0; + vrLen = 1245; + vrLoc = 1550; + }; + 22C0FB9507365679008555A2 = { + fRef = 22C0EAB10735B851008555A2; + isa = PBXTextBookmark; + name = "titles.h: 6"; + rLen = 0; + rLoc = 58; + rType = 0; + vrLen = 433; + vrLoc = 0; + }; + 22C0FB9607365679008555A2 = { + fRef = 22C0EAB00735B851008555A2; + isa = PBXTextBookmark; + name = DATA_PREFIX; + rLen = 11; + rLoc = 563; + rType = 0; + vrLen = 492; + vrLoc = 207; + }; + 22C0FB9907365679008555A2 = { + fRef = 22C0EAAB0735B851008555A2; + isa = PBXTextBookmark; + name = "macosx_print.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 243; + vrLoc = 0; + }; + 22C0FB9A07365679008555A2 = { + fRef = 22C0EAA40735B851008555A2; + isa = PBXTextBookmark; + name = "great.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 438; + vrLoc = 0; + }; + 22C0FB9B07365679008555A2 = { + fRef = 22C0EAA30735B851008555A2; + isa = PBXTextBookmark; + name = "colors.h: 1"; + rLen = 0; + rLoc = 0; + rType = 0; + vrLen = 762; + vrLoc = 711; + }; + 22C0FBAF073657BA008555A2 = { + fRef = 22C0EAAD0735B851008555A2; + isa = PBXTextBookmark; + name = " DATA_PREFIX \"images/magic/rainbow.png\",\n"; + rLen = 42; + rLoc = 1937; + rType = 0; + vrLen = 1076; + vrLoc = 1361; + }; + 22C0FBB0073657BA008555A2 = { + fRef = 22C0EAAE0735B851008555A2; + isa = PBXTextBookmark; + name = " DATA_PREFIX \"images/shapes/square.png\",\n"; + rLen = 42; + rLoc = 3663; + rType = 0; + vrLen = 1194; + vrLoc = 3085; + }; + 22CD74E8073709D200BAB60B = { + fRef = 22C0EAAF0735B851008555A2; + isa = PBXTextBookmark; + name = " DATA_PREFIX \"sounds/harp.wav\",\n"; + rLen = 33; + rLoc = 1592; + rType = 0; + vrLen = 1050; + vrLoc = 643; + }; + 22D01F1907434E9B00494AE0 = { + fRef = 22C0EA9B0735B76F008555A2; + isa = PBXTextBookmark; + name = "SDLMain.m: 12"; + rLen = 0; + rLoc = 369; + rType = 0; + vrLen = 943; + vrLoc = 124; + }; + 29B97313FDCFA39411CA2CEA = { + activeBuildStyle = 4A9504CCFFE6A4B311CA0CBA; + activeExecutable = 22C0E75A0735B6C0008555A2; + activeTarget = 8D1107260486CEB800E47090; + addToTargets = ( + 8D1107260486CEB800E47090, + ); + breakpoints = ( + ); + codeSenseManager = 22C0E7650735B6C5008555A2; + executables = ( + 22C0E75A0735B6C0008555A2, + ); + perUserDictionary = { + PBXConfiguration.PBXFileTableDataSource3.PBXErrorsWarningsDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXErrorsWarningsDataSource_LocationID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 530.8799, + 287.2085, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXErrorsWarningsDataSource_TypeID, + PBXErrorsWarningsDataSource_MessageID, + PBXErrorsWarningsDataSource_LocationID, + ); + }; + PBXConfiguration.PBXFileTableDataSource3.PBXExecutablesDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXExecutablesDataSource_NameID; + PBXFileTableDataSourceColumnWidthsKey = ( + 22, + 536.7974, + 279.5835, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXExecutablesDataSource_ActiveFlagID, + PBXExecutablesDataSource_NameID, + PBXExecutablesDataSource_CommentsID, + ); + }; + PBXConfiguration.PBXFileTableDataSource3.PBXFileTableDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 574, + 20, + 104, + 43, + 43, + 20, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXFileDataSource_FiletypeID, + PBXFileDataSource_Filename_ColumnID, + PBXFileDataSource_Built_ColumnID, + PBXFileDataSource_ObjectSize_ColumnID, + PBXFileDataSource_Errors_ColumnID, + PBXFileDataSource_Warnings_ColumnID, + PBXFileDataSource_Target_ColumnID, + ); + }; + PBXConfiguration.PBXFileTableDataSource3.XCSCMDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 20, + 565, + 20, + 89, + 43, + 43, + 20, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXFileDataSource_SCM_ColumnID, + PBXFileDataSource_FiletypeID, + PBXFileDataSource_Filename_ColumnID, + PBXFileDataSource_Built_ColumnID, + PBXFileDataSource_ObjectSize_ColumnID, + PBXFileDataSource_Errors_ColumnID, + PBXFileDataSource_Warnings_ColumnID, + PBXFileDataSource_Target_ColumnID, + ); + }; + PBXConfiguration.PBXTargetDataSource.PBXTargetDataSource = { + PBXFileTableDataSourceColumnSortingDirectionKey = "-1"; + PBXFileTableDataSourceColumnSortingKey = PBXFileDataSource_Filename_ColumnID; + PBXFileTableDataSourceColumnWidthsKey = ( + 20, + 488, + 105, + 20, + 105, + 43, + 43, + ); + PBXFileTableDataSourceColumnsKey = ( + PBXFileDataSource_FiletypeID, + PBXFileDataSource_Filename_ColumnID, + PBXTargetDataSource_PrimaryAttribute, + PBXFileDataSource_Built_ColumnID, + PBXFileDataSource_ObjectSize_ColumnID, + PBXFileDataSource_Errors_ColumnID, + PBXFileDataSource_Warnings_ColumnID, + ); + }; + PBXPerProjectTemplateStateSaveDate = 122854097; + PBXPrepackagedSmartGroups_v2 = ( + { + PBXTransientLocationAtTop = bottom; + absolutePathToBundle = ""; + activationKey = OldTargetSmartGroup; + clz = PBXTargetSmartGroup; + description = "Displays all targets of the project."; + globalID = 1C37FABC04509CD000000102; + name = Targets; + preferences = { + image = Targets; + }; + }, + { + PBXTransientLocationAtTop = bottom; + absolutePathToBundle = ""; + clz = PBXTargetSmartGroup2; + description = "Displays all targets of the project as well as nested build phases."; + globalID = 1C37FBAC04509CD000000102; + name = Targets; + preferences = { + image = Targets; + }; + }, + { + PBXTransientLocationAtTop = bottom; + absolutePathToBundle = ""; + clz = PBXExecutablesSmartGroup; + description = "Displays all executables of the project."; + globalID = 1C37FAAC04509CD000000102; + name = Executables; + preferences = { + image = Executable; + }; + }, + { + " PBXTransientLocationAtTop " = bottom; + absolutePathToBundle = ""; + clz = PBXErrorsWarningsSmartGroup; + description = "Displays files with errors or warnings."; + globalID = 1C08E77C0454961000C914BD; + name = "Errors and Warnings"; + preferences = { + fnmatch = ""; + image = WarningsErrors; + recursive = 1; + regex = ""; + root = ""; + }; + }, + { + PBXTransientLocationAtTop = bottom; + absolutePathToBundle = ""; + clz = PBXFilenameSmartGroup; + description = "Filters items in a given group (potentially recursively) based on matching the name with the regular expression of the filter."; + globalID = 1CC0EA4004350EF90044410B; + name = "Implementation Files"; + preferences = { + canSave = 1; + fnmatch = ""; + image = SmartFolder; + isLeaf = 0; + recursive = 1; + regex = "?*\\.[mcMC]"; + root = ""; + }; + }, + { + PBXTransientLocationAtTop = bottom; + absolutePathToBundle = ""; + clz = PBXFilenameSmartGroup; + description = "This group displays Interface Builder NIB Files."; + globalID = 1CC0EA4004350EF90041110B; + name = "NIB Files"; + preferences = { + canSave = 1; + fnmatch = "*.nib"; + image = SmartFolder; + isLeaf = 0; + recursive = 1; + regex = ""; + root = ""; + }; + }, + { + PBXTransientLocationAtTop = no; + absolutePathToBundle = ""; + clz = PBXFindSmartGroup; + description = "Displays Find Results."; + globalID = 1C37FABC05509CD000000102; + name = "Find Results"; + preferences = { + image = spyglass; + }; + }, + { + PBXTransientLocationAtTop = no; + absolutePathToBundle = ""; + clz = PBXBookmarksSmartGroup; + description = "Displays Project Bookmarks."; + globalID = 1C37FABC05539CD112110102; + name = Bookmarks; + preferences = { + image = Bookmarks; + }; + }, + { + PBXTransientLocationAtTop = bottom; + absolutePathToBundle = ""; + clz = XCSCMSmartGroup; + description = "Displays files with interesting SCM status."; + globalID = E2644B35053B69B200211256; + name = SCM; + preferences = { + image = PBXRepository; + isLeaf = 0; + }; + }, + { + PBXTransientLocationAtTop = bottom; + absolutePathToBundle = ""; + clz = PBXSymbolsSmartGroup; + description = "Displays all symbols for the project."; + globalID = 1C37FABC04509CD000100104; + name = "Project Symbols"; + preferences = { + image = ProjectSymbols; + isLeaf = 1; + }; + }, + { + PBXTransientLocationAtTop = bottom; + absolutePathToBundle = ""; + clz = PBXFilenameSmartGroup; + description = "Filters items in a given group (potentially recursively) based on matching the name with the regular expression of the filter."; + globalID = PBXTemplateMarker; + name = "Simple Filter SmartGroup"; + preferences = { + canSave = 1; + fnmatch = "*.nib"; + image = SmartFolder; + isLeaf = 0; + recursive = 1; + regex = ""; + root = ""; + }; + }, + { + PBXTransientLocationAtTop = bottom; + absolutePathToBundle = ""; + clz = PBXFilenameSmartGroup; + description = "Filters items in a given group (potentially recursively) based on matching the name with the regular expression of the filter."; + globalID = PBXTemplateMarker; + name = "Simple Regular Expression SmartGroup"; + preferences = { + canSave = 1; + fnmatch = ""; + image = SmartFolder; + isLeaf = 0; + recursive = 1; + regex = "?*\\.[mcMC]"; + root = ""; + }; + }, + { + PBXTransientLocationAtTop = bottom; + clz = XDDesignSmartGroup; + description = "Displays Xdesign models"; + globalID = 2E4A936305E6979E00701470; + name = Design; + preferences = { + image = Design; + isLeaf = 0; + }; + }, + ); + PBXWorkspaceStateSaveDate = 122854097; + }; + perUserProjectItems = { + 220452DE0737175E005CCC84 = 220452DE0737175E005CCC84; + 221C2ACD075299F700EB431B = 221C2ACD075299F700EB431B; + 221C2ACE075299F700EB431B = 221C2ACE075299F700EB431B; + 221C344407529B0400EB431B = 221C344407529B0400EB431B; + 221C344507529B0400EB431B = 221C344507529B0400EB431B; + 221C344607529B0400EB431B = 221C344607529B0400EB431B; + 221C344707529B0400EB431B = 221C344707529B0400EB431B; + 221C344807529B0400EB431B = 221C344807529B0400EB431B; + 22581625074EB0FC005F774F = 22581625074EB0FC005F774F; + 22581648074EC8C7005F774F = 22581648074EC8C7005F774F; + 2258218D07509422005F774F = 2258218D07509422005F774F; + 22582E2107513FA5005F774F = 22582E2107513FA5005F774F; + 2286F3600740B518001164FE = 2286F3600740B518001164FE; + 22C005DE073665E1008555A2 = 22C005DE073665E1008555A2; + 22C005DF073665E1008555A2 = 22C005DF073665E1008555A2; + 22C005FC073667AB008555A2 = 22C005FC073667AB008555A2; + 22C0EAD30735B99F008555A2 = 22C0EAD30735B99F008555A2; + 22C0EAD50735B99F008555A2 = 22C0EAD50735B99F008555A2; + 22C0F65F0735C7BE008555A2 = 22C0F65F0735C7BE008555A2; + 22C0F9140735F511008555A2 = 22C0F9140735F511008555A2; + 22C0F9C1073614E8008555A2 = 22C0F9C1073614E8008555A2; + 22C0F9F907361A42008555A2 = 22C0F9F907361A42008555A2; + 22C0FA0407361A42008555A2 = 22C0FA0407361A42008555A2; + 22C0FA0507361A42008555A2 = 22C0FA0507361A42008555A2; + 22C0FA0707361A42008555A2 = 22C0FA0707361A42008555A2; + 22C0FA0907361A42008555A2 = 22C0FA0907361A42008555A2; + 22C0FA0A07361A42008555A2 = 22C0FA0A07361A42008555A2; + 22C0FA0B07361A42008555A2 = 22C0FA0B07361A42008555A2; + 22C0FA0C07361A42008555A2 = 22C0FA0C07361A42008555A2; + 22C0FA1807361CA8008555A2 = 22C0FA1807361CA8008555A2; + 22C0FB9407365679008555A2 = 22C0FB9407365679008555A2; + 22C0FB9507365679008555A2 = 22C0FB9507365679008555A2; + 22C0FB9607365679008555A2 = 22C0FB9607365679008555A2; + 22C0FB9907365679008555A2 = 22C0FB9907365679008555A2; + 22C0FB9A07365679008555A2 = 22C0FB9A07365679008555A2; + 22C0FB9B07365679008555A2 = 22C0FB9B07365679008555A2; + 22C0FBAF073657BA008555A2 = 22C0FBAF073657BA008555A2; + 22C0FBB0073657BA008555A2 = 22C0FBB0073657BA008555A2; + 22CD74E8073709D200BAB60B = 22CD74E8073709D200BAB60B; + 22D01F1907434E9B00494AE0 = 22D01F1907434E9B00494AE0; + }; + sourceControlManager = 22C0E7640735B6C5008555A2; + userBuildSettings = { + }; + }; + 8D1107260486CEB800E47090 = { + activeExec = 0; + executables = ( + 22C0E75A0735B6C0008555A2, + ); + }; + 8D1107310486CEB800E47090 = { + uiCtxt = { + sepNavIntBoundsRect = "{{0, 0}, {826, 443}}"; + sepNavSelRange = "{362, 0}"; + sepNavVisRect = "{{0, 0}, {826, 443}}"; + }; + }; +} diff --git a/macosx/TuxPaint.xcode/project.pbxproj b/macosx/TuxPaint.xcode/project.pbxproj new file mode 100644 index 000000000..54e9f60f6 --- /dev/null +++ b/macosx/TuxPaint.xcode/project.pbxproj @@ -0,0 +1,725 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 39; + objects = { + 080E96DDFE201D6D7F000001 = { + children = ( + 22C0EA9A0735B76F008555A2, + 22C0EA9B0735B76F008555A2, + 22C0EA9C0735B76F008555A2, + ); + isa = PBXGroup; + name = Classes; + refType = 4; + sourceTree = ""; + }; + 089C165CFE840E0CC02AAC07 = { + children = ( + 089C165DFE840E0CC02AAC07, + ); + isa = PBXVariantGroup; + name = InfoPlist.strings; + refType = 4; + sourceTree = ""; + }; + 089C165DFE840E0CC02AAC07 = { + fileEncoding = 10; + isa = PBXFileReference; + lastKnownFileType = text.plist.strings; + name = English; + path = English.lproj/InfoPlist.strings; + refType = 4; + sourceTree = ""; + }; +//080 +//081 +//082 +//083 +//084 +//100 +//101 +//102 +//103 +//104 + 1058C7A0FEA54F0111CA2CBB = { + children = ( + 1058C7A1FEA54F0111CA2CBB, + ); + isa = PBXGroup; + name = "Linked Frameworks"; + refType = 4; + sourceTree = ""; + }; + 1058C7A1FEA54F0111CA2CBB = { + isa = PBXFileReference; + lastKnownFileType = wrapper.framework; + name = Cocoa.framework; + path = /System/Library/Frameworks/Cocoa.framework; + refType = 0; + sourceTree = ""; + }; + 1058C7A2FEA54F0111CA2CBB = { + children = ( + 2258162D074EB1A6005F774F, + 2258162E074EB1A6005F774F, + 2258162F074EB1A6005F774F, + 22581630074EB1A6005F774F, + ); + isa = PBXGroup; + name = "Local Frameworks"; + refType = 4; + sourceTree = ""; + }; +//100 +//101 +//102 +//103 +//104 +//190 +//191 +//192 +//193 +//194 + 19C28FACFE9D520D11CA2CBB = { + children = ( + 8D1107320486CEB800E47090, + ); + isa = PBXGroup; + name = Products; + refType = 4; + sourceTree = ""; + }; +//190 +//191 +//192 +//193 +//194 +//220 +//221 +//222 +//223 +//224 + 2258162D074EB1A6005F774F = { + isa = PBXFileReference; + lastKnownFileType = wrapper.framework; + name = SDL_image.framework; + path = /Library/Frameworks/SDL_image.framework; + refType = 0; + sourceTree = ""; + }; + 2258162E074EB1A6005F774F = { + isa = PBXFileReference; + lastKnownFileType = wrapper.framework; + name = SDL_mixer.framework; + path = /Library/Frameworks/SDL_mixer.framework; + refType = 0; + sourceTree = ""; + }; + 2258162F074EB1A6005F774F = { + isa = PBXFileReference; + lastKnownFileType = wrapper.framework; + name = SDL_ttf.framework; + path = /Library/Frameworks/SDL_ttf.framework; + refType = 0; + sourceTree = ""; + }; + 22581630074EB1A6005F774F = { + isa = PBXFileReference; + lastKnownFileType = wrapper.framework; + name = SDL.framework; + path = /Library/Frameworks/SDL.framework; + refType = 0; + sourceTree = ""; + }; + 22581631074EB1A6005F774F = { + fileRef = 2258162D074EB1A6005F774F; + isa = PBXBuildFile; + settings = { + }; + }; + 22581632074EB1A6005F774F = { + fileRef = 2258162E074EB1A6005F774F; + isa = PBXBuildFile; + settings = { + }; + }; + 22581633074EB1A6005F774F = { + fileRef = 2258162F074EB1A6005F774F; + isa = PBXBuildFile; + settings = { + }; + }; + 22581634074EB1A6005F774F = { + fileRef = 22581630074EB1A6005F774F; + isa = PBXBuildFile; + settings = { + }; + }; + 22581666074EE1A5005F774F = { + fileEncoding = 4; + isa = PBXFileReference; + lastKnownFileType = text; + path = "Read Me.txt"; + refType = 4; + sourceTree = ""; + }; + 22581667074EE1A5005F774F = { + fileRef = 22581666074EE1A5005F774F; + isa = PBXBuildFile; + settings = { + }; + }; + 2286F34D0740B3FC001164FE = { + children = ( + 2286F34E0740B3FC001164FE, + ); + isa = PBXVariantGroup; + name = SDLMain.nib; + path = ""; + refType = 4; + sourceTree = ""; + }; + 2286F34E0740B3FC001164FE = { + isa = PBXFileReference; + lastKnownFileType = wrapper.nib; + name = English; + path = English.lproj/SDLMain.nib; + refType = 4; + sourceTree = ""; + }; + 2286F34F0740B3FC001164FE = { + fileRef = 2286F34D0740B3FC001164FE; + isa = PBXBuildFile; + settings = { + }; + }; + 22C005D30736650D008555A2 = { + isa = PBXFileReference; + lastKnownFileType = image.icns; + path = tuxpaint.icns; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C005D40736650D008555A2 = { + fileRef = 22C005D30736650D008555A2; + isa = PBXBuildFile; + settings = { + }; + }; + 22C0EA9A0735B76F008555A2 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = SDLMain.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EA9B0735B76F008555A2 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.objc; + path = SDLMain.m; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EA9C0735B76F008555A2 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + path = wrapperdata.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EA9E0735B76F008555A2 = { + fileRef = 22C0EA9B0735B76F008555A2; + isa = PBXBuildFile; + settings = { + }; + }; + 22C0EAA30735B851008555A2 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = colors.h; + path = ../src/colors.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EAA40735B851008555A2 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = great.h; + path = ../src/great.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EAAB0735B851008555A2 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = macosx_print.h; + path = ../src/macosx_print.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EAAC0735B851008555A2 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.objc; + name = macosx_print.m; + path = ../src/macosx_print.m; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EAAD0735B851008555A2 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = magic.h; + path = ../src/magic.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EAAE0735B851008555A2 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = shapes.h; + path = ../src/shapes.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EAAF0735B851008555A2 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = sounds.h; + path = ../src/sounds.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EAB00735B851008555A2 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = tip_tux.h; + path = ../src/tip_tux.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EAB10735B851008555A2 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = titles.h; + path = ../src/titles.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EAB20735B851008555A2 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.h; + name = tools.h; + path = ../src/tools.h; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EAB30735B851008555A2 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.c; + name = tuxpaint.c; + path = ../src/tuxpaint.c; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EABD0735B851008555A2 = { + fileRef = 22C0EAAC0735B851008555A2; + isa = PBXBuildFile; + settings = { + }; + }; + 22C0EAC40735B851008555A2 = { + fileRef = 22C0EAB30735B851008555A2; + isa = PBXBuildFile; + settings = { + }; + }; + 22C0EBB50735BED0008555A2 = { + isa = PBXFileReference; + lastKnownFileType = folder; + name = docs; + path = ../docs; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0ED760735BED1008555A2 = { + isa = PBXFileReference; + lastKnownFileType = folder; + name = fonts; + path = ../fonts; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0ED9A0735BED1008555A2 = { + isa = PBXFileReference; + lastKnownFileType = folder; + name = stamps; + path = ../stamps; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EDAF0735BED1008555A2 = { + isa = PBXFileReference; + lastKnownFileType = folder; + name = starters; + path = ../starters; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0EDBB0735BED1008555A2 = { + fileRef = 22C0EBB50735BED0008555A2; + isa = PBXBuildFile; + settings = { + }; + }; + 22C0EDBC0735BED1008555A2 = { + fileRef = 22C0ED760735BED1008555A2; + isa = PBXBuildFile; + settings = { + }; + }; + 22C0EDBD0735BED1008555A2 = { + fileRef = 22C0ED9A0735BED1008555A2; + isa = PBXBuildFile; + settings = { + }; + }; + 22C0EDBE0735BED1008555A2 = { + fileRef = 22C0EDAF0735BED1008555A2; + isa = PBXBuildFile; + settings = { + }; + }; + 22C0F5350735BFA8008555A2 = { + isa = PBXFileReference; + lastKnownFileType = folder; + name = brushes; + path = ../data/brushes; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0F5500735BFA8008555A2 = { + isa = PBXFileReference; + lastKnownFileType = folder; + name = fonts; + path = ../data/fonts; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0F5600735BFA8008555A2 = { + isa = PBXFileReference; + lastKnownFileType = folder; + name = images; + path = ../data/images; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0F5CE0735BFA8008555A2 = { + isa = PBXFileReference; + lastKnownFileType = folder; + name = sounds; + path = ../data/sounds; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22C0F5F60735BFA8008555A2 = { + fileRef = 22C0F5350735BFA8008555A2; + isa = PBXBuildFile; + settings = { + }; + }; + 22C0F5F70735BFA8008555A2 = { + fileRef = 22C0F5500735BFA8008555A2; + isa = PBXBuildFile; + settings = { + }; + }; + 22C0F5F80735BFA8008555A2 = { + fileRef = 22C0F5600735BFA8008555A2; + isa = PBXBuildFile; + settings = { + }; + }; + 22C0F5F90735BFA8008555A2 = { + fileRef = 22C0F5CE0735BFA8008555A2; + isa = PBXBuildFile; + settings = { + }; + }; + 22D01F2F07434FD100494AE0 = { + isa = PBXFileReference; + lastKnownFileType = folder; + name = locale; + path = ../locale; + refType = 2; + sourceTree = SOURCE_ROOT; + }; + 22D0201207434FD200494AE0 = { + fileRef = 22D01F2F07434FD100494AE0; + isa = PBXBuildFile; + settings = { + }; + }; + 22D5D2A80738498300B67229 = { + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + ); + isa = PBXCopyFilesBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; +//220 +//221 +//222 +//223 +//224 +//290 +//291 +//292 +//293 +//294 + 29B97313FDCFA39411CA2CEA = { + buildSettings = { + }; + buildStyles = ( + 4A9504CCFFE6A4B311CA0CBA, + 4A9504CDFFE6A4B311CA0CBA, + ); + hasScannedForEncodings = 1; + isa = PBXProject; + mainGroup = 29B97314FDCFA39411CA2CEA; + projectDirPath = ""; + targets = ( + 8D1107260486CEB800E47090, + ); + }; + 29B97314FDCFA39411CA2CEA = { + children = ( + 22581666074EE1A5005F774F, + 080E96DDFE201D6D7F000001, + 29B97315FDCFA39411CA2CEA, + 29B97317FDCFA39411CA2CEA, + 29B97323FDCFA39411CA2CEA, + 19C28FACFE9D520D11CA2CBB, + ); + isa = PBXGroup; + name = TuxPaint; + path = ""; + refType = 4; + sourceTree = ""; + }; + 29B97315FDCFA39411CA2CEA = { + children = ( + 22C0EAA30735B851008555A2, + 22C0EAA40735B851008555A2, + 22C0EAAB0735B851008555A2, + 22C0EAAC0735B851008555A2, + 22C0EAAD0735B851008555A2, + 22C0EAAE0735B851008555A2, + 22C0EAAF0735B851008555A2, + 22C0EAB00735B851008555A2, + 22C0EAB10735B851008555A2, + 22C0EAB20735B851008555A2, + 22C0EAB30735B851008555A2, + ); + isa = PBXGroup; + name = "TuxPaint Sources"; + path = ""; + refType = 4; + sourceTree = ""; + }; + 29B97317FDCFA39411CA2CEA = { + children = ( + 22D01F2F07434FD100494AE0, + 2286F34D0740B3FC001164FE, + 22C005D30736650D008555A2, + 22C0F5350735BFA8008555A2, + 22C0F5500735BFA8008555A2, + 22C0F5600735BFA8008555A2, + 22C0F5CE0735BFA8008555A2, + 22C0EBB50735BED0008555A2, + 22C0ED760735BED1008555A2, + 22C0ED9A0735BED1008555A2, + 22C0EDAF0735BED1008555A2, + 8D1107310486CEB800E47090, + 089C165CFE840E0CC02AAC07, + ); + isa = PBXGroup; + name = Resources; + path = ""; + refType = 4; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA = { + children = ( + 1058C7A0FEA54F0111CA2CBB, + 1058C7A2FEA54F0111CA2CBB, + ); + isa = PBXGroup; + name = Frameworks; + path = ""; + refType = 4; + sourceTree = ""; + }; +//290 +//291 +//292 +//293 +//294 +//4A0 +//4A1 +//4A2 +//4A3 +//4A4 + 4A9504CCFFE6A4B311CA0CBA = { + buildSettings = { + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + }; + isa = PBXBuildStyle; + name = Development; + }; + 4A9504CDFFE6A4B311CA0CBA = { + buildSettings = { + COPY_PHASE_STRIP = YES; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + ZERO_LINK = NO; + }; + isa = PBXBuildStyle; + name = Deployment; + }; +//4A0 +//4A1 +//4A2 +//4A3 +//4A4 +//8D0 +//8D1 +//8D2 +//8D3 +//8D4 + 8D1107260486CEB800E47090 = { + buildPhases = ( + 8D1107290486CEB800E47090, + 8D11072C0486CEB800E47090, + 8D11072E0486CEB800E47090, + 22D5D2A80738498300B67229, + ); + buildRules = ( + ); + buildSettings = { + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ""; + GCC_PREPROCESSOR_DEFINITIONS = "DATA_PREFIX=\\\"TuxPaint.app/Contents/Resources/\\\" DOC_PREFIX=\\\"./share/doc/tuxpaint/\\\" CONFDIR=\\\"$(HOME)/Library/Application\\ Support/TuxPaint/\\\" LOCALEDIR=\\\"TuxPaint.app/Contents/Resources/locale/\\\" CURSOR_SHAPES=SMALL __APPLE__"; + HEADER_SEARCH_PATHS = "/sw/include/SDL /sw/include ../src/mouse/16x16/"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + LIBRARY_STYLE = STATIC; + MACOSX_DEPLOYMENT_TARGET = 10.1; + OTHER_CFLAGS = ""; + OTHER_CPLUSPLUSFLAGS = ""; + OTHER_LDFLAGS = "/sw/lib/libpng.a /sw/lib/libintl.a -lz -liconv"; + PRODUCT_NAME = TuxPaint; + WRAPPER_EXTENSION = app; + }; + dependencies = ( + ); + isa = PBXNativeTarget; + name = TuxPaint; + productInstallPath = "$(HOME)/Applications"; + productName = TuxPaint; + productReference = 8D1107320486CEB800E47090; + productType = "com.apple.product-type.application"; + }; + 8D1107290486CEB800E47090 = { + buildActionMask = 2147483647; + files = ( + 8D11072B0486CEB800E47090, + 22C0EDBB0735BED1008555A2, + 22C0EDBC0735BED1008555A2, + 22C0EDBD0735BED1008555A2, + 22C0EDBE0735BED1008555A2, + 22C0F5F60735BFA8008555A2, + 22C0F5F70735BFA8008555A2, + 22C0F5F80735BFA8008555A2, + 22C0F5F90735BFA8008555A2, + 22C005D40736650D008555A2, + 2286F34F0740B3FC001164FE, + 22D0201207434FD200494AE0, + 22581667074EE1A5005F774F, + ); + isa = PBXResourcesBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 8D11072B0486CEB800E47090 = { + fileRef = 089C165CFE840E0CC02AAC07; + isa = PBXBuildFile; + settings = { + }; + }; + 8D11072C0486CEB800E47090 = { + buildActionMask = 2147483647; + files = ( + 22C0EA9E0735B76F008555A2, + 22C0EABD0735B851008555A2, + 22C0EAC40735B851008555A2, + ); + isa = PBXSourcesBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 8D11072E0486CEB800E47090 = { + buildActionMask = 2147483647; + files = ( + 8D11072F0486CEB800E47090, + 22581631074EB1A6005F774F, + 22581632074EB1A6005F774F, + 22581633074EB1A6005F774F, + 22581634074EB1A6005F774F, + ); + isa = PBXFrameworksBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 8D11072F0486CEB800E47090 = { + fileRef = 1058C7A1FEA54F0111CA2CBB; + isa = PBXBuildFile; + settings = { + }; + }; + 8D1107310486CEB800E47090 = { + fileEncoding = 4; + isa = PBXFileReference; + lastKnownFileType = text.plist; + path = Info.plist; + refType = 4; + sourceTree = ""; + }; + 8D1107320486CEB800E47090 = { + explicitFileType = wrapper.application; + includeInIndex = 0; + isa = PBXFileReference; + path = TuxPaint.app; + refType = 3; + sourceTree = BUILT_PRODUCTS_DIR; + }; + }; + rootObject = 29B97313FDCFA39411CA2CEA; +} diff --git a/macosx/tuxpaint.icns b/macosx/tuxpaint.icns new file mode 100755 index 000000000..421c8e0c1 Binary files /dev/null and b/macosx/tuxpaint.icns differ diff --git a/macosx/version.plist b/macosx/version.plist new file mode 100644 index 000000000..df8c3dc7d --- /dev/null +++ b/macosx/version.plist @@ -0,0 +1,16 @@ + + + + + BuildVersion + 92 + CFBundleVersion + 1.0 + ProductBuildVersion + 7K571 + ProjectName + NibPBTemplates + SourceVersion + 1200000 + + diff --git a/macosx/wrapperdata.h b/macosx/wrapperdata.h new file mode 100644 index 000000000..ec84de9f9 --- /dev/null +++ b/macosx/wrapperdata.h @@ -0,0 +1,24 @@ +/* + * wrapperdata.h + * SuperTux + * + * Created by Martin Fuhrer on Wed May 12 2004. + * Copyright (c) 2004 __MyCompanyName__. All rights reserved. + * + */ + +#ifndef WRAPPER_DATA +#define WRAPPER_DATA + +struct WrapperDataStruct +{ + char dataPath[2048]; // path to data folder inside application bundle + char preferencesPath[2048]; // path to the user's preferences folder + int foundSDL; // was SDL.framework found? + int foundSDL_image; // was SDL_image.framework found? + int foundSDL_mixer; // was SDL_mixer.framework found? +}; + +typedef struct WrapperDataStruct WrapperData; + +#endif \ No newline at end of file