From 1c27a08ae738895da181afda28a7d0206b2a873b Mon Sep 17 00:00:00 2001 From: seleznevae Date: Sat, 22 Dec 2018 11:48:57 +0300 Subject: [PATCH] [C] Improved documentation --- docs/index.md | 12 ++++++++++++ lib/fort.hpp | 9 +++++++++ 2 files changed, 21 insertions(+) diff --git a/docs/index.md b/docs/index.md index 5f35f6e..ab93f89 100644 --- a/docs/index.md +++ b/docs/index.md @@ -88,6 +88,18 @@ These pages contain the API documentation of **libfort** - simple library to cre - @link fort::table::set_cell_cell_text_style set_cell_cell_text_style @endlink -- set cell text style - @link fort::table::set_cell_content_text_style set_cell_content_text_style @endlink -- set content text style + - @link fort::table::table_cell fort::table::table_cell @endlink -- table cell + - @link fort::table::table_row fort::table::table_row @endlink -- table row + - @link fort::table::table_column fort::table::table_column @endlink -- table column + + - @link fort::table_manipulator fort::table_manipulator @endlink -- table manipulator + - @link fort::header fort::header @endlink -- table manipulator to set current row as a header + - @link fort::endr fort::endr @endlink -- table manipulator to move current cell to the first cell of the next row + - @link fort::separator fort::separator @endlink -- table manipulator to add separator + + - Other functions + - @link fort::set_default_border_style fort::set_default_border_style @endlink -- set default border style for all new formatted tables + List of libfort builtin border styles: ~~~~~~~~~~~~~~~~~~~~~ diff --git a/lib/fort.hpp b/lib/fort.hpp index b8f9ea1..0a29d66 100644 --- a/lib/fort.hpp +++ b/lib/fort.hpp @@ -850,6 +850,9 @@ public: /* Iterators */ /* todo: implement chains like table[0][0] = table [0][1] = "somethings" */ + /** + * Table cell. + */ class table_cell: public property_owner { public: @@ -886,6 +889,9 @@ public: } }; + /** + * Table row. + */ class table_row: public property_owner
{ public: @@ -899,6 +905,9 @@ public: } }; + /** + * Table column. + */ class table_column: public property_owner
{ public: