Robert Sesek [Wed, 27 Feb 2008 22:44:08 +0000 (17:44 -0500)]
Define a BLU_DEBUG so we can NSLog() the buffer in debug mode but not in release
* PrintDrop.xcodeproj: Define BLU_DEBUG for the PrintDrop-Debug target
* Source/AppController.m:
([AppController readChannel:]): If BLU_DEBUG is defined, NSLog() the buffer
Robert Sesek [Wed, 27 Feb 2008 19:59:39 +0000 (14:59 -0500)]
Adding a Printers.plist file so that the printers aren't hard-coded into PrintDrop but rather are in an XML file
* English.lproj/Printers.plist: New file
* PrintDrop.xcodeproj: Project updates for the plist file
* Source/AppController.h: Changing printers to be an NSArray instead of NSMutableArray
* Source/AppController.m:
([AppController init]): Simply load the plist instead of creating a NSMutableArray of NSDictionary's
Robert Sesek [Mon, 25 Feb 2008 23:22:27 +0000 (18:22 -0500)]
Renaming FileDropBoxView to DraggableImageView and making the GradientBackView repaint completely each time.
The draggable view is now an NSImageView subclass that resides in the NSBox instead of subclassing NSBox and programatically creating an NSImageView (that we couldn't drag on because it wouldn't be the responder to the drag op).
Robert Sesek [Mon, 25 Feb 2008 21:49:37 +0000 (16:49 -0500)]
Creating an empty subclass of NSBox to handle file drag-and-drop
* English.lproj/MainMenu.nib: Set the custom subclass
* PrintDrop.xcodeproj: Project updates for the new source files
* Source/FileDropBoxView.h: New file
* Source/FileDropBoxView.m: New file
Robert Sesek [Mon, 25 Feb 2008 21:45:00 +0000 (16:45 -0500)]
Adding a gradient NSView subclass to draw the pretty gradient
* English.lproj/MainMenu.nib: set the NSView subclass
* PrintDrop.xcodeproj: Project updates for the new source files
* Source/GradientBack.h: New file
* Source/GradientBack.m: New file