diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-04 14:51:05 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-04 14:51:05 -0400 |
commit | 4dc63966f0872efe768dad61eb9b8785d06b92d1 (patch) | |
tree | e54104d57d6c2da7840979181368151fd0819c96 /libs/gtkmm2ext/cell_renderer_pixbuf_multi.cc | |
parent | 297e80e020da94a56984b20782584bb1dd96ea34 (diff) |
globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
Diffstat (limited to 'libs/gtkmm2ext/cell_renderer_pixbuf_multi.cc')
-rw-r--r-- | libs/gtkmm2ext/cell_renderer_pixbuf_multi.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libs/gtkmm2ext/cell_renderer_pixbuf_multi.cc b/libs/gtkmm2ext/cell_renderer_pixbuf_multi.cc index feb445a108..c5c9eb98b0 100644 --- a/libs/gtkmm2ext/cell_renderer_pixbuf_multi.cc +++ b/libs/gtkmm2ext/cell_renderer_pixbuf_multi.cc @@ -1,6 +1,6 @@ /* Copyright (C) 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 the Free Software Foundation; either version 2 of the License, or @@ -30,7 +30,7 @@ using namespace Glib; using namespace Gtkmm2ext; -CellRendererPixbufMulti::CellRendererPixbufMulti() : +CellRendererPixbufMulti::CellRendererPixbufMulti() : Glib::ObjectBase( typeid(CellRendererPixbufMulti) ), Gtk::CellRenderer(), property_state_(*this, "active", 0) @@ -41,27 +41,27 @@ CellRendererPixbufMulti::CellRendererPixbufMulti() : property_sensitive() = false; } -Glib::PropertyProxy<uint32_t> +Glib::PropertyProxy<uint32_t> CellRendererPixbufMulti::property_state() { return property_state_.get_proxy(); -} +} -// Overridden methods of the parent CellRenderer -Glib::PropertyProxy_Base +// Overridden methods of the parent CellRenderer +Glib::PropertyProxy_Base CellRendererPixbufMulti::_property_renderable() { return property_state(); -} +} -bool +bool CellRendererPixbufMulti::activate_vfunc(GdkEvent*, Gtk::Widget&, const Glib::ustring& path, const Gdk::Rectangle&, const Gdk::Rectangle&, Gtk::CellRendererState) { signal_changed_(path); return true; } -void +void CellRendererPixbufMulti::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*/) { int offset_width = 0; @@ -74,7 +74,7 @@ CellRendererPixbufMulti::render_vfunc (const Glib::RefPtr<Gdk::Drawable>& window window->draw_pixbuf (RefPtr<GC>(), pb, 0, 0, offset_width, offset_height, -1, -1, Gdk::RGB_DITHER_NORMAL, 0, 0); } -void +void CellRendererPixbufMulti::get_size_vfunc (Gtk::Widget& /*widget*/, const Gdk::Rectangle* /*cell_area*/, int* /*x_offset*/, int* /*y_offset*/, int* /*width*/, int* /*height*/) const { } @@ -84,7 +84,7 @@ CellRendererPixbufMulti::set_pixbuf(uint32_t which, Glib::RefPtr<Gdk::Pixbuf> pi _pixbufs[which] = pixbuf; } -CellRendererPixbufMulti::SignalChanged& +CellRendererPixbufMulti::SignalChanged& CellRendererPixbufMulti::signal_changed() { return signal_changed_; |