height and width of pixmap
fluxgen fluxgen
1 files changed,
3 insertions(+),
2 deletions(-)
jump to
M
src/FbTk/PixmapWithMask.hh
→
src/FbTk/PixmapWithMask.hh
@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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 @@ void scale(unsigned int width, unsigned int height) {
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; }