Updated template theme project to use new theme gallery.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2009-05-23 12:43:35 -07:00
1 parent aebbdbe0a3
commit 354fddf6b2
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -53,7 +53,7 @@ function main()
objj_import(descriptorFiles, YES, function()
{
var themeDescriptorClasses = BKThemeDescriptorClasses(),
var themeDescriptorClasses = [BKThemeDescriptor allThemeDescriptorClasses],
count = [themeDescriptorClasses count];
while (count--)
@@ -63,7 +63,7 @@ function main()
[themeTemplate setValue:[theClass themeName] forKey:@"name"];
var objectTemplates = BKThemeObjectTemplatesForClass(theClass),
var objectTemplates = [theClass themedObjectTemplates],
data = cibDataFromTopLevelObjects(objectTemplates.concat([themeTemplate])),
temporaryCibFile = Packages.java.io.File.createTempFile("temp", ".cib"),
temporaryCibFilePath = String(temporaryCibFile.getAbsolutePath());
@@ -6,10 +6,10 @@
* Copyright __project.year__, __organization.name__ All rights reserved.
*/
@import <Foundation/CPObject.j>
@import <BlendKit/BKThemeDescriptor.j>
@implementation __project.nameasidentifier__ThemeDescriptor : CPObject
@implementation __project.nameasidentifier__ThemeDescriptor : BKThemeDescriptor
{
}