mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 16:42:58 +00:00
Updated template theme project to use new theme gallery.
Reviewed by me.
This commit is contained in:
1 parent
aebbdbe0a3
commit
354fddf6b2
2 files changed
+4
-4
No files matched your search
@@ -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
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user