icon.h revision ce8f78ef72fa2e86ded278ea85edfc04c6395a9e
#ifndef SEEN_SP_ICON_H
#define SEEN_SP_ICON_H
/*
* Generic icon widget
*
* Author:
* Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 2002 Lauris Kaplinski
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <glib.h>
#include "icon-size.h"
#define SP_TYPE_ICON (sp_icon_get_type ())
#include <gtk/gtkwidget.h>
struct SPIcon {
int psize;
};
struct SPIconClass {
};
GType sp_icon_get_type (void);
// Might return a wrapped SPIcon, or Gtk::Image
Gtk::Widget *sp_icon_get_icon( const Glib::ustring &oid, Inkscape::IconSize size = Inkscape::ICON_SIZE_BUTTON );
int sp_icon_get_phys_size(int size);
#endif // SEEN_SP_ICON_H