Mac OS X updates: Fixed typing in Mac print dialogs. Fixed endian issue so that printing from an Intel-based Mac no longer messes up colors. Added automatic scaling and orientation of image for Mac printing. Added menu items to Mac menu bar - New, Open, Save, Print, Page Setup, Undo, Redo. Use standard Mac arrow cursror rather than custom Tux Paint arrow cursor for more consistent look and feel.

This commit is contained in:
Martin Fuhrer 2007-06-12 05:29:25 +00:00
parent 0d7887897b
commit 9a8fc843d3
9 changed files with 388 additions and 137 deletions

View file

@ -1,6 +1,6 @@
/*
* wrapperdata.h
* TuxPaint
* Tux Paint
*
* Created by Martin Fuhrer on Wed May 12 2004.
* Copyright (c) 2004 __MyCompanyName__. All rights reserved.
@ -14,12 +14,14 @@
struct WrapperDataStruct
{
char dataPath[2048]; // path to data folder inside application bundle
char dataPath[2048]; // path to data folder inside application bundle
char preferencesPath[2048]; // path to the user's preferences folder
char fontsPath[2048]; // path to the user's fonts folder
int foundSDL; // was SDL.framework found?
int foundSDL_image; // was SDL_image.framework found?
int foundSDL_mixer; // was SDL_mixer.framework found?
char fontsPath[2048]; // path to the user's fonts folder
int foundSDL; // was SDL.framework found?
int foundSDL_image; // was SDL_image.framework found?
int foundSDL_mixer; // was SDL_mixer.framework found?
int cocoaKeystrokes; // should keystrokes be intercepted by Cocoa wrapper?
int menuAction; // was the action initiated by a Mac OS X menu selection?
};
typedef struct WrapperDataStruct WrapperData;