2
* @brief A simple dialog for previewing icon representation.
7
* Other dudes from The Inkscape Organization
9
* Copyright (C) 2004,2005 The Inkscape Organization
11
* Released under GNU GPL, read the file 'COPYING' for more information
14
#ifndef SEEN_ICON_PREVIEW_H
15
#define SEEN_ICON_PREVIEW_H
17
#include <gtkmm/box.h>
18
#include <gtkmm/button.h>
19
#include <gtkmm/label.h>
20
#include <gtkmm/paned.h>
21
#include <gtkmm/image.h>
22
#include <gtkmm/togglebutton.h>
23
#include <gtkmm/toggletoolbutton.h>
25
#include "ui/widget/panel.h"
35
* A panel that displays an icon preview
37
class IconPreviewPanel : public UI::Widget::Panel
41
//IconPreviewPanel(Glib::ustring const &label);
43
static IconPreviewPanel& getInstance();
45
void refreshPreview();
49
IconPreviewPanel(IconPreviewPanel const &); // no copy
50
IconPreviewPanel &operator=(IconPreviewPanel const &); // no assign
53
void on_button_clicked(int which);
54
void renderPreview( SPObject* obj );
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