diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-05-26 20:25:38 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-05-26 20:25:38 +0000 |
| commit | 0305cbdc3ae8525c74b2bb9b23884035549e3407 (patch) | |
| tree | b7eafbfbc759adeed8731227bd7f6cedd3f5ed05 /src/ImageControl.cc | |
| parent | 60b2990e397faccd6a2f4f1cf7f2285e45fb1876 (diff) | |
add Configuration class for generic configuration data load/save-ing.
use Configuration class throughout code. no longer save rc file on exit, save when any options are changed.
Diffstat (limited to 'src/ImageControl.cc')
| -rw-r--r-- | src/ImageControl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ImageControl.cc b/src/ImageControl.cc index eed97734..9be8cf13 100644 --- a/src/ImageControl.cc +++ b/src/ImageControl.cc @@ -373,7 +373,7 @@ BImageControl::~BImageControl(void) { delete [] colors; } - if (!cache.empty()) { + if (! cache.empty()) { //#ifdef DEBUG fprintf(stderr, i18n(ImageSet, ImagePixmapRelease, "BImageContol::~BImageControl: pixmap cache - " @@ -432,7 +432,7 @@ Pixmap BImageControl::renderImage(unsigned int width, unsigned int height, BImage image(this, width, height); pixmap = image.render(texture); - if (!pixmap) + if (! pixmap) return None; CachedImage tmp; @@ -466,7 +466,7 @@ Pixmap BImageControl::renderImage(unsigned int width, unsigned int height, void BImageControl::removeImage(Pixmap pixmap) { - if (!pixmap) + if (! pixmap) return; CacheContainer::iterator it = cache.begin(); |
