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.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/FbTk/FbPixmap.hh b/src/FbTk/FbPixmap.hh
index a8f9472..487854a 100644
--- a/src/FbTk/FbPixmap.hh
+++ b/src/FbTk/FbPixmap.hh
@@ -19,7 +19,7 @@
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.2 2003/04/27 00:10:28 fluxgen Exp $ 22// $Id: FbPixmap.hh,v 1.3 2003/04/27 23:55:08 fluxgen Exp $
23 23
24#ifndef FBTK_FBPIXMAP_HH 24#ifndef FBTK_FBPIXMAP_HH
25#define FBTK_FBPIXMAP_HH 25#define FBTK_FBPIXMAP_HH
@@ -53,6 +53,10 @@ public:
53 void fillPolygon(GC gc, XPoint *points, int npoints, 53 void fillPolygon(GC gc, XPoint *points, int npoints,
54 int shape, int mode); 54 int shape, int mode);
55 void copy(const FbPixmap &the_copy); 55 void copy(const FbPixmap &the_copy);
56 /// scales the pixmap to specified size
57 void scale(unsigned int width, unsigned int height);
58 /// drops pixmap and returns it
59 Pixmap release();
56 60
57 FbPixmap &operator = (const FbPixmap &copy); 61 FbPixmap &operator = (const FbPixmap &copy);
58 /// sets new pixmap 62 /// sets new pixmap
@@ -63,6 +67,7 @@ public:
63 inline unsigned int height() const { return m_height; } 67 inline unsigned int height() const { return m_height; }
64 inline int depth() const { return m_depth; } 68 inline int depth() const { return m_depth; }
65 69
70
66private: 71private:
67 void free(); 72 void free();
68 void create(Drawable src, 73 void create(Drawable src,