diff options
author | fluxgen <fluxgen> | 2003-04-29 08:53:24 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-04-29 08:53:24 (GMT) |
commit | f589d55aa90cf347da75ba39922b9d14f8621cfb (patch) | |
tree | 1e6e2d122abf6e14c3b7d2cd0174dba4ea5d9eb4 /src/FbTk/FbPixmap.hh | |
parent | d9467066a9babcf3c179084592342887272f8d57 (diff) | |
download | fluxbox_pavel-f589d55aa90cf347da75ba39922b9d14f8621cfb.zip fluxbox_pavel-f589d55aa90cf347da75ba39922b9d14f8621cfb.tar.bz2 |
FbPixmap is a FbDrawable
Diffstat (limited to 'src/FbTk/FbPixmap.hh')
-rw-r--r-- | src/FbTk/FbPixmap.hh | 16 |
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 | ||
29 | namespace FbTk { | 31 | namespace FbTk { |
30 | 32 | ||
31 | /// a wrapper for X Pixmap | 33 | /// a wrapper for X Pixmap |
32 | class FbPixmap { | 34 | class FbPixmap:public FbDrawable { |
33 | public: | 35 | public: |
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); |