|
Revision 113, 0.6 KB
(checked in by mike, 2 years ago)
|
|
[fix] QDocumentOpenGLView draw black bg if no savedImage
[fix] remove of dead code
|
| Line | |
|---|
| 1 | // |
|---|
| 2 | // Prefix header for all source files of the 'Q' target in the 'Q' project |
|---|
| 3 | // |
|---|
| 4 | |
|---|
| 5 | #ifdef __OBJC__ |
|---|
| 6 | #import <Cocoa/Cocoa.h> |
|---|
| 7 | #endif |
|---|
| 8 | |
|---|
| 9 | //#define DEBUG |
|---|
| 10 | #ifdef DEBUG |
|---|
| 11 | #define Q_DEBUG(...) { (void) NSLog (@"[%@ %@] (%D)", [[NSString stringWithFormat:@"%s", __FILE__] lastPathComponent], [NSString stringWithFormat:__VA_ARGS__], __LINE__); } |
|---|
| 12 | #else |
|---|
| 13 | #define Q_DEBUG(...) ((void) 0) |
|---|
| 14 | #endif |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | #define cgrect(nsrect) (*(CGRect *)&(nsrect)) |
|---|
| 18 | |
|---|
| 19 | #define initWithArrayOfAllowedFileTypes initWithObjects:@"qcow2", @"qcow", @"raw", @"cow", @"vmdk", @"cloop", @"img", @"iso", @"dsk", @"dmg", @"cdr", @"toast", @"flp", @"fs", nil |
|---|