highlight-picker.cpp revision 98404ebde764740a1251859e2db4a25dbd1e48ee
/*
* 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 <gtkmm/icontheme.h>
#endif
#include "display/cairo-utils.h"
#include "highlight-picker.h"
#include "ui/icon-names.h"
namespace Inkscape {
namespace UI {
namespace Widget {
_property_active(*this, "active", 0)
{
}
{
}
#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
{
/* Transparent area */
carea.x = 0;
carea.y = 0;
cairo_fill(ct);
cairo_fill(ct);
#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
//should be okay to put this here
/**
* Converts GdkPixbuf's data to premultiplied ARGB.
* This function will convert a GdkPixbuf in place into Cairo's native pixel format.
* Note that this is a hack intended to save memory. When the pixbuf is in Cairo's format,
* using it with GTK will result in corrupted drawings.
*/
void
{
}
/**
* Converts GdkPixbuf's data back to its native format.
* Once this is done, the pixbuf can be used with GTK again.
*/
void
{
}
/*
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 :