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
#define blockSafe_cat(A, B) A##B | |
#define blockSafe_line(V, TMP) typeof(V) blockSafe_cat(blockSafe_tmp__, TMP) = V; __block typeof(V) V = blockSafe_cat(blockSafe_tmp__, TMP) | |
#define blockSafe(V) blockSafe_line(V, __LINE__) |
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
#include "Painting.h" | |
#include "Bezier.h" | |
#include "ProgressOp.h" | |
#include <math.h> | |
#include <sys/time.h> | |
#include <float.h> | |
#define MAX_ZOOM 12.0 | |
#define MIN_ZOOM -40.0 |
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
+ (id)sharedPreferencesWindowController | |
{ | |
static FakeFingerPreferencesWindowController *controller = nil; | |
if(!controller) { | |
controller = [[FakeFingerPreferencesWindowController alloc] initWithWindowNibName:@"Preferences"]; | |
} | |
return controller; | |
} |