Ejemplo n.º 1
0
 public void Init(LegendItemInfo item, Drawing.Resources resources, IViewEvents events)
 {
     this.item                = item;
     this.resources           = resources;
     this.events              = events;
     previewView.NeedsDisplay = true;
 }
        // 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();
        }
Ejemplo n.º 3
0
 public TimeSeriesConfigWindowController(IConfigDialogEventsHandler evts, Drawing.Resources resources) :
     base("TimeSeriesConfigWindow")
 {
     this.evts      = evts;
     this.resources = resources;
 }
 public TimeSeriesVisualizerConfigDialog(IConfigDialogEventsHandler evts, Drawing.Resources resources)
 {
     this.evts      = evts;
     this.resources = resources;
     InitializeComponent();
 }
Ejemplo n.º 5
0
 public CollectionViewDelegate(CollectionViewDataSource dataSource, Drawing.Resources resources)
 {
     this.dataSource = dataSource;
     this.resources  = resources;
 }