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

Empty layer class. More...

Functions

kzsError kzuEmptyLayerRegisterToFactory (const struct KzuFactory *factory)
 Registers empty layer to the factory. More...
 
kzsError kzuEmptyLayerCreate (const struct KzcMemoryManager *memoryManager, kzString name, struct KzuUIDomain *uiDomain, struct KzuEmptyLayer **out_emptyLayer)
 Creates an empty layer. More...
 
struct KzuEmptyLayerkzuEmptyLayerFromLayer (const struct KzuLayer *layer)
 Converts layer to empty layer. More...
 
struct KzuLayerkzuEmptyLayerToLayer (const struct KzuEmptyLayer *emptyLayer)
 Converts empty layer to layer. More...
 

Variables

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

Detailed Description

Empty layer class.

The empty layer is a KzuLayer without any functionality except that it has a transparent background color and can act as the parent of other layers. The 3D counterpart is KzuUiPlaceholder or kzu_empty_node.h.

See Also
kzu_empty_node.h, kzu_ui_placeholder.h.

Copyright 2008-2019 by Rightware. All rights reserved.

Function Documentation

kzsError kzuEmptyLayerRegisterToFactory ( const struct KzuFactory factory)

Registers empty layer to the factory.

kzsError kzuEmptyLayerCreate ( const struct KzcMemoryManager memoryManager,
kzString  name,
struct KzuUIDomain uiDomain,
struct KzuEmptyLayer **  out_emptyLayer 
)

Creates an empty layer.

struct KzuEmptyLayer* kzuEmptyLayerFromLayer ( const struct KzuLayer layer)

Converts layer to empty layer.

struct KzuLayer* kzuEmptyLayerToLayer ( const struct KzuEmptyLayer emptyLayer)

Converts empty layer to layer.

Variable Documentation

const KzuObjectType KZU_OBJECT_TYPE_EMPTY_LAYER

Object type for empty layers.