all repos — fluxbox @ fc5c45f0c528b8e9c5072503479eeea844304b58

custom fork of the fluxbox windowmanager

height and width of pixmap
fluxgen fluxgen
commit

fc5c45f0c528b8e9c5072503479eeea844304b58

parent

8aff73f2057be5ce7b61def12d77a5f58cf0b837

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M src/FbTk/PixmapWithMask.hhsrc/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; }