summaryrefslogtreecommitdiff
path: root/src/FbTk/FbPixmap.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbPixmap.hh')
-rw-r--r--src/FbTk/FbPixmap.hh16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/FbTk/FbPixmap.hh b/src/FbTk/FbPixmap.hh
index 487854a..94d37de 100644
--- a/src/FbTk/FbPixmap.hh
+++ b/src/FbTk/FbPixmap.hh
@@ -19,17 +19,19 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbPixmap.hh,v 1.3 2003/04/27 23:55:08 fluxgen Exp $ 22// $Id: FbPixmap.hh,v 1.4 2003/04/29 08:52:51 fluxgen Exp $
23 23
24#ifndef FBTK_FBPIXMAP_HH 24#ifndef FBTK_FBPIXMAP_HH
25#define FBTK_FBPIXMAP_HH 25#define FBTK_FBPIXMAP_HH
26 26
27#include "FbDrawable.hh"
28
27#include <X11/Xlib.h> 29#include <X11/Xlib.h>
28 30
29namespace FbTk { 31namespace FbTk {
30 32
31/// a wrapper for X Pixmap 33/// a wrapper for X Pixmap
32class FbPixmap { 34class FbPixmap:public FbDrawable {
33public: 35public:
34 FbPixmap(); 36 FbPixmap();
35 /// copy pixmap 37 /// copy pixmap
@@ -42,16 +44,6 @@ public:
42 44
43 ~FbPixmap(); 45 ~FbPixmap();
44 46
45 void copyArea(Drawable src, GC gc,
46 int src_x, int src_y,
47 int dest_x, int dest_y,
48 unsigned int width, unsigned int height);
49 void fillRectangle(GC gc, int x, int y,
50 unsigned int width, unsigned int height);
51 void drawRectangle(GC gc, int x, int y,
52 unsigned int width, unsigned int height);
53 void fillPolygon(GC gc, XPoint *points, int npoints,
54 int shape, int mode);
55 void copy(const FbPixmap &the_copy); 47 void copy(const FbPixmap &the_copy);
56 /// scales the pixmap to specified size 48 /// scales the pixmap to specified size
57 void scale(unsigned int width, unsigned int height); 49 void scale(unsigned int width, unsigned int height);