summary refs log tree commit diff stats
path: root/palette.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-08-15 18:45:29 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-08-15 18:45:29 -0400
commit0baed246b6f287e1c03519536011f34e87d19920 (patch)
treed9eb44f28d8ad5edf7e78f47e3bdb830114a7432 /palette.h
parentd7fbb904d0dc70d1eada1dbb5f57f2ee9e5b399f (diff)
downloadinfinite-0baed246b6f287e1c03519536011f34e87d19920.tar.gz
infinite-0baed246b6f287e1c03519536011f34e87d19920.tar.bz2
infinite-0baed246b6f287e1c03519536011f34e87d19920.zip
Started to modernize bot (this is completely broken) modern
Diffstat (limited to 'palette.h')
-rw-r--r--palette.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/palette.h b/palette.h new file mode 100644 index 0000000..15862a5 --- /dev/null +++ b/palette.h
@@ -0,0 +1,20 @@
1#ifndef PALETTE_H_09303AB4
2#define PALETTE_H_09303AB4
3
4#include <string>
5#include <vector>
6#include "color.h"
7
8class palette {
9public:
10
11 explicit palette(std::string colors);
12
13 Color getShade(double c) const;
14
15private:
16
17 std::vector<Color> gradient_;
18};
19
20#endif /* end of include guard: PALETTE_H_09303AB4 */