From 96a28c674539016b5b14c50c8cf775c65b159150 Mon Sep 17 00:00:00 2001 From: seleznevae Date: Tue, 27 Nov 2018 20:33:44 +0300 Subject: [PATCH] [A] Added border styles to doxygen --- docs/index.md | 178 ++++++++++++++++++++++++++++++++++---------------- 1 file changed, 123 insertions(+), 55 deletions(-) diff --git a/docs/index.md b/docs/index.md index f276998..d90dfd4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -41,68 +41,136 @@ These pages contain the API documentation of **libfort** - simple library to cre - @link ft_row_type ft_row_type @endlink -- alignment of cell content +List of libfort builtin border styles: + ~~~~~~~~~~~~~~~~~~~~~ - FT_BASIC_STYLE FT_SIMPLE_STYLE -+------+--------------------------+------+--------+ -| Rank | Title | Year | Rating | Rank Title Year Rating -+------+--------------------------+------+--------+ ------ -------------------------- ------ -------- -| 1 | The Shawshank Redemption | 1994 | 9.5 | 1 The Shawshank Redemption 1994 9.5 -| 2 | 12 Angry Men | 1957 | 8.8 | 2 12 Angry Men 1957 8.8 -| 3 | It's a Wonderful Life | 1946 | 8.6 | 3 It's a Wonderful Life 1946 8.6 -+------+--------------------------+------+--------+ ------ -------------------------- ------ -------- -| 4 | 2001: A Space Odyssey | 1968 | 8.5 | 4 2001: A Space Odyssey 1968 8.5 -| 5 | Blade Runner | 1982 | 8.1 | 5 Blade Runner 1982 8.1 -+------+--------------------------+------+--------+ - - FT_PLAIN_STYLE FT_DOT_STYLE - - ------------------------------------------------- - Rank Title Year Rating - ------------------------------------------------- - 1 The Shawshank Redemption 1994 9.5 - 2 12 Angry Men 1957 8.8 - 3 It's a Wonderful Life 1946 8.6 - ------------------------------------------------- - 4 2001: A Space Odyssey 1968 8.5 - 5 Blade Runner 1982 8.1 + + + FT_BASIC_STYLE FT_BASIC2_STYLE + + +------+--------------------------+------+--------+ +------+--------------------------+------+--------+ + | Rank | Title | Year | Rating | | Rank | Title | Year | Rating | + +------+--------------------------+------+--------+ +------+--------------------------+------+--------+ + | 1 | The Shawshank Redemption | 1994 | 9.5 | | 1 | The Shawshank Redemption | 1994 | 9.5 | + | 2 | 12 Angry Men | 1957 | 8.8 | +------+--------------------------+------+--------+ + | 3 | It's a Wonderful Life | 1946 | 8.6 | | 2 | 12 Angry Men | 1957 | 8.8 | + +------+--------------------------+------+--------+ +------+--------------------------+------+--------+ + | 4 | 2001: A Space Odyssey | 1968 | 8.5 | | 3 | It's a Wonderful Life | 1946 | 8.6 | + | 5 | Blade Runner | 1982 | 8.1 | +------+--------------------------+------+--------+ + +------+--------------------------+------+--------+ | 4 | 2001: A Space Odyssey | 1968 | 8.5 | + +------+--------------------------+------+--------+ + | 5 | Blade Runner | 1982 | 8.1 | + +------+--------------------------+------+--------+ + + + + + FT_SIMPLE_STYLE FT_PLAIN_STYLE + + ------------------------------------------------- + Rank Title Year Rating Rank Title Year Rating + ------ -------------------------- ------ -------- ------------------------------------------------- + 1 The Shawshank Redemption 1994 9.5 1 The Shawshank Redemption 1994 9.5 + 2 12 Angry Men 1957 8.8 2 12 Angry Men 1957 8.8 + 3 It's a Wonderful Life 1946 8.6 3 It's a Wonderful Life 1946 8.6 + ------ -------------------------- ------ -------- ------------------------------------------------- + 4 2001: A Space Odyssey 1968 8.5 4 2001: A Space Odyssey 1968 8.5 + 5 Blade Runner 1982 8.1 5 Blade Runner 1982 8.1 + + + + + + FT_DOT_STYLE FT_EMPTY_STYLE + + ................................................... + : Rank : Title : Year : Rating : Rank Title Year Rating + :......:..........................:......:........: 1 The Shawshank Redemption 1994 9.5 + : 1 : The Shawshank Redemption : 1994 : 9.5 : 2 12 Angry Men 1957 8.8 + : 2 : 12 Angry Men : 1957 : 8.8 : 3 It's a Wonderful Life 1946 8.6 + : 3 : It's a Wonderful Life : 1946 : 8.6 : + :......:..........................:......:........: 4 2001: A Space Odyssey 1968 8.5 + : 4 : 2001: A Space Odyssey : 1968 : 8.5 : 5 Blade Runner 1982 8.1 + : 5 : Blade Runner : 1982 : 8.1 : + :......:..........................:......:........: + + + + + FT_SOLID_STYLE FT_SOLID_ROUND_STYLE + + ┌──────┬──────────────────────────┬──────┬────────┐ ╭──────┬──────────────────────────┬──────┬────────╮ + │ Rank │ Title │ Year │ Rating │ │ Rank │ Title │ Year │ Rating │ + ├──────┼──────────────────────────┼──────┼────────┤ ├──────┼──────────────────────────┼──────┼────────┤ + │ 1 │ The Shawshank Redemption │ 1994 │ 9.5 │ │ 1 │ The Shawshank Redemption │ 1994 │ 9.5 │ + │ 2 │ 12 Angry Men │ 1957 │ 8.8 │ │ 2 │ 12 Angry Men │ 1957 │ 8.8 │ + │ 3 │ It's a Wonderful Life │ 1946 │ 8.6 │ │ 3 │ It's a Wonderful Life │ 1946 │ 8.6 │ + ├──────┼──────────────────────────┼──────┼────────┤ ├──────┼──────────────────────────┼──────┼────────┤ + │ 4 │ 2001: A Space Odyssey │ 1968 │ 8.5 │ │ 4 │ 2001: A Space Odyssey │ 1968 │ 8.5 │ + │ 5 │ Blade Runner │ 1982 │ 8.1 │ │ 5 │ Blade Runner │ 1982 │ 8.1 │ + └──────┴──────────────────────────┴──────┴────────╯ ╰──────┴──────────────────────────┴──────┴────────╯ + + + + + FT_NICE_STYLE FT_DOUBLE_STYLE + + ╔══════╦══════════════════════════╦══════╦════════╗ ╔══════╦══════════════════════════╦══════╦════════╗ + ║ Rank ║ Title ║ Year ║ Rating ║ ║ Rank ║ Title ║ Year ║ Rating ║ + ╠══════╬══════════════════════════╬══════╬════════╣ ╠══════╬══════════════════════════╬══════╬════════╣ + ║ 1 ║ The Shawshank Redemption ║ 1994 ║ 9.5 ║ ║ 1 ║ The Shawshank Redemption ║ 1994 ║ 9.5 ║ + ║ 2 ║ 12 Angry Men ║ 1957 ║ 8.8 ║ ║ 2 ║ 12 Angry Men ║ 1957 ║ 8.8 ║ + ║ 3 ║ It's a Wonderful Life ║ 1946 ║ 8.6 ║ ║ 3 ║ It's a Wonderful Life ║ 1946 ║ 8.6 ║ + ╟──────╫──────────────────────────╫──────╫────────╢ ╠══════╬══════════════════════════╬══════╬════════╣ + ║ 4 ║ 2001: A Space Odyssey ║ 1968 ║ 8.5 ║ ║ 4 ║ 2001: A Space Odyssey ║ 1968 ║ 8.5 ║ + ║ 5 ║ Blade Runner ║ 1982 ║ 8.1 ║ ║ 5 ║ Blade Runner ║ 1982 ║ 8.1 ║ + ╚══════╩══════════════════════════╩══════╩════════╝ ╚══════╩══════════════════════════╩══════╩════════╝ + + + + + FT_DOUBLE2_STYLE FT_BOLD_STYLE + + ╔══════╤══════════════════════════╤══════╤════════╗ ┏━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━┳━━━━━━━━┓ + ║ Rank │ Title │ Year │ Rating ║ ┃ Rank ┃ Title ┃ Year ┃ Rating ┃ + ╠══════╪══════════════════════════╪══════╪════════╣ ┣━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━╋━━━━━━━━┫ + ║ 1 │ The Shawshank Redemption │ 1994 │ 9.5 ║ ┃ 1 ┃ The Shawshank Redemption ┃ 1994 ┃ 9.5 ┃ + ╟──────┼──────────────────────────┼──────┼────────╢ ┃ 2 ┃ 12 Angry Men ┃ 1957 ┃ 8.8 ┃ + ║ 2 │ 12 Angry Men │ 1957 │ 8.8 ║ ┃ 3 ┃ It's a Wonderful Life ┃ 1946 ┃ 8.6 ┃ + ╟──────┼──────────────────────────┼──────┼────────╢ ┣━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━╋━━━━━━━━┫ + ║ 3 │ It's a Wonderful Life │ 1946 │ 8.6 ║ ┃ 4 ┃ 2001: A Space Odyssey ┃ 1968 ┃ 8.5 ┃ + ╠══════╪══════════════════════════╪══════╪════════╣ ┃ 5 ┃ Blade Runner ┃ 1982 ┃ 8.1 ┃ + ║ 4 │ 2001: A Space Odyssey │ 1968 │ 8.5 ║ ┗━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━┻━━━━━━━━┛ + ╟──────┼──────────────────────────┼──────┼────────╢ + ║ 5 │ Blade Runner │ 1982 │ 8.1 ║ + ╚══════╧══════════════════════════╧══════╧════════╝ + + + + + FT_BOLD2_STYLE FT_FRAME_STYLE + + ┏━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━┯━━━━━━━━┓ ▛▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▜ + ┃ Rank │ Title │ Year │ Rating ┃ ▌ Rank ┃ Title ┃ Year ┃ Rating ▐ + ┣━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━┿━━━━━━━━┫ ▌━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━╋━━━━━━━━▐ + ┃ 1 │ The Shawshank Redemption │ 1994 │ 9.5 ┃ ▌ 1 ┃ The Shawshank Redemption ┃ 1994 ┃ 9.5 ▐ + ┠──────┼──────────────────────────┼──────┼────────┨ ▌ 2 ┃ 12 Angry Men ┃ 1957 ┃ 8.8 ▐ + ┃ 2 │ 12 Angry Men │ 1957 │ 8.8 ┃ ▌ 3 ┃ It's a Wonderful Life ┃ 1946 ┃ 8.6 ▐ + ┠──────┼──────────────────────────┼──────┼────────┨ ▌━━━━━━╋━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━╋━━━━━━━━▐ + ┃ 3 │ It's a Wonderful Life │ 1946 │ 8.6 ┃ ▌ 4 ┃ 2001: A Space Odyssey ┃ 1968 ┃ 8.5 ▐ + ┣━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━┿━━━━━━━━┫ ▌ 5 ┃ Blade Runner ┃ 1982 ┃ 8.1 ▐ + ┃ 4 │ 2001: A Space Odyssey │ 1968 │ 8.5 ┃ ▙▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▟ + ┠──────┼──────────────────────────┼──────┼────────┨ + ┃ 5 │ Blade Runner │ 1982 │ 8.1 ┃ + ┗━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━┷━━━━━━━━┛ + ~~~~~~~~~~~~~~~~~~~~~ -```text - FT_BASIC_STYLE FT_SIMPLE_STYLE - -+------+--------------------------+------+--------+ -| Rank | Title | Year | Rating | Rank Title Year Rating -+------+--------------------------+------+--------+ ------ -------------------------- ------ -------- -| 1 | The Shawshank Redemption | 1994 | 9.5 | 1 The Shawshank Redemption 1994 9.5 -| 2 | 12 Angry Men | 1957 | 8.8 | 2 12 Angry Men 1957 8.8 -| 3 | It's a Wonderful Life | 1946 | 8.6 | 3 It's a Wonderful Life 1946 8.6 -+------+--------------------------+------+--------+ ------ -------------------------- ------ -------- -| 4 | 2001: A Space Odyssey | 1968 | 8.5 | 4 2001: A Space Odyssey 1968 8.5 -| 5 | Blade Runner | 1982 | 8.1 | 5 Blade Runner 1982 8.1 -+------+--------------------------+------+--------+ -``` - -```text - FT_PLAIN_STYLE FT_DOT_STYLE - - ------------------------------------------------- - Rank Title Year Rating - ------------------------------------------------- - 1 The Shawshank Redemption 1994 9.5 - 2 12 Angry Men 1957 8.8 - 3 It's a Wonderful Life 1946 8.6 - ------------------------------------------------- - 4 2001: A Space Odyssey 1968 8.5 - 5 Blade Runner 1982 8.1 - -``` - - - + @copyright Copyright © 2017 - 2018 Seleznev Anton. The code is licensed under the [MIT License](http://opensource.org/licenses/MIT). @author Seleznev Anton @see https://github.com/seleznevae/libfort to download the source code \ No newline at end of file