Public Member Functions | ||||
virtual size_t | calc_max_width (size_t first_indent, size_t rest_indent) const =0 | |||
Actually calculate the maximum width. | ||||
virtual size_t | calc_trailing_width (size_t first_indent, size_t rest_indent) const =0 | |||
Actually calculate the trailing width. | ||||
virtual bool | calc_final_newline () const =0 | |||
Actually calculate the final-nl status. | ||||
size_t | max_width (size_t first_indent, size_t rest_indent) const | |||
| ||||
size_t | trailing_width (size_t first_indent, size_t rest_indent) const | |||
| ||||
bool | final_newline () const | |||
|
(yum, premature optimization)
virtual size_t cwidget::fragment_container::calc_max_width | ( | size_t | first_indent, | |
size_t | rest_indent | |||
) | const [pure virtual] |
virtual size_t cwidget::fragment_container::calc_trailing_width | ( | size_t | first_indent, | |
size_t | rest_indent | |||
) | const [pure virtual] |
virtual bool cwidget::fragment_container::calc_final_newline | ( | ) | const [pure virtual] |
size_t cwidget::fragment_container::max_width | ( | size_t | first_indent, | |
size_t | rest_indent | |||
) | const [inline, virtual] |
first_indent | the indentation of the first line, relative to a baseline (which may be outside this fragment). |
rest_indent | the indentation of any other lines. |
Implements cwidget::fragment.
size_t cwidget::fragment_container::trailing_width | ( | size_t | first_indent, | |
size_t | rest_indent | |||
) | const [inline, virtual] |
first_indent | the indentation of the first line. |
rest_indent | the indentation of any other lines. |
Implements cwidget::fragment.
bool cwidget::fragment_container::final_newline | ( | ) | const [inline, virtual] |