summaryrefslogtreecommitdiffstats
path: root/src/dialogs/iconpreview.h
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2009-02-21 01:59:56 +0000
committertweenk <tweenk@users.sourceforge.net>2009-02-21 01:59:56 +0000
commit154165799998cb2cb7491bbd97b0511943a0228e (patch)
tree878507e5e42b4651f1bb0805a42c0837528eb314 /src/dialogs/iconpreview.h
parentOnly build static libraries for subdirs than actually contain libraries, (diff)
downloadinkscape-154165799998cb2cb7491bbd97b0511943a0228e.tar.gz
inkscape-154165799998cb2cb7491bbd97b0511943a0228e.zip
Move files from the src/dialogs/ directory to the places where they
should be. Build libinkscape.a - should reduce link time. (bzr r7337)
Diffstat (limited to 'src/dialogs/iconpreview.h')
-rw-r--r--src/dialogs/iconpreview.h84
1 files changed, 0 insertions, 84 deletions
diff --git a/src/dialogs/iconpreview.h b/src/dialogs/iconpreview.h
deleted file mode 100644
index 8f143725d..000000000
--- a/src/dialogs/iconpreview.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/** @file
- * @brief A simple dialog for previewing icon representation.
- */
-/* Authors:
- * Jon A. Cruz
- * Bob Jamison
- * Other dudes from The Inkscape Organization
- *
- * Copyright (C) 2004,2005 The Inkscape Organization
- *
- * Released under GNU GPL, read the file 'COPYING' for more information
- */
-
-#ifndef SEEN_ICON_PREVIEW_H
-#define SEEN_ICON_PREVIEW_H
-
-#include <gtkmm/box.h>
-#include <gtkmm/button.h>
-#include <gtkmm/label.h>
-#include <gtkmm/paned.h>
-#include <gtkmm/image.h>
-#include <gtkmm/togglebutton.h>
-#include <gtkmm/toggletoolbutton.h>
-
-#include "ui/widget/panel.h"
-
-struct SPObject;
-
-namespace Inkscape {
-namespace UI {
-namespace Dialogs {
-
-
-/**
- * A panel that displays an icon preview
- */
-class IconPreviewPanel : public UI::Widget::Panel
-{
-public:
- IconPreviewPanel();
- //IconPreviewPanel(Glib::ustring const &label);
-
- static IconPreviewPanel& getInstance();
-
- void refreshPreview();
- void modeToggled();
-
-private:
- IconPreviewPanel(IconPreviewPanel const &); // no copy
- IconPreviewPanel &operator=(IconPreviewPanel const &); // no assign
-
-
- void on_button_clicked(int which);
- void renderPreview( SPObject* obj );
- void updateMagnify();
-
- Gtk::Tooltips tips;
-
- Gtk::VBox iconBox;
- Gtk::HPaned splitter;
-
- int hot;
- int numEntries;
- int* sizes;
-
- Gtk::Image magnified;
- Gtk::Label magLabel;
-
- Gtk::Button *refreshButton;
- Gtk::ToggleButton *selectionButton;
-
- guchar** pixMem;
- Gtk::Image** images;
- Glib::ustring** labels;
- Gtk::ToggleToolButton** buttons;
-};
-
-} //namespace Dialogs
-} //namespace UI
-} //namespace Inkscape
-
-
-
-#endif // SEEN_ICON_PREVIEW_H