Adding source/Graphics/Image/IcoFormat
This commit is contained in:
parent
b78531a570
commit
37d495fca3
3 changed files with 96 additions and 0 deletions
19
source/Graphics/Image/IcoFormat.h
Normal file
19
source/Graphics/Image/IcoFormat.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
#ifndef SPECTRE_GRAPHICS_IMAGE_ICOFORMAT_H
|
||||
#define SPECTRE_GRAPHICS_IMAGE_ICOFORMAT_H
|
||||
|
||||
#include <Spectre/Graphics/Image.h>
|
||||
|
||||
namespace sp {
|
||||
namespace image {
|
||||
|
||||
class IcoFormat
|
||||
{
|
||||
public :
|
||||
|
||||
bool decode(Image& img, const unsigned char *data, unsigned size);
|
||||
};
|
||||
|
||||
}} // namespace sp::image
|
||||
|
||||
#endif /* SPECTRE_GRAPHICS_IMAGE_ICOFORMAT_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue