all repos — fluxbox @ 1db7e5fb0cce6cdfaa34a7bc3426587b3b288444

custom fork of the fluxbox windowmanager

fixed scaling
fluxgen fluxgen
commit

1db7e5fb0cce6cdfaa34a7bc3426587b3b288444

parent

1e145051c7f7eb680ac28a1a869cb17a8a21daf5

1 files changed, 6 insertions(+), 1 deletions(-)

jump to
M src/FbTk/FbPixmap.hhsrc/FbTk/FbPixmap.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: FbPixmap.hh,v 1.2 2003/04/27 00:10:28 fluxgen Exp $ +// $Id: FbPixmap.hh,v 1.3 2003/04/27 23:55:08 fluxgen Exp $ #ifndef FBTK_FBPIXMAP_HH #define FBTK_FBPIXMAP_HH

@@ -53,6 +53,10 @@ unsigned int width, unsigned int height);

void fillPolygon(GC gc, XPoint *points, int npoints, int shape, int mode); void copy(const FbPixmap &the_copy); + /// scales the pixmap to specified size + void scale(unsigned int width, unsigned int height); + /// drops pixmap and returns it + Pixmap release(); FbPixmap &operator = (const FbPixmap &copy); /// sets new pixmap

@@ -62,6 +66,7 @@ inline Drawable drawable() const { return m_pm; }

inline unsigned int width() const { return m_width; } inline unsigned int height() const { return m_height; } inline int depth() const { return m_depth; } + private: void free();