Code

make sure only positive dialog positions are read from preferences, fixes #1290647
[inkscape.git] / src / ui / previewfillable.h
2 #ifndef SEEN_PREVIEWFILLABLE_H
3 #define SEEN_PREVIEWFILLABLE_H
4 /*
5  * A simple interface for previewing representations.
6  *
7  * Authors:
8  *   Jon A. Cruz
9  *
10  * Copyright (C) 2005 Jon A. Cruz
11  *
12  * Released under GNU GPL, read the file 'COPYING' for more information
13  */
16 #include "previewable.h"
19 namespace Inkscape {
20 namespace UI {
22 class PreviewFillable
23 {
24 public:
25     virtual ~PreviewFillable() {}
26     virtual void clear() = 0;
27     virtual void addPreview( Previewable* preview ) = 0;
28     virtual void setStyle(Gtk::BuiltinIconSize size, ViewType type) = 0;
29     virtual void setOrientation( Gtk::AnchorType how ) = 0;
30     virtual Gtk::BuiltinIconSize getPreviewSize() const = 0;
31     virtual ViewType getPreviewType() const = 0;
32 };
35 } //namespace UI
36 } //namespace Inkscape
39 #endif // SEEN_PREVIEWFILLABLE_H
41 /*
42   Local Variables:
43   mode:c++
44   c-file-style:"stroustrup"
45   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
46   indent-tabs-mode:nil
47   fill-column:99
48   End:
49 */
50 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :