Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (14 sloc) 0.417 kb
#ifndef SURFACE_PALETTE_HPP_INCLUDED
#define SURFACE_PALETTE_HPP_INCLUDED
#include <string>
#include "color_utils.hpp"
#include "surface.hpp"
namespace graphics
{
int get_palette_id(const std::string& name);
const std::string& get_palette_name(int id);
surface map_palette(surface s, int palette);
color map_palette(const color& c, int palette);
SDL_Color map_palette(const SDL_Color& c, int palette);
}
#endif
Jump to Line
Something went wrong with that request. Please try again.