|
Kanzi Graphics Engine
|
Text resource. More...
#include <user/resource/kzu_resource_common.h>#include <system/debug/kzs_error.h>#include <system/kzs_types.h>#include <system/kzs_header.h>Functions | |
| kzsError | kzuTextCreate (const struct KzcMemoryManager *memoryManager, const struct KzuUIDomain *uiDomain, kzString name, kzString text, struct KzuText **out_text) |
| Creates a text resource. More... | |
| kzsError | kzuTextDelete (struct KzuText *text) |
| Deletes a text resource. More... | |
| kzsError | kzuTextLoadFromKZB (struct KzuText *text, struct KzcInputStream *inputStream, const struct KzuBinaryFileInfo *file) |
| Loads text resource from KZB. More... | |
| kzString | kzuTextGetText (const struct KzuText *text) |
| Gets text resource text. More... | |
| struct KzuResource * | kzuTextToResource (const struct KzuText *text) |
| Converts text resource to resource. More... | |
| struct KzuText * | kzuTextFromResource (const struct KzuResource *resource) |
| Converts resource to text resource. More... | |
| struct KzuText * | kzuTextCastFromResource (const struct KzuResource *resource) |
| Casts resource to text resource, KZ_NULL if invalid type. More... | |
Variables | |
| const KzuResourceType | KZU_RESOURCE_TYPE_TEXT |
| Resource type identifier for text. More... | |
Text resource.
Copyright 2008-2019 by Rightware. All rights reserved.
| kzsError kzuTextCreate | ( | const struct KzcMemoryManager * | memoryManager, |
| const struct KzuUIDomain * | uiDomain, | ||
| kzString | name, | ||
| kzString | text, | ||
| struct KzuText ** | out_text | ||
| ) |
Creates a text resource.
| kzsError kzuTextLoadFromKZB | ( | struct KzuText * | text, |
| struct KzcInputStream * | inputStream, | ||
| const struct KzuBinaryFileInfo * | file | ||
| ) |
Loads text resource from KZB.
| struct KzuResource* kzuTextToResource | ( | const struct KzuText * | text) |
Converts text resource to resource.
| struct KzuText* kzuTextFromResource | ( | const struct KzuResource * | resource) |
Converts resource to text resource.
| struct KzuText* kzuTextCastFromResource | ( | const struct KzuResource * | resource) |
Casts resource to text resource, KZ_NULL if invalid type.
| const KzuResourceType KZU_RESOURCE_TYPE_TEXT |
Resource type identifier for text.