예제 #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;
		}