Doxygen
Loading...
Searching...
No Matches
Resource Struct Reference

Compiled resource. More...

#include <src/resourcemgr.h>

Public Types

enum  Type {
  Verbatim , Luminance , LumAlpha , CSS ,
  SVG
}
 

Public Attributes

const char * category
 
const char * name
 
const unsigned char * data
 
int size
 
Type type
 

Detailed Description

Compiled resource.

Definition at line 25 of file resourcemgr.h.

Member Enumeration Documentation

◆ Type

Enumerator
Verbatim 
Luminance 
LumAlpha 
CSS 
SVG 

Definition at line 27 of file resourcemgr.h.

Member Data Documentation

◆ category

const char* Resource::category

Definition at line 28 of file resourcemgr.h.

◆ data

const unsigned char* Resource::data

Definition at line 30 of file resourcemgr.h.

Referenced by ResourceMgr::copyResourceAs(), and ResourceMgr::getAsString().

◆ name

const char* Resource::name

Definition at line 29 of file resourcemgr.h.

◆ size

int Resource::size

Definition at line 31 of file resourcemgr.h.

Referenced by ResourceMgr::copyResourceAs(), and ResourceMgr::getAsString().

◆ type

Type Resource::type

Definition at line 32 of file resourcemgr.h.

Referenced by ResourceMgr::copyResourceAs().


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