public static BluetoothDisconnectedIcon FromJson(SkinManifestJson json, Image <Argb32>[] images) { var a = new BluetoothDisconnectedIcon(); a.Image = images.Pick(json.Status.Bluetooth.ImageIndexOff); a.X = json.Status.Bluetooth.Coordinates.X; a.Y = json.Status.Bluetooth.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); }