// Shared initialization code void Initialize() { var sysFont = NSFont.SystemFontOfSize(NSFont.SystemFontSize); resources = new Drawing.Resources(sysFont.FontName, (float)NSFont.SystemFontSize, bookmarkIcon: new LJD.Image(NSImage.ImageNamed("TimelineBookmark.png"))); legendDataSource = new CollectionViewDataSource() { Resources = resources }; toastNotifications = new ToastNotificationsViewAdapter(); }
public CollectionViewDelegate(CollectionViewDataSource dataSource, Drawing.Resources resources) { this.dataSource = dataSource; this.resources = resources; }