Skip to content

Commit b948975

Browse files
committed
Added zip support and the ability to save a skin file
1 parent 6fa0888 commit b948975

File tree

14 files changed

+171
-18
lines changed

14 files changed

+171
-18
lines changed

codenameone_settings.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
#Tue May 17 16:27:18 IDT 2016
2+
#Fri May 27 12:22:52 IDT 2016
33
codename1.ios.appid=Q5GHSKAL2F.com.codename1.tools.skindesigner
44
codename1.ios.release.provision=
55
codename1.arg.java.version=8
@@ -26,11 +26,12 @@ codename1.mainName=SkinDesigner
2626
codename1.ios.release.certificatePassword=
2727
codename1.arg.ios.prerendered_icon=false
2828
codename1.ios.debug.certificate=
29-
libVersion=109
29+
libVersion=111
3030
codename1.arg.ios.application_exits=false
3131
codename1.secondaryTitle=CodenameOne_Template
3232
codename1.description=
3333
codename1.ios.debug.provision=
34+
codename1.arg.build.incSources=1
3435
codename1.arg.j2me.nativeThemeConst=0
3536
codename1.rim.certificatePassword=
3637
codename1.version=1.0

icon.png

444 KB
Loading

lib/ZipSupport.cn1lib

-58.1 KB
Binary file not shown.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package com.codename1.tools.skindesigner;
2+
3+
public class ShouldExecuteImpl {
4+
public boolean shouldExecute() {
5+
return false;
6+
}
7+
8+
public boolean isSupported() {
9+
return false;
10+
}
11+
12+
}
Binary file not shown.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#import <Foundation/Foundation.h>
2+
3+
@interface com_codename1_tools_skindesigner_ShouldExecuteImpl : NSObject {
4+
}
5+
6+
-(BOOL)shouldExecute;
7+
-(BOOL)isSupported;
8+
@end
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#import "com_codename1_tools_skindesigner_ShouldExecuteImpl.h"
2+
3+
@implementation com_codename1_tools_skindesigner_ShouldExecuteImpl
4+
5+
-(BOOL)shouldExecute{
6+
return NO;
7+
}
8+
9+
-(BOOL)isSupported{
10+
return NO;
11+
}
12+
13+
@end
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package com.codename1.tools.skindesigner;
2+
3+
public class ShouldExecuteImpl {
4+
public boolean shouldExecute() {
5+
return false;
6+
}
7+
8+
public boolean isSupported() {
9+
return false;
10+
}
11+
12+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
(function(exports){
2+
3+
var o = {};
4+
5+
o.shouldExecute_ = function(callback) {
6+
callback.complete(true);
7+
};
8+
9+
o.isSupported_ = function(callback) {
10+
callback.complete(true);
11+
};
12+
13+
exports.com_codename1_tools_skindesigner_ShouldExecute= o;
14+
15+
})(cn1_get_native_interfaces());
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package com.codename1.tools.skindesigner;
2+
3+
public class ShouldExecuteImpl implements com.codename1.tools.skindesigner.ShouldExecute{
4+
public boolean shouldExecute() {
5+
return false;
6+
}
7+
8+
public boolean isSupported() {
9+
return true;
10+
}
11+
12+
}

0 commit comments

Comments
 (0)