]> git.lyx.org Git - lyx.git/blob - src/frontends/support/LyXImage_X.h
More preference work from Angus
[lyx.git] / src / frontends / support / LyXImage_X.h
1 // -*- C++ -*-
2 /* This file is part of
3  * =================================================
4  * 
5  *          LyX, The Document Processor
6  *          Copyright 1995 Matthias Ettrich.
7  *          Copyright 1995-2000 The LyX Team.
8  *
9  *          This file Copyright 2000 Baruch Even
10  * ================================================= */
11
12 #ifndef LYXIMAGE_X_H
13 #define LYXIMAGE_X_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "frontends/support/LyXImage.h"
20 #include <X11/Xlib.h>
21
22 // This class actually acts as a base class when X-Windows is used.
23
24 class LyXImage {
25 public:
26         ///
27         LyXImage();
28         ///
29         LyXImage(Pixmap pixmap);
30         ///
31         ~LyXImage();
32
33         ///
34         Pixmap getPixmap() const;
35
36 private:
37         /// The pixmap itself.
38         Pixmap pixmap_;
39         /// Is the pixmap initialized?
40         bool pixmapInitialized;
41 };
42
43 #endif