public static LockIcon FromJson(SkinManifestJson json, Image <Argb32>[] images) { var a = new LockIcon(); a.Image = images.Pick(json.Status.Lock.ImageIndexOn); a.X = json.Status.Lock.Coordinates.X; a.Y = json.Status.Lock.Coordinates.Y; return(a); }
public static IconGroup FromJson(SkinManifestJson json, Image <Argb32>[] images) { var ig = new IconGroup() { Lock = LockIcon.FromJson(json, images), Alarm = AlarmIcon.FromJson(json, images), Bluetooth = BluetoothDisconnectedIcon.FromJson(json, images) }; return(ig); }