Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.Localization.LocalizedSpriteContent Class Reference

Detailed Description

Proxy container that provides you with a localized sprite content.

Inheritance diagram for Doloro.Localization.LocalizedSpriteContent:
Collaboration diagram for Doloro.Localization.LocalizedSpriteContent:

Public Member Functions

 LocalizedSpriteContent (Sprite content)
 
delegate void UpdateHandler (AProxyContentProvider info)
 Handle UI member update. More...
 
delegate LocalizatorType LocalizationHandler (LocalizatorType origin)
 Handler that should return localized text related to the origin one in current localization policy. More...
 

Static Public Member Functions

static void SetLocalzationHandler (LocalizationHandler localizator)
 Defines localization handler for text content. More...
 

Protected Member Functions

virtual void OnUpdated ()
 Occurs when some GUI element has been changed.
 

Properties

override Sprite content [get, set]
 Sprite that will be used as icon where applicable.
 
static LocalizationHandler localizator [get]
 

Events

UpdateHandler Updated
 Occurs when content has been updated.
 

Member Function Documentation

◆ LocalizationHandler()

delegate LocalizatorType Doloro.Localization.AGenericProxyContentProvider< ContentType, LocalizatorType >.LocalizationHandler ( LocalizatorType  origin)
inherited

Handler that should return localized text related to the origin one in current localization policy.

Parameters
originOrigin text or key code to localization system access.
Returns
Localized text in case if found. Origin text otherwise.

◆ SetLocalzationHandler()

static void Doloro.Localization.AGenericProxyContentProvider< ContentType, LocalizatorType >.SetLocalzationHandler ( LocalizationHandler  localizator)
staticinherited

Defines localization handler for text content.

Parameters
localizatorhandler that will be called to localize a content.

◆ UpdateHandler()

delegate void Doloro.Localization.AGenericProxyContentProvider< ContentType, LocalizatorType >.UpdateHandler ( AProxyContentProvider  info)
inherited

Handle UI member update.

Parameters
infoUpdated info.

The documentation for this class was generated from the following file: