Drag[en]gine Script Module DragonScript Script API  1.0
ListElementRenderer Interface Reference

Render list elements of different types. More...

Inheritance diagram for ListElementRenderer:

Public Member Functions

Widget createRenderer (ListBox listBox)
 Create renderer. More...
Point getDefaultSize (ListBox listBox)
 Default size of list element. More...
void updateRenderer (ListBox listBox, Widget renderer, Object element, bool selected, bool focused)
 Update renderer with object state. More...

Detailed Description

Render list elements of different types.

Member Function Documentation

§ createRenderer()

Widget createRenderer ( ListBox  listBox)

Create renderer.

Implemented in DefaultListElementRenderer.

§ getDefaultSize()

Point getDefaultSize ( ListBox  listBox)

Default size of list element.

Implemented in DefaultListElementRenderer.

§ updateRenderer()

void updateRenderer ( ListBox  listBox,
Widget  renderer,
Object  element,
bool  selected,
bool  focused 

Update renderer with object state.

Implemented in DefaultListElementRenderer.

The documentation for this interface was generated from the following file: