summaryrefslogtreecommitdiffstats
path: root/src/ui/previewholder.h
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2006-04-09 05:49:41 +0000
committerjoncruz <joncruz@users.sourceforge.net>2006-04-09 05:49:41 +0000
commit427dff020d70f1397502bdf45476cb917c00a1fc (patch)
tree006985cb196f1b9017dbabe54f60e1cd0d86e626 /src/ui/previewholder.h
parentBefore the rev 10880 fix in xml/simple-node.cpp, text updating when dragging ... (diff)
downloadinkscape-427dff020d70f1397502bdf45476cb917c00a1fc.tar.gz
inkscape-427dff020d70f1397502bdf45476cb917c00a1fc.zip
Adding in new icon size
(bzr r462)
Diffstat (limited to 'src/ui/previewholder.h')
-rw-r--r--src/ui/previewholder.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/previewholder.h b/src/ui/previewholder.h
index 53ffd5f05..42f5b119b 100644
--- a/src/ui/previewholder.h
+++ b/src/ui/previewholder.h
@@ -17,6 +17,7 @@
#include <gtkmm/bin.h>
#include <gtkmm/table.h>
#include "previewfillable.h"
+#include "../icon-size.h"
namespace Inkscape {
namespace UI {
@@ -31,11 +32,11 @@ public:
virtual void addPreview( Previewable* preview );
virtual void freezeUpdates();
virtual void thawUpdates();
- virtual void setStyle(Gtk::BuiltinIconSize size, ViewType view);
+ virtual void setStyle( Inkscape::IconSize size, ViewType view );
virtual void setOrientation( Gtk::AnchorType how );
virtual int getColumnPref() const { return _prefCols; }
virtual void setColumnPref( int cols );
- virtual Gtk::BuiltinIconSize getPreviewSize() const { return _baseSize; }
+ virtual Inkscape::IconSize getPreviewSize() const { return _baseSize; }
virtual ViewType getPreviewType() const { return _view; }
protected:
@@ -53,7 +54,7 @@ private:
int _prefCols;
bool _updatesFrozen;
Gtk::AnchorType _anchor;
- Gtk::BuiltinIconSize _baseSize;
+ Inkscape::IconSize _baseSize;
ViewType _view;
};