#include
<class_material_scene_selector_1_1_material_scene_list_ui.h>
Public Member Functions |
|
__init__ () | |
createControl () | |
Create a control for the list. |
|
createGroupLayout () | |
The scene list doesn't need to create
layouts for the group. |
|
createItemLayout () | |
Create an item layout. |
|
clickRegion () | |
Determine what area of the list the user
clicked on and then return the types of clicks that the region can
process. |
|
Public Attributes |
|
int | kTextHeight = 16 |
int | kImageHeight = 63 |
MaterialSceneSelector.MaterialSceneListUi.__init__ | ( | ) |
Reimplemented from MaterialList.MaterialList.
MaterialSceneSelector.MaterialSceneListUi.createControl | ( | ) |
Create a control for the list.
Control must use the dimension given in the layout argument.
This method may be overridden in derived class.
Reimplemented from ListUi.ListUi.
MaterialSceneSelector.MaterialSceneListUi.createGroupLayout | ( | ) |
The scene list doesn't need to create layouts for the group.
Only items are shown.
Reimplemented from ListUi.ListUi.
MaterialSceneSelector.MaterialSceneListUi.createItemLayout | ( | ) |
Create an item layout.
What is an item layout?
Must return a list of layouts. A layout is a tuple containing the position and size of a control.
( x, y, width, height, data )
Feel free to attach any data desired to the last data parameter.
Reimplemented from MaterialList.MaterialList.
MaterialSceneSelector.MaterialSceneListUi.clickRegion | ( | ) |
Determine what area of the list the user clicked on and then return the types of clicks that the region can process.
Use to prevent both the select and the double click calls to happen when a double click occurs. Position should be relative to the bottom left corner of the control.
Reimplemented from ListUi.ListUi.