cunny corrector version 1

This commit is contained in:
Femployee 2022-12-16 01:38:29 -08:00
parent 69f7b59308
commit e23deb75e3
5 changed files with 184 additions and 3753 deletions

View File

@ -30,7 +30,7 @@
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
BC6610F9294C62B900277180 /* cunnyfinder.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = cunnyfinder.app; sourceTree = BUILT_PRODUCTS_DIR; };
BC6610F9294C62B900277180 /* Cunny Corrector.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Cunny Corrector.app"; sourceTree = BUILT_PRODUCTS_DIR; };
BC6610FC294C62B900277180 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
BC6610FF294C62B900277180 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
BC661100294C62B900277180 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
@ -85,7 +85,7 @@
BC6610FA294C62B900277180 /* Products */ = {
isa = PBXGroup;
children = (
BC6610F9294C62B900277180 /* cunnyfinder.app */,
BC6610F9294C62B900277180 /* Cunny Corrector.app */,
BC661119294C62BA00277180 /* cunnyfinderTests.octest */,
);
name = Products;
@ -170,7 +170,7 @@
);
name = cunnyfinder;
productName = cunnyfinder;
productReference = BC6610F9294C62B900277180 /* cunnyfinder.app */;
productReference = BC6610F9294C62B900277180 /* Cunny Corrector.app */;
productType = "com.apple.product-type.application";
};
BC661118294C62BA00277180 /* cunnyfinderTests */ = {
@ -386,7 +386,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "cunnyfinder/cunnyfinder-Prefix.pch";
INFOPLIST_FILE = "cunnyfinder/cunnyfinder-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
PRODUCT_NAME = "Cunny Corrector";
WRAPPER_EXTENSION = app;
};
name = Debug;
@ -398,7 +398,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "cunnyfinder/cunnyfinder-Prefix.pch";
INFOPLIST_FILE = "cunnyfinder/cunnyfinder-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
PRODUCT_NAME = "Cunny Corrector";
WRAPPER_EXTENSION = app;
};
name = Release;

View File

@ -12,4 +12,6 @@
@property (assign) IBOutlet NSWindow *window;
-(IBAction)actionUohhh:(id)sender;
@end

View File

@ -15,4 +15,33 @@
// Insert code here to initialize your application
}
-(IBAction)actionUohhh:(id)sender
{
/*
NSAlert *alert = [[NSAlert alloc] init];
[alert addButtonWithTitle:@"OK"];
[alert setMessageText:@"Uohhh!"];
[alert setInformativeText:@"Damn bratty girl, seducing an adult... correction is needed!"];
[alert setAlertStyle:NSInformationalAlertStyle];
[alert runModal];
*/
float x = arc4random_uniform(self.window.frame.size.width - 48);
float y = arc4random_uniform(self.window.frame.size.height - 48);
bool brat = arc4random_uniform(20) == 0;
NSRect rect = NSMakeRect(x, y, 48, 48);
NSTextField *label = [[NSTextField alloc] initWithFrame:rect];
[label setEditable:false];
[label setBezeled:false];
[label setFont:[NSFont fontWithName:@"Apple Color Emoji" size:32]];
[label setBackgroundColor:[NSColor colorWithDeviceWhite:0 alpha:0]];
[label setAlignment:NSCenterTextAlignment];
if (brat) {
[label setStringValue:@"💢"];
} else {
[label setStringValue:@"😭"];
}
[self.window.contentView addSubview:label positioned:NSWindowBelow relativeTo:sender];
}
@end

View File

@ -1,29 +1,15 @@
{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf510
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
\paperw9840\paperh8400
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
\vieww9600\viewh8400\viewkind0
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720
\f0\b\fs24 \cf0 Engineering:
\f0\b\fs24 \cf0 Programming:
\b0 \
Some people\
James Shiffer\
\
\b Human Interface Design:
\b Special Thanks:
\b0 \
Some other people\
\
\b Testing:
\b0 \
Hopefully not nobody\
\
\b Documentation:
\b0 \
Whoever\
\
\b With special thanks to:
\b0 \
Mom\
}
abmayo\
dorontabi}

File diff suppressed because it is too large Load Diff