TableGenerator
This is a C++ library that facilitates the creation of nicely formatted ASCII tables. Perfect for MUDs or other text based projects. It comes with a convenient, easy to use API. This release comes with four different table layouts, all configurable with colours, padding, border graphics, etc.
Note that this is a library, and not a standalone tool. This means that you link it to your code, and then you can generate tables on the fly. The number of columns and column widths are automatically adjusted from the number of fields you put into each row.
To use this library you need a MUD that can be compiled as C++. It has been tested successfully with SmaugFUSS 1.9, but it is codebase independent. Read the documentation and play around with the included test program.
TableGenerator is released under the rather permissive MIT license.
Release 1.3
——————-
* A table can now optionally accept a raw tab-separated string as a row (\t marks next column).
* Link as dll on Cygwin and dylib on Mac OS X.
Release 1.2
——————-
* Everything is now wrapped into a namespace.
* Fixed some issues when a table header is wider than the table itself.
* Added a new table called HtmlTable, which does what you think it does.
* Plus some other minor things.
Release 1.1.1
——————-
This is a bug-fix update. The problem with exception being thrown when header is wider than table, AND table width is an odd number, has been fixed.
Release 1.1
——————-
Known bugs:
* The ShadowTable can sometimes throw an exception if the header is wider that the total table width. [resolved per v1.1.1]