]> git.saurik.com Git - winterboard.git/commitdiff
Bug fix release.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 9 Oct 2008 20:55:17 +0000 (20:55 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 9 Oct 2008 20:55:17 +0000 (20:55 +0000)
Dim Wallpaper.theme/Widget.html [new file with mode: 0644]
Library.mm
No Undocked Icon Labels.theme/Info.plist [new file with mode: 0644]
No Unocked Icon Labels.theme/Info.plist [deleted file]
control

diff --git a/Dim Wallpaper.theme/Widget.html b/Dim Wallpaper.theme/Widget.html
new file mode 100644 (file)
index 0000000..6acba2b
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-16"?>
+<html><head>
+    <!--meta name="viewport" content="width=320, minimum-scale=1.0, maximum-scale=1.0"/-->
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+
+    <style>
+        body {
+            margin: 0;
+            padding: 0;
+        }
+
+        div {
+            background-color: black;
+            opacity: 0.3;
+            height: 480px;
+        }
+    </style>
+</head><body>
+    <div></div>
+</body></html>
index de1b156b801048ace554e491abe3fc5811820f08..fc3674c892401a954745672b2645d50941745e33 100644 (file)
@@ -589,6 +589,25 @@ static id SBContentLayer$initWithSize$(SBContentLayer<WinterBoard> *self, SEL se
         }
     }
 
+    for (size_t i(0), e([themes_ count]); i != e; ++i) {
+        NSString *theme = [themes_ objectAtIndex:(e - i - 1)];
+        NSString *html = [theme stringByAppendingPathComponent:@"Widget.html"];
+        if ([Manager_ fileExistsAtPath:html]) {
+            CGRect bounds = [self bounds];
+
+            UIWebDocumentView *view([[[UIWebDocumentView alloc] initWithFrame:bounds] autorelease]);
+            [view setAutoresizes:true];
+
+            NSURL *url = [NSURL fileURLWithPath:html];
+            [view loadRequest:[NSURLRequest requestWithURL:url]];
+
+            [[view webView] setDrawsBackground:false];
+            [view setBackgroundColor:[UIColor clearColor]];
+
+            [self addSubview:view];
+        }
+    }
+
     return self;
 }
 
diff --git a/No Undocked Icon Labels.theme/Info.plist b/No Undocked Icon Labels.theme/Info.plist
new file mode 100644 (file)
index 0000000..1cea35f
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0"><dict>
+
+<key>UndockedIconLabelStyle</key>
+<string>color: transparent</string>
+
+</dict></plist>
diff --git a/No Unocked Icon Labels.theme/Info.plist b/No Unocked Icon Labels.theme/Info.plist
deleted file mode 100644 (file)
index 1cea35f..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0"><dict>
-
-<key>UndockedIconLabelStyle</key>
-<string>color: transparent</string>
-
-</dict></plist>
diff --git a/control b/control
index 98c0ac2049cf280d08d5f3d242f763d0e2538945..2be35c7feff3cb0a3b47730e41a08dd864972264 100644 (file)
--- a/control
+++ b/control
@@ -3,7 +3,7 @@ Priority: optional
 Section: System
 Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
 Architecture: iphoneos-arm
-Version: 0.9.2598-1
+Version: 0.9.2600-1
 Description: more powerful, open-source SummerBoard
 Name: WinterBoard
 Depends: mobilesubstrate (>= 0.9.2587-1)