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/togglebutton.h>
22
#include <gtkmm/toggletoolbutton.h>
24
#include "ui/widget/panel.h"
34
* A panel that displays an icon preview
36
class IconPreviewPanel : public UI::Widget::Panel
40
//IconPreviewPanel(Glib::ustring const &label);
42
static IconPreviewPanel& getInstance();
44
void refreshPreview();
48
IconPreviewPanel(IconPreviewPanel const &); // no copy
49
IconPreviewPanel &operator=(IconPreviewPanel const &); // no assign
52
void on_button_clicked(int which);
53
void renderPreview( SPObject* obj );
68
Gtk::Button *refreshButton;
69
Gtk::ToggleButton *selectionButton;
73
Glib::ustring** labels;
74
Gtk::ToggleToolButton** buttons;
79
} //namespace Inkscape
83
#endif // SEEN_ICON_PREVIEW_H