/*
* Authors:
* Theodore Janeczko
*
* Copyright (C) Theodore Janeczko 2012 <flutterguy317@gmail.com>
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "ui/widget/layertypeicon.h"
#include <gtkmm/icontheme.h>
#include "ui/icon-names.h"
#include "layertypeicon.h"
namespace Inkscape {
namespace UI {
namespace Widget {
_property_active(*this, "active", false),
_property_activatable(*this, "activatable", true),
{
Inkscape::queueIconPrerender( INKSCAPE_ICON(_pixLayerName.data()), Inkscape::ICON_SIZE_DECORATION );
}
Inkscape::queueIconPrerender( INKSCAPE_ICON(_pixGroupName.data()), Inkscape::ICON_SIZE_DECORATION );
}
}
}
}
}
}
#if WITH_GTKMM_3_0
int& min_h,
int& nat_h) const
{
if (min_h) {
}
if (nat_h) {
}
}
int& min_w,
int& nat_w) const
{
if (min_w) {
}
if (nat_w) {
}
}
#else
int* x_offset,
int* y_offset,
int* width,
int* height ) const
{
if ( width ) {
}
if ( height ) {
}
}
#endif
#if WITH_GTKMM_3_0
#else
#endif
{
property_pixbuf() = _property_active.get_value() == 1 ? _property_pixbuf_group : (_property_active.get_value() == 2 ? _property_pixbuf_layer : _property_pixbuf_path);
#if WITH_GTKMM_3_0
#else
Gtk::CellRendererPixbuf::render_vfunc( window, widget, background_area, cell_area, expose_area, flags );
#endif
}
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:fileencoding=utf-8:textwidth=99 :