public TabHost(View rootView, Vector2 position, SpriteFont font) : base(rootView) { Position = position; TabContainerView = new TabContainer(this, font); TabContainerView.ChildrenLayout = new HorizontalViewLayout(1, true); }
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; }