Load color tables from settings

This commit is contained in:
Dan Paulat 2021-11-06 22:18:02 -05:00
parent bcae7d9825
commit b241703b40
16 changed files with 324 additions and 17 deletions

View file

@ -35,6 +35,7 @@ public:
ColorTable& operator=(ColorTable&&) noexcept;
boost::gil::rgba8_pixel_t Color(float value) const;
bool IsValid() const;
static std::shared_ptr<ColorTable> Load(const std::string& filename);

View file

@ -29,6 +29,7 @@ typedef util::Iterator<Level2Product,
const std::string& GetLevel2Name(Level2Product product);
const std::string& GetLevel2Description(Level2Product product);
const std::string& GetLevel2Palette(Level2Product product);
const Level2Product GetLevel2Product(const std::string& id);
} // namespace common