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

Empty object node. More...

Functions

kzsError kzuEmptyNodeRegisterToFactory (const struct KzuFactory *factory)
 Registers empty node type to factory. More...
 
kzsError kzuEmptyNodeCreate (const struct KzcMemoryManager *memoryManager, kzString name, struct KzuUIDomain *uiDomain, struct KzuObjectNode **out_emptyObjectNode)
 Creates an empty object node. More...
 

Variables

KZ_HEADER_BEGIN const KzuObjectType KZU_OBJECT_TYPE_EMPTY
 Object type identifier for empty objects. More...
 

Detailed Description

Empty object node.

The empty node is a KzuObjectNode that behaves differently when its parent is a KzuUiComponentNode. When the parent is not a KzuUiComponentNode, the empty node does not layout its children in any way, but when the parent is a KzuUiComponentNode, the empty node acts as if it calculates a center point of the children and causes the children's transformation be relative to the point.

Copyright 2008-2019 by Rightware. All rights reserved.

Function Documentation

kzsError kzuEmptyNodeRegisterToFactory ( const struct KzuFactory factory)

Registers empty node type to factory.

kzsError kzuEmptyNodeCreate ( const struct KzcMemoryManager memoryManager,
kzString  name,
struct KzuUIDomain uiDomain,
struct KzuObjectNode **  out_emptyObjectNode 
)

Creates an empty object node.

Variable Documentation

KZ_HEADER_BEGIN const KzuObjectType KZU_OBJECT_TYPE_EMPTY

Object type identifier for empty objects.