您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
28 行
608 B
28 行
608 B
namespace UIWidgets.painting {
|
|
public class PaintingBinding
|
|
{
|
|
private static PaintingBinding _instance;
|
|
|
|
public static PaintingBinding instance
|
|
{
|
|
get { return _instance; }
|
|
}
|
|
|
|
private ImageCache _imageCache;
|
|
|
|
public ImageCache imageCache
|
|
{
|
|
get { return _imageCache; }
|
|
}
|
|
|
|
public ImageCache createImageCache()
|
|
{
|
|
return new ImageCache();
|
|
}
|
|
|
|
public void initInstances() {
|
|
_instance = this;
|
|
_imageCache = createImageCache();
|
|
}
|
|
}
|
|
}
|