public frmCapabilities() { InitializeComponent(); AgateLib.DisplayLib.DisplayWindow wind = AgateLib.DisplayLib.DisplayWindow.CreateFromControl(this); Text += " "; Text += AgateLib.DisplayLib.Display.Impl.GetType().FullName; propertyGrid1.SelectedObject = AgateLib.DisplayLib.Display.Caps; }
private void SpriteEditor_Load(object sender, EventArgs e) { if (DesignMode) { return; } if (Parent == null) { return; } wind = new AgateLib.DisplayLib.DisplayWindow(AgateLib.DisplayLib.CreateWindowParams.FromControl(agateRenderTarget1)); }
private void SpriteEditor_Load(object sender, EventArgs e) { if (DesignMode) { return; } if (Parent == null) { return; } wind = new AgateLib.DisplayLib.DisplayWindow(AgateLib.DisplayLib.CreateWindowParams.FromControl(agateRenderTarget1, new AgateLib.Geometry.CoordinateSystems.NativeCoordinates())); }
public FrameBufferWindow(Size size, SwapChain swap, AgateLib.DisplayLib.DisplayWindow attachedWindow, Direct3D.Surface backBuffer, Direct3D.Surface backDepthStencil) { mDisplay = (SDX_Display)AgateLib.DisplayLib.Display.Impl; mAttachedWindow = attachedWindow; mSize = size; mSwap = swap; mBackBuffer = backBuffer; mBackDepthStencil = backDepthStencil; if (mBackDepthStencil != null) { SetHasDepthStencil(mBackDepthStencil.Description.Format); } }