Permalink
Browse files

Add generic Objective-C interface, sound, dates, device status, more …

…scripts.
  • Loading branch information...
1 parent f91139f commit b2d01479d45e37c91b896840a0908c8bdc4aaeaf @feeley feeley committed Apr 17, 2011
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1,8 @@
+//
+// Prefix header
+//
+
+#ifdef __OBJC__
+ #import <Foundation/Foundation.h>
+ #import <UIKit/UIKit.h>
+#endif
@@ -450,6 +450,7 @@ - (IBAction)touch_down:(id)sender {
CFPreferencesGetAppBooleanValue(CFSTR("keyboard"),
CFSTR("/var/mobile/Library/Preferences/com.apple.preferences.sounds"),
NULL);
+
if (keyboardSounds != 0)
AudioServicesPlaySystemSound(1104); // keyboard "tock" sound
}
@@ -2,9 +2,12 @@
scale_icon()
{
- pngtopnm Icon-unscaled.png | pamscale -xsize=$1 -ysize=$1 | pnmtopng > $2
+ pngtopnm Icon-unscaled-alpha.png | pamscale -xsize=$1 -ysize=$1 > $2.alpha.pnm
+ pngtopnm Icon-unscaled.png | pamscale -xsize=$1 -ysize=$1 | pnmtopng -alpha $2.alpha.pnm > $2
+ rm -f $2.alpha.pnm
}
+tifftopnm Icon-unscaled-alpha.tiff | pnmtopng > Icon-unscaled-alpha.png
tifftopnm Icon-unscaled.tiff | pnmtopng > Icon-unscaled.png
scale_icon 57 Icon.png
@@ -13,3 +16,4 @@ scale_icon 72 Icon-72.png
scale_icon 29 Icon-Small.png
scale_icon 58 Icon-Small@2x.png
scale_icon 50 Icon-Small-50.png
+scale_icon 512 Icon-512.png
View
@@ -1,4 +1,4 @@
-# makefile for iOS example, Time-stamp: <2011-03-25 08:30:36 feeley>
+# makefile for iOS example, Time-stamp: <2011-04-01 22:04:46 feeley>
# Copyright (c) 1994-2011 by Marc Feeley, All Rights Reserved.
@@ -69,8 +69,9 @@ program.scm program.h \
Prefix.pch main.m \
AppDelegate.m AppDelegate.h ViewController.m ViewController.h \
AccessoryView.xib MainWindow.xib ViewController.xib \
-Icon-72.png Icon-Small-50.png Icon-Small.png Icon-Small@2x.png \
-Icon.png Icon@2x.png Icon-unscaled.key Icon-unscaled.tiff make-scaled-icons \
+Icon-72.png Icon-Small-50.png Icon-Small.png Icon-Small@2x.png Icon-512.png \
+Icon.png Icon@2x.png Icon-unscaled.key Icon-unscaled.tiff \
+Icon-unscaled-alpha.tiff make-scaled-icons \
Info.plist
GENDISTFILES =
Oops, something went wrong.

0 comments on commit b2d0147

Please sign in to comment.