aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-27 14:21:25 (GMT)
committerfluxgen <fluxgen>2003-08-27 14:21:25 (GMT)
commitfc5c45f0c528b8e9c5072503479eeea844304b58 (patch)
tree57d9adc505b6e0e0f5a3389a8e648a2fa7bfef57 /src/FbTk
parent8aff73f2057be5ce7b61def12d77a5f58cf0b837 (diff)
downloadfluxbox_paul-fc5c45f0c528b8e9c5072503479eeea844304b58.zip
fluxbox_paul-fc5c45f0c528b8e9c5072503479eeea844304b58.tar.bz2
height and width of pixmap
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/PixmapWithMask.hh5
1 files 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 @@
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: PixmapWithMask.hh,v 1.1 2003/08/22 21:25:14 fluxgen Exp $ 22// $Id: PixmapWithMask.hh,v 1.2 2003/08/27 14:21:25 fluxgen Exp $
23 23
24#ifndef FBTK_PIXMAPWITHMASK_HH 24#ifndef FBTK_PIXMAPWITHMASK_HH
25#define FBTK_PIXMAPWITHMASK_HH 25#define FBTK_PIXMAPWITHMASK_HH
@@ -36,7 +36,8 @@ public:
36 pixmap().scale(width, height); 36 pixmap().scale(width, height);
37 mask().scale(width, height); 37 mask().scale(width, height);
38 } 38 }
39 39 unsigned int width() const { return m_pixmap.width(); }
40 unsigned int height() const { return m_pixmap.height(); }
40 FbPixmap &pixmap() { return m_pixmap; } 41 FbPixmap &pixmap() { return m_pixmap; }
41 FbPixmap &mask() { return m_mask; } 42 FbPixmap &mask() { return m_mask; }
42 43