Dali 3D User Interface Engine
Classes | Namespaces | Functions
scripting.h File Reference
#include <dali/public-api/actors/actor-enumerations.h>
#include <dali/public-api/actors/draw-mode.h>
#include <dali/devel-api/animation/animation-data.h>
#include <dali/public-api/images/image.h>
#include <dali/public-api/shader-effects/shader-effect.h>
#include <dali/public-api/object/property-map.h>
#include <dali/public-api/object/property-value.h>
Include dependency graph for scripting.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Dali::Scripting::StringEnum
 Structure which stores an enumeration and its string equivalent. More...
 

Namespaces

namespace  Dali
 The top level DALi namespace.
 
namespace  Dali::Scripting
 Utilities for scripting support.
 

Functions

unsigned int Dali::Scripting::FindEnumIndex (const char *value, const StringEnum *table, unsigned int tableCount)
 Find the given enum index from the table. More...
 
bool Dali::Scripting::EnumStringToInteger (const char *const value, const StringEnum *const table, unsigned int tableCount, unsigned int &integerEnum)
 Find the enum as an integer from the table. More...
 
template<typename T >
bool Dali::Scripting::GetEnumeration (const char *value, const StringEnum *table, unsigned int tableCount, T &result)
 Chooses the appropriate enumeration for the provided string from the given table. More...
 
template<typename T >
const char * Dali::Scripting::GetEnumerationName (T value, const StringEnum *table, unsigned int tableCount)
 Chooses the appropriate string for the provided enumeration from the given table. More...
 
template<typename T >
const char * Dali::Scripting::GetLinearEnumerationName (T value, const StringEnum *table, unsigned int tableCount)
 Chooses the appropriate string for the provided enumeration from the given table. More...
 
ColorMode Dali::Scripting::GetColorMode (const std::string &value)
 Takes a string and returns the appropriate color mode. More...
 
std::string Dali::Scripting::GetColorMode (ColorMode value)
 Takes a color mode and returns the appropriate string equivalent. More...
 
PositionInheritanceMode Dali::Scripting::GetPositionInheritanceMode (const std::string &value)
 Takes a string and returns the appropriate position inheritance mode. More...
 
std::string Dali::Scripting::GetPositionInheritanceMode (PositionInheritanceMode value)
 Takes a position inheritance mode and returns the string equivalent. More...
 
DrawMode::Type Dali::Scripting::GetDrawMode (const std::string &value)
 Takes a string and returns the appropriate draw mode. More...
 
std::string Dali::Scripting::GetDrawMode (DrawMode::Type value)
 Takes a draw-mode and returns the string equivalent. More...
 
Vector3 Dali::Scripting::GetAnchorConstant (const std::string &value)
 Takes a string and returns the appropriate anchor-point or parent-origin constant. More...
 
Image Dali::Scripting::NewImage (const Property::Value &property)
 Creates object with data from the property value map. More...
 
ShaderEffect Dali::Scripting::NewShaderEffect (const Property::Value &property)
 Creates object with data from the property value map. More...
 
Actor Dali::Scripting::NewActor (const Property::Map &map)
 Creates an actor with the date from the property value map. More...
 
void Dali::Scripting::CreatePropertyMap (Actor actor, Property::Map &map)
 Creates a Property::Map from the actor provided. More...
 
void Dali::Scripting::CreatePropertyMap (Image image, Property::Map &map)
 Creates a Property::Map from the image provided. More...
 
void Dali::Scripting::NewAnimation (const Property::Map &map, Dali::AnimationData &outputAnimationData)
 Creates description data required to create an Animation object from a property map. More...
 
Dali Docs Home
Read more about Dali