Axiom.Samples.ParamsPanel.ParamsPanel C# (CSharp) Méthode

ParamsPanel() public méthode

Do not instantiate any widgets directly. Use SdkTrayManager.
public ParamsPanel ( String name, Real width, int lines ) : System
name String
width Real
lines int
Résultat System
		public ParamsPanel( String name, Real width, int lines )
		{
			element = OverlayManager.Instance.Elements.CreateElementFromTemplate( "SdkTrays/ParamsPanel", "BorderPanel", name );
			OverlayElementContainer c = (OverlayElementContainer)element;
			this.namesArea = (TextArea)c.Children[ Name + "/ParamsPanelNames" ];
			this.valuesArea = (TextArea)c.Children[ Name + "/ParamsPanelValues" ];
			element.Width = width;
			element.Height = this.namesArea.Top * 2 + lines * this.namesArea.CharHeight;
			values = new List<string>();
		}