Etterna
0.74.4
Loading...
Searching...
No Matches
src
RageUtil
Graphics
RageSurface_Load.h
1
#ifndef RAGE_SURFACE_LOAD_H
2
#define RAGE_SURFACE_LOAD_H
3
4
struct
RageSurface
;
5
7
namespace
RageSurfaceUtils
{
8
enum
OpenResult
9
{
10
OPEN_OK,
11
OPEN_UNKNOWN_FILE_FORMAT = 1,
12
OPEN_FATAL_ERROR = 2,
13
};
14
15
RageSurface
*
16
LoadBase64(
const
std::string& base64, std::string& error);
17
18
/* If bHeaderOnly is true, the loader is only required to return a surface
19
* with the width and height set (but may return a complete surface). */
20
RageSurface
*
21
LoadFile(
const
std::string& sPath,
22
std::string& error,
23
bool
bHeaderOnly =
false
);
24
}
25
26
#endif
RageSurfaceUtils
Utility functions for the RageSurfaces.
Definition
RageSurface_Load.h:7
RageSurface
Definition
RageSurface.h:90
Generated by
1.9.8