summaryrefslogtreecommitdiffstats
path: root/src/ui/previewfillable.h
blob: 95662732abf7e351d300b19d3d140258992024ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef SEEN_PREVIEWFILLABLE_H
#define SEEN_PREVIEWFILLABLE_H
/*
 * A simple interface for previewing representations.
 *
 * Authors:
 *   Jon A. Cruz
 *
 * Copyright (C) 2005 Jon A. Cruz
 *
 * Released under GNU GPL, read the file 'COPYING' for more information
 */


#include "previewable.h"
#include "../icon-size.h"

namespace Inkscape {
namespace UI {

class PreviewFillable
{
public:
    virtual ~PreviewFillable() {}
    virtual void clear() = 0;
    virtual void addPreview( Previewable* preview ) = 0;
    virtual void freezeUpdates() = 0;
    virtual void thawUpdates() = 0;
    virtual void setStyle( Inkscape::IconSize size, ViewType type) = 0;
    virtual void setOrientation( Gtk::AnchorType how ) = 0;
    virtual Inkscape::IconSize getPreviewSize() const = 0;
    virtual ViewType getPreviewType() const = 0;
    virtual void setWrap( bool b ) = 0;
    virtual bool getWrap() const = 0;
};


} //namespace UI
} //namespace Inkscape


#endif // SEEN_PREVIEWFILLABLE_H

/*
  Local Variables:
  mode:c++
  c-file-style:"stroustrup"
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
  indent-tabs-mode:nil
  fill-column:99
  End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :