Dali 3D User Interface Engine
List of all members | Public Member Functions | Public Attributes | Private Member Functions
Dali::Integration::NativeImageResourceType Struct Reference

NativeImageResourceType describes a native image resource, which can be injected through ResourceManager::AddNativeImage() or requested through ResourceLoader::LoadResource(). More...

#include <resource-types.h>

Inheritance diagram for Dali::Integration::NativeImageResourceType:
Inheritance graph
[legend]
Collaboration diagram for Dali::Integration::NativeImageResourceType:
Collaboration graph
[legend]

Public Member Functions

 NativeImageResourceType ()
 Constructor. More...
 
 NativeImageResourceType (ImageDimensions dimensions)
 Constructor. More...
 
virtual ~NativeImageResourceType ()
 Destructor. More...
 
virtual ResourceTypeClone () const
 Create a copy of the resource type with the same attributes. More...
 
- Public Member Functions inherited from Dali::Integration::ResourceType
 ResourceType (ResourceTypeId typeId)
 Constructor. More...
 
virtual ~ResourceType ()
 Destructor. More...
 

Public Attributes

ImageDimensions imageDimensions
 Attributes are copied from the request (if supplied). More...
 
- Public Attributes inherited from Dali::Integration::ResourceType
const ResourceTypeId id
 

Private Member Functions

 NativeImageResourceType (const NativeImageResourceType &typePath)
 
NativeImageResourceTypeoperator= (const NativeImageResourceType &rhs)
 

Detailed Description

NativeImageResourceType describes a native image resource, which can be injected through ResourceManager::AddNativeImage() or requested through ResourceLoader::LoadResource().

If the adaptor does not support NativeImages, it can fall back to Bitmap type.

Definition at line 145 of file resource-types.h.

Constructor & Destructor Documentation

Dali::Integration::NativeImageResourceType::NativeImageResourceType ( )
inline

Constructor.

Definition at line 150 of file resource-types.h.

Referenced by Clone().

Here is the caller graph for this function:

Dali::Integration::NativeImageResourceType::NativeImageResourceType ( ImageDimensions  dimensions)
inline

Constructor.

Parameters
[in]dimensionsWidth and Height to allocate for image.

Definition at line 157 of file resource-types.h.

virtual Dali::Integration::NativeImageResourceType::~NativeImageResourceType ( )
inlinevirtual

Destructor.

Definition at line 164 of file resource-types.h.

Dali::Integration::NativeImageResourceType::NativeImageResourceType ( const NativeImageResourceType typePath)
private

Member Function Documentation

virtual ResourceType* Dali::Integration::NativeImageResourceType::Clone ( ) const
inlinevirtual

Create a copy of the resource type with the same attributes.

Returns
pointer to the new ResourceType.

Implements Dali::Integration::ResourceType.

Definition at line 169 of file resource-types.h.

References imageDimensions, and NativeImageResourceType().

Here is the call graph for this function:

NativeImageResourceType& Dali::Integration::NativeImageResourceType::operator= ( const NativeImageResourceType rhs)
private

Member Data Documentation

ImageDimensions Dali::Integration::NativeImageResourceType::imageDimensions

Attributes are copied from the request (if supplied).

Definition at line 177 of file resource-types.h.

Referenced by Clone(), Dali::Internal::ResourceClient::RequestResource(), and Dali::Internal::anonymous_namespace{resource-type-path.cpp}::ResourceTypeCompare().


The documentation for this struct was generated from the following file:
Dali Docs Home
Read more about Dali