public ToggleTextContainer(StatefulMenuItem menuItem) { this.menuItem = menuItem; state = menuItem.State.GetBoundCopy(); Add(stateIcon = new SpriteIcon { Anchor = Anchor.CentreLeft, Origin = Anchor.CentreLeft, Size = new Vector2(10), Margin = new MarginPadding { Horizontal = MARGIN_HORIZONTAL }, AlwaysPresent = true, }); }
public DrawableStatefulMenuItem(StatefulMenuItem item) : base(item) { }