Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
IOTexture_BMP.h
Go to the documentation of this file.
1 // IOTexture_BMP.h
3 // load/save BMP textures
4 //
6 
7 #ifndef IOTEXTURE_BMP
8 #define IOTEXTURE_BMP
9 
10 #define DEBUG
11 
12 #include "framework\frm_IO.h"
13 #include <gl\freeglut.h>
14 #include <stdio.h>
15 
16 namespace ToolBox {
17 
18 class IO_Texture_BMP: Frm::IO<TEXTURE>{
19  public:
21  bool Load(std::string pFilename, TEXTURE &pT);
22  bool Save(std::string pFilename, TEXTURE &pT);
23  bool Load(std::string pFilename, std::vector<TEXTURE> &pVT){return false;};
24  bool Save(std::string pFilename, std::vector<TEXTURE> &pVT){return false;};
25 };
26 
27 };
28 #endif
Definition: Frm_IO.h:17
uchar _Type
Definition: Frm_IO.h:38
bool Load(std::string pFilename, TEXTURE &pT)
bool Save(std::string pFilename, TEXTURE &pT)
bool Save(std::string pFilename, std::vector< TEXTURE > &pVT)
Definition: IOTexture_BMP.h:24
bool Load(std::string pFilename, std::vector< TEXTURE > &pVT)
Definition: IOTexture_BMP.h:23
IO_Texture_BMP(void)
Definition: IOTexture_BMP.h:20
Definition: IOTexture_BMP.h:16
#define IO_BMP
Definition: Frm_types.h:29
Definition: Frm_types.h:39