imagetoggler.cpp revision 4e30687b6d402c72b644867605dfa0d42ffa1a90
/*
* Authors:
* Jon A. Cruz
* Johan B. C. Engelen
*
* Copyright (C) 2006-2008 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "ui/widget/imagetoggler.h"
#include <gtkmm/icontheme.h>
namespace Inkscape {
namespace UI {
namespace Widget {
_pixOnName(on),
_property_active(*this, "active", false),
_property_activatable(*this, "activatable", true),
{
Glib::RefPtr<Gdk::Pixbuf> pbmm = Gtk::IconTheme::get_default()->load_icon(_pixOnName, phys, (Gtk::IconLookupFlags)0);
if ( pbmm ) {
pbmm->unreference();
}
if ( pbmm ) {
pbmm->unreference();
}
}
void
int* x_offset,
int* y_offset,
int* width,
int* height ) const
{
if ( width ) {
}
if ( height ) {
}
}
void
{
Gtk::CellRendererPixbuf::render_vfunc( window, widget, background_area, cell_area, expose_area, flags );
}
bool
{
return false;
}
} // namespace Widget
} // namespace UI
} // namespace Inkscape
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :