MaterialSelector.MaterialSelector Class Reference

#include <class_material_selector_1_1_material_selector.h>

Inheritance diagram for MaterialSelector.MaterialSelector:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  __init__ ()
  setList ()
  manageButton ()
  manageButtonSize ()
  margin ()
  space ()
  renameWidgetHeight ()
  getMaterial ()
  highlight ()
  Call when you want to highlight a control at the specified position.
  scrollUp ()
  Call when you want to scroll the UI in response to some event, typically the mouse wheel.
  scrollDown ()
  Call when you want to scroll the UI in response to some event, typically the mouse wheel.
  release ()
  Called on a mouse up event, pass along to ListUi to unselect controls Return True if handled.
  lazyRefresh ()
  If this selector is visible, refreshes the UI, with the option to regenerate the swatch images for the materials.
  updateRequired ()
  setVisible ()
  Frame ()
  Called on each frame update.

Member Function Documentation

MaterialSelector.MaterialSelector.__init__ ( )
MaterialSelector.MaterialSelector.setList ( )
MaterialSelector.MaterialSelector.manageButton ( )
MaterialSelector.MaterialSelector.manageButtonSize ( )
MaterialSelector.MaterialSelector.margin ( )
MaterialSelector.MaterialSelector.space ( )
MaterialSelector.MaterialSelector.renameWidgetHeight ( )
MaterialSelector.MaterialSelector.getMaterial ( )
MaterialSelector.MaterialSelector.highlight ( )

Call when you want to highlight a control at the specified position.

Test each control in the UI to see if it contains the given position.

Return the control containing the position, or None if no control does.

MaterialSelector.MaterialSelector.scrollUp ( )

Call when you want to scroll the UI in response to some event, typically the mouse wheel.

Scrolling happens only if the mouse pointer is over the UI.

Return True to indicate the mouse pointer is over the UI and scrolling was attempted. Note that actual scrolling may not have happened because the UI is already fully scrolled up.

MaterialSelector.MaterialSelector.scrollDown ( )

Call when you want to scroll the UI in response to some event, typically the mouse wheel.

Scrolling happens only if the mouse pointer is over the UI.

Return True to indicate the mouse pointer is over the UI and scrolling was attempted. Note that actual scrolling may not have happened because the UI is already fully scrolled down.

MaterialSelector.MaterialSelector.release ( )

Called on a mouse up event, pass along to ListUi to unselect controls Return True if handled.

MaterialSelector.MaterialSelector.lazyRefresh ( )

If this selector is visible, refreshes the UI, with the option to regenerate the swatch images for the materials.

If it is not visible, the refresh does not happen until the selector is made visible again.

MaterialSelector.MaterialSelector.updateRequired ( )
MaterialSelector.MaterialSelector.setVisible ( )
MaterialSelector.MaterialSelector.Frame ( )

Called on each frame update.

Inform lists of the frame.

Reimplemented from UiSelector.UiSelector.


MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector
MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector MaterialSelector.MaterialSelector