Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/15/15 13:56:30 (9 years ago)
Author:
gkronber
Message:

#1966: removed SharpDX binaries since these are available through a transport plugin now (see #2504) and also made some changes to make the code work with the latest stable release of SharpDX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.BinPacking/PackingPlanVisualizations/2D/PackingPlan2D.cs

    r13032 r13161  
    6262    private void InitializeRenderTarget() {
    6363      hwndProperties.Hwnd = this.Handle;
    64       hwndProperties.PixelSize = new DrawingSize(this.Width, this.Height);
     64      hwndProperties.PixelSize = new Size2(this.Width, this.Height);
    6565      hwndProperties.PresentOptions = PresentOptions.None;
    6666      textFormat = new TextFormat(dwFactory, "arial", 14);
     
    130130    private void PackingPlan2D_Resize(object sender, EventArgs e) {
    131131      if (wndRender != null)
    132         wndRender.Resize(new DrawingSize(this.Width, this.Height));
     132        wndRender.Resize(new Size2(this.Width, this.Height));
    133133      //this.Refresh();
    134134    }
Note: See TracChangeset for help on using the changeset viewer.