protected virtual bool IsWithinCoverart (int x, int y) { return x >= 0 && y >= ArtworkOffset && x <= ArtworkSizeRequest && y <= (ArtworkOffset + ArtworkSizeRequest); }
public static Widget GetEditable(TrackInfoDisplay display) { return(CoverArtEditor.For(display, (x, y) => display.IsWithinCoverart(x, y), () => display.CurrentTrack, () => {} )); }