-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Adding source for DrawDemo_src_1.0b7 from http://www.apptree.net/dr…
- Loading branch information
1 parent
6a68387
commit 4f972d8
Showing
144 changed files
with
69,025 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// Prefix header for all source files of the 'GCDrawDemo' target in the 'GCDrawDemo' project | ||
// | ||
|
||
#ifndef qDebug | ||
#define NS_BLOCK_ASSERTIONS | ||
#define NDEBUG | ||
#endif | ||
|
||
// To verify this project does not rely on symbols unavailable in its minimum OS version (i.e., its MACOSX_DEPLOYMENT_TARGET), temporarily set the following constant to 1 and rebuild all configurations from scratch. You will get a warning you are doing the test, but all other warnings indicate use of something beyond what is available in this project's minimum OS. | ||
#if 0 | ||
#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_MIN_REQUIRED | ||
#warning Verifying symbol availability in minimum OS. All warnings besides this one indicate use of something beyond what is available in the project's minimum OS. You should not see this warning when building a release version for customers. | ||
#endif | ||
|
||
#define qUseLogEvent | ||
|
||
#ifdef __OBJC__ | ||
#import <Cocoa/Cocoa.h> | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/* DrawingSizeController */ | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
|
||
@class DKDrawing; | ||
|
||
|
||
|
||
@interface DrawingSizeController : NSWindowController | ||
{ | ||
IBOutlet id mBottomMarginTextField; | ||
IBOutlet id mGridDivsTextField; | ||
IBOutlet id mGridMajorsTextField; | ||
IBOutlet id mGridPreviewCheckbox; | ||
IBOutlet id mGridSpanTextField; | ||
IBOutlet id mGridThemeColourWell; | ||
IBOutlet id mHeightTextField; | ||
IBOutlet id mLeftMarginTextField; | ||
IBOutlet id mRightMarginTextField; | ||
IBOutlet id mTopMarginTextField; | ||
IBOutlet id mTweakMarginsCheckbox; | ||
IBOutlet id mUnitsComboBox; | ||
IBOutlet id mWidthTextField; | ||
IBOutlet id mGridControlsBox; | ||
IBOutlet id mGridDivsSpinControl; | ||
IBOutlet id mGridMajorsSpinControl; | ||
IBOutlet id mGridAbbrevUnitsText; | ||
IBOutlet id mGridPrintCheckbox; | ||
IBOutlet id mGridRulerStepsTextField; | ||
IBOutlet id mGridRulerStepsSpinControl; | ||
IBOutlet id mConversionFactorTextField; | ||
IBOutlet id mConversionFactorSpinControl; | ||
IBOutlet id mConversionFactorLabelText; | ||
IBOutlet id mPaperColourWell; | ||
|
||
DKDrawing* mDrawing; | ||
BOOL mLivePreview; | ||
float mUnitConversionFactor; | ||
float mSavedSpan; | ||
float mSavedCF; | ||
int mSavedDivs; | ||
int mSavedMajors; | ||
NSString* mSavedUnits; | ||
NSColor* mSavedGridColour; | ||
NSColor* mSavedPaperColour; | ||
} | ||
|
||
|
||
- (void) beginDrawingSizeDialog:(NSWindow*) parent withDrawing:(DKDrawing*) drawing; | ||
|
||
- (IBAction) cancelAction:(id)sender; | ||
- (IBAction) gridDivsAction:(id)sender; | ||
- (IBAction) gridMajorsAction:(id)sender; | ||
- (IBAction) gridSpanAction:(id)sender; | ||
- (IBAction) gridRulerStepsAction:(id) sender; | ||
- (IBAction) gridThemeColourAction:(id)sender; | ||
- (IBAction) gridPrintAction:(id) sender; | ||
- (IBAction) livePreviewAction:(id)sender; | ||
- (IBAction) okAction:(id)sender; | ||
- (IBAction) unitsComboBoxAction:(id) sender; | ||
- (IBAction) conversionFactorAction:(id) sender; | ||
- (IBAction) paperColourAction:(id) sender; | ||
|
||
@end |
Oops, something went wrong.