示例#1
0
文件: TabHost.cs 项目: geel9/GeeUI
 public TabHost(View rootView, Vector2 position, SpriteFont font)
     : base(rootView)
 {
     Position = position;
     TabContainerView = new TabContainer(this, font);
     TabContainerView.ChildrenLayout = new HorizontalViewLayout(1, true);
 }
示例#2
0
文件: TabHost.cs 项目: dsmo7206/Lemma
		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;
		}