From fc5c45f0c528b8e9c5072503479eeea844304b58 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 27 Aug 2003 14:21:25 +0000 Subject: height and width of pixmap --- src/FbTk/PixmapWithMask.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/FbTk/PixmapWithMask.hh b/src/FbTk/PixmapWithMask.hh index 6803f3f..5925fb7 100644 --- a/src/FbTk/PixmapWithMask.hh +++ b/src/FbTk/PixmapWithMask.hh @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: PixmapWithMask.hh,v 1.1 2003/08/22 21:25:14 fluxgen Exp $ +// $Id: PixmapWithMask.hh,v 1.2 2003/08/27 14:21:25 fluxgen Exp $ #ifndef FBTK_PIXMAPWITHMASK_HH #define FBTK_PIXMAPWITHMASK_HH @@ -36,7 +36,8 @@ public: pixmap().scale(width, height); mask().scale(width, height); } - + unsigned int width() const { return m_pixmap.width(); } + unsigned int height() const { return m_pixmap.height(); } FbPixmap &pixmap() { return m_pixmap; } FbPixmap &mask() { return m_mask; } -- cgit v0.11.2