diff options
Diffstat (limited to 'src/Image.hh')
-rw-r--r-- | src/Image.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Image.hh b/src/Image.hh index 532476a..8ee126c 100644 --- a/src/Image.hh +++ b/src/Image.hh | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Image.hh,v 1.16 2002/11/24 20:22:38 fluxgen Exp $ | 25 | // $Id: Image.hh,v 1.17 2002/11/27 22:03:00 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef IMAGE_HH | 27 | #ifndef IMAGE_HH |
28 | #define IMAGE_HH | 28 | #define IMAGE_HH |
@@ -47,11 +47,11 @@ public: | |||
47 | BImage(BImageControl *ic, unsigned int width, unsigned int height); | 47 | BImage(BImageControl *ic, unsigned int width, unsigned int height); |
48 | ~BImage(); | 48 | ~BImage(); |
49 | /// render to pixmap | 49 | /// render to pixmap |
50 | Pixmap render(const FbTk::Texture *src_texture); | 50 | Pixmap render(const FbTk::Texture &src_texture); |
51 | /// render solid texture to pixmap | 51 | /// render solid texture to pixmap |
52 | Pixmap renderSolid(const FbTk::Texture *src_texture); | 52 | Pixmap renderSolid(const FbTk::Texture &src_texture); |
53 | /// render gradient texture to pixmap | 53 | /// render gradient texture to pixmap |
54 | Pixmap renderGradient(const FbTk::Texture *src_texture); | 54 | Pixmap renderGradient(const FbTk::Texture &src_texture); |
55 | 55 | ||
56 | protected: | 56 | protected: |
57 | /** | 57 | /** |
@@ -125,7 +125,7 @@ public: | |||
125 | @return pixmap of the rendered image, on failure None | 125 | @return pixmap of the rendered image, on failure None |
126 | */ | 126 | */ |
127 | Pixmap renderImage(unsigned int width, unsigned int height, | 127 | Pixmap renderImage(unsigned int width, unsigned int height, |
128 | const FbTk::Texture *src_texture); | 128 | const FbTk::Texture &src_texture); |
129 | 129 | ||
130 | void installRootColormap(); | 130 | void installRootColormap(); |
131 | void removeImage(Pixmap thepix); | 131 | void removeImage(Pixmap thepix); |