protected internal override void Setup( RenderWindow window, SIS.Keyboard keyboard, SIS.Mouse mouse )
{
Window = window;
Keyboard = keyboard;
Mouse = mouse;
LocateResources();
CreateSceneManager();
SetupView();
this.TrayManager = new SdkTrayManager( "SampleControls", window, mouse, this as ISdkTrayListener ); // create a tray interface
LoadResources();
ResourcesLoaded = true;
// Show stats and logo and Hide the cursor
this.TrayManager.ShowFrameStats( TrayLocation.BottomLeft );
this.TrayManager.ShowLogo( TrayLocation.BottomRight );
this.TrayManager.HideCursor();
// create a params panel for displaying sample details
List<string> items = new List<string>
{
"cam.pX",
"cam.pY",
"cam.pZ",
String.Empty,
"cam.oW",
"cam.oX",
"cam.oY",
"cam.oZ",
String.Empty,
"Filtering",
"Poly Mode"
};
this.DetailsPanel = this.TrayManager.CreateParamsPanel( TrayLocation.None, "DetailsPanel", 180, items );
this.DetailsPanel.SetParamValue( 9, "Bilinear" );
this.DetailsPanel.SetParamValue( 10, "Solid" );
this.DetailsPanel.Hide();
SetupContent();
ContentSetup = true;
IsDone = false;
}