Go to the documentation of this file.
12 #include <boost/enable_shared_from_this.hpp>
13 #include <boost/shared_ptr.hpp>
30 ,
public boost::enable_shared_from_this<ColormapProvider>
33 using Ptr = boost::shared_ptr<ColormapProvider>;
40 std::map<ViewInterface::WeakPtr, GtkTreeView*>
views;
void open(ViewInterface::WeakPtr vi) override
Definition: colormapprovider.cc:122
Definition: colormapplugin.cc:21
void on_colormap_selected(GtkTreeView *tv)
Definition: colormapprovider.cc:145
~ColormapProvider() override
Definition: colormapprovider.cc:102
@ COLUMN_NAME
Definition: colormapprovider.cc:40
boost::shared_ptr< ViewInterface > Ptr
Definition: viewinterface.hh:193
ColormapProvider operator=(const ColormapProvider &)=delete
ColormapProvider(const Colormappable::Ptr &c)
Definition: colormapprovider.cc:66
boost::shared_ptr< PresentationInterface > Ptr
Definition: presentationinterface.hh:74
boost::shared_ptr< ColormapProvider > Ptr
Definition: colormapprovider.hh:33
boost::weak_ptr< ViewInterface > WeakPtr
Definition: viewinterface.hh:194
boost::shared_ptr< Colormap > Ptr
Definition: colormappable.hh:31
const Colormap::Ptr colormap
Definition: colormaphelpers_test.cc:54
Scroom::Utils::Stuff registration
Definition: colormapprovider.hh:46
static ColormapProvider::Ptr create(const PresentationInterface::Ptr &p)
Definition: colormapprovider.cc:47
void on_colormap_selected(GtkTreeView *tv, gpointer user_data)
Definition: colormapprovider.cc:27
std::list< Colormap::ConstPtr > getColormaps()
Definition: colormaps.cc:97
Definition: colormapprovider.hh:28
static Colormaps & getInstance()
Definition: colormaps.cc:71
boost::shared_ptr< void > Stuff
Definition: stuff.hh:18
boost::shared_ptr< Colormappable > Ptr
Definition: colormappable.hh:116
#define defect_message(m)
Definition: assertions.hh:43
Definition: presentationinterface.hh:32
boost::shared_ptr< Viewable > Ptr
Definition: presentationinterface.hh:35
@ N_COLUMNS
Definition: colormapprovider.cc:42
std::map< ViewInterface::WeakPtr, GtkTreeView * > views
Definition: colormapprovider.hh:40
@ COLUMN_POINTER
Definition: colormapprovider.cc:41
Colormappable::WeakPtr colormappable
Definition: colormapprovider.hh:37
void close(ViewInterface::WeakPtr vi) override
Definition: colormapprovider.cc:135
boost::weak_ptr< Colormappable > WeakPtr
Definition: colormappable.hh:117
boost::shared_ptr< const Colormap > ConstPtr
Definition: colormappable.hh:32
GtkListStore * colormaps
Definition: colormapprovider.hh:43