Thraka / SadConsole

A .NET ascii/ansi console engine written in C# for MonoGame and XNA. Create your own text roguelike (or other) games!
MIT License
1.22k stars 120 forks source link

Added tab control and associated themes #325

Closed arxae closed 1 year ago

arxae commented 1 year ago

Added tab control with a theme for horizontal tab placement (top/bottom) and vertical (left/right). Also includes a vertical theme for the Button since the vertical tabcontrol requires this.

Tabcontrol works under a "bring your own console" way. The tab control will control the visibility and also includes the option to make sure the console is always in the correct position. Also an option to create set the view based on tabcontrol size.

Thraka commented 1 year ago

@arxae I just realized you're sending it from the wrong branch lol you need to send the PR from your tabcontrol branch. Use this link: https://github.com/Thraka/SadConsole/compare/develop...arxae:SadConsole:tabcontrol

arxae commented 1 year ago

Oh wow, didn't see that. Thanks for pointing it out. https://github.com/Thraka/SadConsole/pull/326 is the new one.