class::ui::InfoListItem

class ui::InfoListItem
  : public ui::ListItem

This class is a list item with a label and a value. Both are display on the same line in a list.

Members

InfoListItem(

LinkedElement * parent
)

InfoListItem(

const char * label,
const char * value,
LinkedElement * parent
)

virtual void draw_to_scale(

const draw::DrawingScaledAttr & attr
)

virtual Element * handle_event(

const Event & event,
const draw::DrawingAttr & attr
)

draw::TextAttr & label()
void set(

const char * l,
const char * v
)

draw::TextAttr & value()

Details

InfoListItem(

LinkedElement * parent
)


InfoListItem(

const char * label,
const char * value,
LinkedElement * parent
)


virtual void draw_to_scale(

const draw::DrawingScaledAttr & attr
)

This methods draws the drawing on the specified attributes.

Parameters

  • attr Specifies the bitmap, point and area to draw the drawing

virtual Element * handle_event(

const Event & event,
const draw::DrawingAttr & attr
)

Handles an event sent by the event loop.

Parameters

  • event The event that should be handled

  • attr The draw::DrawingAttr to use to update the display based on the event.


draw::TextAttr & label()

void set(

const char * l,
const char * v
)


draw::TextAttr & value()

X

Thanks for Coming!

Subscribe to news and updates