Esempio n. 1
0
 public TabHost(View rootView, Vector2 position, SpriteFont font)
     : base(rootView)
 {
     Position = position;
     TabContainerView = new TabContainer(this, font);
     TabContainerView.ChildrenLayout = new HorizontalViewLayout(1, true);
 }
Esempio n. 2
0
		public TabHost(GeeUIMain GeeUI, View rootView, Vector2 position)
			: base(GeeUI, rootView)
		{
			Position.Value = position;
			TabContainerView = new TabContainer(GeeUI, this);
			TabContainerView.ChildrenLayouts.Add(new HorizontalViewLayout(1, true));

			GeeUI.OnKeyPressedHandler += keyPressedHandler;
		}