Scroom 0.14-48-ga0fee447
Loading...
Searching...
No Matches
colormaps.hh
Go to the documentation of this file.
1/*
2 * Scroom - Generic viewer for 2D data
3 * Copyright (C) 2009-2026 Kees-Jan Dijkzeul
4 *
5 * SPDX-License-Identifier: LGPL-2.1
6 */
7
8#pragma once
9
10#include <list>
11
12#include <gtk/gtk.h>
13
15#include <scroom/logger.hh>
16
18{
27 {
28 private:
29 std::list<Colormap::ConstPtr> colormaps;
31
32 private:
34 Colormaps();
35
36 public:
38 static Colormaps& getInstance();
39
43 std::list<Colormap::ConstPtr> getColormaps();
44
48 static char* getColormapDirPath();
49
53 Colormap::Ptr load(const char* name);
54 };
55
56} // namespace Scroom::ColormapImpl
std::shared_ptr< Colormap > Ptr
Definition colormappable.hh:29
Definition colormaps.hh:27
static Colormaps & getInstance()
Definition colormaps.cc:71
Colormaps()
Definition colormaps.cc:39
std::list< Colormap::ConstPtr > colormaps
Definition colormaps.hh:29
std::list< Colormap::ConstPtr > getColormaps()
Definition colormaps.cc:97
static char * getColormapDirPath()
Definition colormaps.cc:77
Scroom::Logger logger
Definition colormaps.hh:30
Colormap::Ptr load(const char *name)
Definition colormaps.cc:99
Definition logger.hh:49
Definition colormapplugin.cc:22