1
#ifndef SEEN_ICON_PREVIEW_H
2
#define SEEN_ICON_PREVIEW_H
4
* A simple dialog for previewing icon representation.
9
* Other dudes from The Inkscape Organization
11
* Copyright (C) 2004,2005 The Inkscape Organization
13
* Released under GNU GPL, read the file 'COPYING' for more information
16
#include <gtkmm/box.h>
17
#include <gtkmm/button.h>
18
#include <gtkmm/label.h>
19
#include <gtkmm/paned.h>
20
#include <gtkmm/image.h>
21
#include <gtkmm/toggletoolbutton.h>
23
#include "ui/widget/panel.h"
33
* A panel that displays an icon preview
35
class IconPreviewPanel : public Inkscape::UI::Widget::Panel
39
//IconPreviewPanel(Glib::ustring const &label);
41
static IconPreviewPanel& getInstance();
43
void refreshPreview();
47
IconPreviewPanel(IconPreviewPanel const &); // no copy
48
IconPreviewPanel &operator=(IconPreviewPanel const &); // no assign
51
void on_button_clicked(int which);
52
void renderPreview( SPObject* obj );
55
static IconPreviewPanel* instance;
69
Gtk::Button *refreshButton;
70
Gtk::ToggleButton *selectionButton;
74
Glib::ustring** labels;
75
Gtk::ToggleToolButton** buttons;
80
} //namespace Inkscape
84
#endif // SEEN_ICON_PREVIEW_H