diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-05-31 22:12:43 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-05-31 22:12:43 +0000 |
| commit | 9348dadeac26de57c9e7653ebb72a5ba6359b976 (patch) | |
| tree | 18cc5f68f8221b924e6c45d8b44e60c10d76cebd /src/ui/widget/icon-widget.h | |
| parent | Fix missing Glibmm headers needed for GTK+3 build (diff) | |
| download | inkscape-9348dadeac26de57c9e7653ebb72a5ba6359b976.tar.gz inkscape-9348dadeac26de57c9e7653ebb72a5ba6359b976.zip | |
Remove unused icon-widget code
(bzr r11446)
Diffstat (limited to 'src/ui/widget/icon-widget.h')
| -rw-r--r-- | src/ui/widget/icon-widget.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/src/ui/widget/icon-widget.h b/src/ui/widget/icon-widget.h deleted file mode 100644 index 329702f2e..000000000 --- a/src/ui/widget/icon-widget.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Author: - * Bryce Harrington <bryce@bryceharrington.org> - * - * Copyright (C) 2004 Bryce Harrington - * - * Released under GNU GPL. Read the file 'COPYING' for more information - */ - -#ifndef INKSCAPE_UI_WIDGET_ICON_H -#define INKSCAPE_UI_WIDGET_ICON_H - -#include <gtkmm/image.h> -#include <gdkmm/rectangle.h> - -namespace Inkscape { -namespace UI { -namespace Widget { - -/** - * Icon Widget - General image widget (including SVG icons). - */ -class IconWidget : public Gtk::Widget -{ -public: - IconWidget(); - IconWidget(int unsigned size, int unsigned scale, gchar const *name); - IconWidget(int unsigned size, guchar const *px); - virtual ~IconWidget(); - - // Overrides of Gtk::Widget functions - void size_request(Gtk::Requisition &requisition); - void size_allocate(Gtk::Allocation const &allocation); - - int expose(GdkEventExpose *event); - void paint(GdkRectangle const *area); - guchar* image_load(gchar const *name, int unsigned size, int unsigned scale); - guchar* image_load_pixmap(gchar const *name, int unsigned size, int unsigned scale); - guchar* image_load_svg(gchar const *name, int unsigned size, int unsigned scale); - guchar* image_load_gtk(gchar const *name, int unsigned size, int unsigned scale); - -protected: - int _size; - GdkPixbuf *_pb; - bool _do_bitmap_icons; -}; - - -} // namespace Widget -} // namespace UI -} // namespace Inkscape - -#endif // INKSCAPE_UI_WIDGET_ICON_H - -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 : |
