PanelDemo1 ClassDelta Engine Documentation
Inheritance Hierarchy

System Object
  DeltaEngine.Platforms TestWithMocksOrVisually
    DeltaEngine.Scenes.Tests.Controls PanelDemo1

Namespace: DeltaEngine.Scenes.Tests.Controls
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public class PanelDemo1 : TestWithMocksOrVisually

The PanelDemo1 type exposes the following members.

Constructors

  NameDescription
Public methodPanelDemo1
Initializes a new instance of the PanelDemo1 class
Top
Methods

  NameDescription
Protected methodAdvanceTimeAndUpdateEntities (Inherited from TestWithMocksOrVisually.)
Public methodDisplayScalingPanel
Public methodInitializeResolver (Inherited from TestWithMocksOrVisually.)
Protected methodRegisterMock T  (Inherited from TestWithMocksOrVisually.)
Protected methodResolve T  (Inherited from TestWithMocksOrVisually.)
Protected methodRunAfterFirstFrame (Inherited from TestWithMocksOrVisually.)
Public methodRunTestAndDisposeResolverWhenDone (Inherited from TestWithMocksOrVisually.)
Top
Properties

  NameDescription
Protected propertyIsMockResolver (Inherited from TestWithMocksOrVisually.)
Top
Examples

[Test]
public void DisplayScalingPanel()
{
    panel = new ScalingPanel(Color.PaleGreen, Color.Blue, new Rectangle(0.2f, 0.3f, 0.5f, 0.4f));
    new Command(BeginDrag).Add(new MouseButtonTrigger());
    new Command(Drag).Add(new MouseDragTrigger());
}
See Also