Kanzi Graphics Engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
kzu_group_layer.h File Reference

Group layer class. More...

Functions

kzsError kzuGroupLayerCreate (const struct KzcMemoryManager *memoryManager, kzString name, struct KzuUIDomain *uiDomain, struct KzuGroupLayer **out_emptyLayer)
 Creates an empty layer. More...
 
kzsError kzuGroupLayerRegisterToFactory (const struct KzuFactory *factory)
 Registers empty layer to the factory. More...
 
struct KzuGroupLayer * kzuGroupLayerFromLayer (const struct KzuLayer *layer)
 Converts layer to empty layer. More...
 
struct KzuLayerkzuGroupLayerToLayer (const struct KzuGroupLayer *emptyLayer)
 Converts empty layer to layer. More...
 

Variables

const KzuObjectType KZU_OBJECT_TYPE_GROUP_LAYER
 Object type for empty layers. More...
 

Detailed Description

Group layer class.

The group layer behaves like the empty layer but it propagates the KZU_PROPERTY_TYPE_LAYER_OPACITY property downward to its children instead of being affected by it itself.

See Also
kzu_empty_layer.h.

Copyright 2008-2019 by Rightware. All rights reserved.

Function Documentation

kzsError kzuGroupLayerCreate ( const struct KzcMemoryManager memoryManager,
kzString  name,
struct KzuUIDomain uiDomain,
struct KzuGroupLayer **  out_emptyLayer 
)

Creates an empty layer.

kzsError kzuGroupLayerRegisterToFactory ( const struct KzuFactory factory)

Registers empty layer to the factory.

struct KzuGroupLayer* kzuGroupLayerFromLayer ( const struct KzuLayer layer)

Converts layer to empty layer.

struct KzuLayer* kzuGroupLayerToLayer ( const struct KzuGroupLayer *  emptyLayer)

Converts empty layer to layer.

Variable Documentation

const KzuObjectType KZU_OBJECT_TYPE_GROUP_LAYER

Object type for empty layers.