You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
653 B
35 lines
653 B
//
|
|
// libpng.hpp
|
|
// AwesomeAttract0r
|
|
//
|
|
// Created by Joshua Moerman on 10/24/11.
|
|
// Copyright 2011 Vadovas. All rights reserved.
|
|
//
|
|
|
|
#ifndef AwesomeAttract0r_libpng_hpp
|
|
#define AwesomeAttract0r_libpng_hpp
|
|
|
|
#ifndef __APPLE__
|
|
#include <png++/png.hpp>
|
|
#else
|
|
#warning PNG++ is not yet supported
|
|
namespace png {
|
|
template <typename T>
|
|
struct image{
|
|
image(unsigned int, unsigned int){}
|
|
|
|
image& operator[](unsigned int){return *this;}
|
|
|
|
template <typename S>
|
|
image& operator=(S const &){return *this;}
|
|
|
|
void write(std::string const &){}
|
|
};
|
|
|
|
struct rgb_pixel{
|
|
rgb_pixel(unsigned int, unsigned int, unsigned int){}
|
|
};
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|