mirror of
https://github.com/mkwong98/HDNes.git
synced 2024-05-20 05:00:49 -04:00
28 lines
529 B
C++
28 lines
529 B
C++
#ifndef PALETTESWAP_H
|
|
#define PALETTESWAP_H
|
|
|
|
#include "common.h"
|
|
|
|
class paletteSwap
|
|
{
|
|
public:
|
|
paletteSwap();
|
|
virtual ~paletteSwap();
|
|
|
|
string name;
|
|
vector<array<Uint8, 4>> orgPalettes;
|
|
vector<array<Uint8, 4>> newPalettes;
|
|
double brightness;
|
|
double hueRotation;
|
|
double saturation;
|
|
|
|
void load(fstream& file);
|
|
void save(fstream& file);
|
|
paletteSwap clone();
|
|
protected:
|
|
|
|
private:
|
|
};
|
|
|
|
#endif // PALETTESWAP_H
|