Classes | |
class | layout_line |
class | levelref |
Public Member Functions | |
layout_item (fragment *f) | |
const wchar_t * | tag () |
const wchar_t * | label () |
void | paint_line (int n, tree *win, int y, bool hierarchical, const style &st) |
Paints the nth line of this item at the given location in 'win'. | |
void | paint (tree *win, int y, bool hierarchical, const style &st) |
Display this item and this item only (does not descend to the children of the item, if any). | |
int | get_normal_attr () |
levelref * | begin () |
levelref * | end () |
bool | has_visible_children () |
const fragment_line & | get_line (tree *win, size_t n, int basex, const style &st) |
void cwidget::widgets::layout_item::paint | ( | tree * | win, | |
int | y, | |||
bool | hierarchical, | |||
const style & | st | |||
) | [virtual] |
Display this item and this item only (does not descend to the children of the item, if any).
The current style of the corresponding tree widget will be initialized using get_normal_style() and/or get_highlight_style() prior to the invocation of this method.
win | the tree in which to paint this item | |
y | the y location at which to paint this item | |
hierarchical | if true, paint this item as an entry in a 'hierarchical' tree. | |
st | the style with which this item is being displayed. |
Implements cwidget::widgets::treeitem.
References paint_line().
void cwidget::widgets::layout_item::paint_line | ( | int | n, | |
tree * | win, | |||
int | y, | |||
bool | hierarchical, | |||
const style & | st | |||
) |
Paints the nth line of this item at the given location in 'win'.
Referenced by paint(), and cwidget::widgets::layout_item::layout_line::paint().