From 6ffbd28359104c75015c260b84c804fb893b8620 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 9 Jan 2017 13:28:24 +0100 Subject: libsmartcols: add scols_cell_get_alignment() Just to hide that we use cell flags (bitwise operations) to define cell content alignment. The patch also more explicitly specifies the flags in the header file. The alignment is evaluated in the order: right, center, left. The default is left. Note that SCOLS_CELL_FL_* are used for for table title only. Signed-off-by: Karel Zak --- libsmartcols/docs/libsmartcols-sections.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'libsmartcols/docs') diff --git a/libsmartcols/docs/libsmartcols-sections.txt b/libsmartcols/docs/libsmartcols-sections.txt index ee696642a..7e31cdda2 100644 --- a/libsmartcols/docs/libsmartcols-sections.txt +++ b/libsmartcols/docs/libsmartcols-sections.txt @@ -2,6 +2,7 @@ cell libscols_cell scols_cell_copy_content +scols_cell_get_alignment scols_cell_get_color scols_cell_get_data scols_cell_get_flags -- cgit v1.2.3-55-g7522