libfort
|
#include <fort.hpp>
Public Member Functions | |
property_owner (std::size_t row_idx, std::size_t coll_idx, table *tbl, bool def=false) | |
bool | set_cell_min_width (unsigned value) |
bool | set_cell_text_align (fort::text_align value) |
bool | set_cell_top_padding (unsigned value) |
bool | set_cell_bottom_padding (unsigned value) |
bool | set_cell_left_padding (unsigned value) |
bool | set_cell_right_padding (unsigned value) |
bool | set_cell_row_type (fort::row_type value) |
bool | set_cell_empty_str_height (unsigned value) |
bool | set_cell_content_fg_color (fort::color value) |
bool | set_cell_bg_color (fort::color value) |
bool | set_cell_content_bg_color (fort::color value) |
bool | set_cell_text_style (fort::text_style value) |
bool | set_cell_content_text_style (fort::text_style value) |
Protected Member Functions | |
bool | set_property (uint32_t property, int value) |
Protected Attributes | |
std::size_t | ps_row_idx_ |
std::size_t | ps_coll_idx_ |
table * | ps_table_ |
bool | set_default_properties_ |
Property owner.
property_owner is a base class for all objects (table, row, column, cell) for which user can specify properties.
|
inline |
Set cell background color for the specified cell of the table.
value | Color. |
< Cell background color
|
inline |
Set bottom padding for the specified cell of the table.
value | Value of the bottom padding. |
< Bottom padding for cell content
|
inline |
Set content background color for the specified cell of the table.
value | Color. |
< Cell content background color
|
inline |
Set content foreground color for the specified cell of the table.
value | Color. |
< Cell content foreground text color
|
inline |
Set content text style for the specified cell of the table.
value | Text style. |
< Cell content text style
|
inline |
Set empty string height for the specified cell of the table.
value | Value of the empty string height. |
< Height of empty cell
|
inline |
Set left padding for the specified cell of the table.
value | Value of the left padding. |
< Left padding for cell content
|
inline |
Set min width for the specified cell of the table.
value | Value of the min width. |
< Minimum width
|
inline |
Set right padding for the specified cell of the table.
value | Value of the left padding. |
< Right padding for cell content
|
inline |
Set row type for the specified cell of the table.
value | Value of the row type. |
< Row type
|
inline |
Set text alignment for the specified cell of the table.
value | Value of the text alignment. |
< Text alignment
|
inline |
Set cell text style for the specified cell of the table.
value | Text style. |
< Cell text style
|
inline |
Set top padding for the specified cell of the table.
value | Value of the top padding. |
< Top padding for cell content