/*
- Copyright (C) 2000-2009 Paul Davis
+ Copyright (C) 2000-2009 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
*/
-#ifndef __gtkmm2ext_cell_renderer_pixbuf_multi_h__
+#ifndef __gtkmm2ext_cell_renderer_pixbuf_multi_h__
#define __gtkmm2ext_cell_renderer_pixbuf_multi_h__
#include <map>
{
public:
- CellRendererPixbufMulti();
+ CellRendererPixbufMulti();
virtual ~CellRendererPixbufMulti(){};
virtual void render_vfunc (const Glib::RefPtr<Gdk::Drawable>& window, Gtk::Widget& widget, const Gdk::Rectangle& background_area, const Gdk::Rectangle& cell_area, const Gdk::Rectangle& expose_area, Gtk::CellRendererState flags);
Glib::PropertyProxy<uint32_t> property_state();
void set_pixbuf(uint32_t state, Glib::RefPtr<Gdk::Pixbuf> pixbuf);
-
+
typedef sigc::signal<void, const Glib::ustring&> SignalChanged;
SignalChanged& signal_changed();
protected:
-
+
private:
- Glib::Property<uint32_t> property_state_;
+ Glib::Property<uint32_t> property_state_;
std::map<uint32_t,Glib::RefPtr<Gdk::Pixbuf> > _pixbufs;