Dali 3D User Interface Engine
Classes | Typedefs | Enumerations | Functions | Variables
Dali::TizenPlatform::anonymous_namespace{loader-ico.cpp} Namespace Reference

Classes

struct  IcoData
 

Typedefs

typedef unsigned char DATA8
 

Enumerations

enum  { SMALLEST, BIGGEST, SMALLER, BIGGER }
 
enum  { ICON = 1, CURSOR = 2 }
 

Functions

bool read_ushort (unsigned char *map, size_t length, size_t *position, unsigned short *ret)
 
bool read_uint (unsigned char *map, size_t length, size_t *position, unsigned int *ret)
 
bool read_uchar (unsigned char *map, size_t length, size_t *position, unsigned char *ret)
 
bool read_mem (unsigned char *map, size_t length, size_t *position, void *buffer, int size)
 
bool LoadIcoHeaderHelper (FILE *fp, IcoData &chosen, Dali::Vector< unsigned char > &map, unsigned int &fsize)
 

Variables

const unsigned char ICO_FILE_HEADER = 22
 
const unsigned char ICO_IMAGE_INFO_HEADER = 40
 

Typedef Documentation

typedef unsigned char Dali::TizenPlatform::anonymous_namespace{loader-ico.cpp}::DATA8

Definition at line 78 of file loader-ico.cpp.

Enumeration Type Documentation

anonymous enum
Enumerator
SMALLEST 
BIGGEST 
SMALLER 
BIGGER 

Definition at line 142 of file loader-ico.cpp.

anonymous enum
Enumerator
ICON 
CURSOR 

Definition at line 150 of file loader-ico.cpp.

Function Documentation

bool Dali::TizenPlatform::anonymous_namespace{loader-ico.cpp}::LoadIcoHeaderHelper ( FILE *  fp,
IcoData &  chosen,
Dali::Vector< unsigned char > &  map,
unsigned int &  fsize 
)
bool Dali::TizenPlatform::anonymous_namespace{loader-ico.cpp}::read_mem ( unsigned char *  map,
size_t  length,
size_t *  position,
void *  buffer,
int  size 
)

Definition at line 131 of file loader-ico.cpp.

Referenced by Dali::TizenPlatform::LoadBitmapFromIco().

Here is the caller graph for this function:

bool Dali::TizenPlatform::anonymous_namespace{loader-ico.cpp}::read_uchar ( unsigned char *  map,
size_t  length,
size_t *  position,
unsigned char *  ret 
)

Definition at line 121 of file loader-ico.cpp.

Referenced by Dali::TizenPlatform::LoadBitmapFromIco(), and LoadIcoHeaderHelper().

Here is the caller graph for this function:

bool Dali::TizenPlatform::anonymous_namespace{loader-ico.cpp}::read_uint ( unsigned char *  map,
size_t  length,
size_t *  position,
unsigned int *  ret 
)

Definition at line 104 of file loader-ico.cpp.

References ARGB_JOIN, and b.

Referenced by Dali::TizenPlatform::LoadBitmapFromIco(), and LoadIcoHeaderHelper().

Here is the caller graph for this function:

bool Dali::TizenPlatform::anonymous_namespace{loader-ico.cpp}::read_ushort ( unsigned char *  map,
size_t  length,
size_t *  position,
unsigned short *  ret 
)

Definition at line 90 of file loader-ico.cpp.

References b.

Referenced by Dali::TizenPlatform::LoadBitmapFromIco(), and LoadIcoHeaderHelper().

Here is the caller graph for this function:

Variable Documentation

const unsigned char Dali::TizenPlatform::anonymous_namespace{loader-ico.cpp}::ICO_FILE_HEADER = 22

Definition at line 72 of file loader-ico.cpp.

const unsigned char Dali::TizenPlatform::anonymous_namespace{loader-ico.cpp}::ICO_IMAGE_INFO_HEADER = 40

Definition at line 76 of file loader-ico.cpp.

Dali Docs Home
Read more about Dali