nw::lyt::Window::GetMaterial Member Function

Syntax

virtual Material * GetMaterial(
     u32 idx
) const;

Arguments

Name Description
idx Index.

Return Values

Returns the pointer to the material.

Description

Gets the pane's material.

The value specified by idx must be equal to or less than the return value of GetMaterialNum().

See Also

GetMaterialNum
GetContentMaterial
SetContentMaterial
GetFrameMaterial
SetFrameMaterial

Revision History

2009/09/18
Initial version.

nw::lyt::Window::GetMaterial Member Function

Syntax

Material * GetMaterial() const;

Arguments

None.

Return Values

Returns the pointer to the material.

Description

Gets the pane's material.

Returns the first material (having index 0) if the pane has more than one material.

Returns NULL if the pane does not have any materials.

Revision History

2009/09/18
Initial version.

CONFIDENTIAL