aboutsummaryrefslogtreecommitdiff
path: root/src/Theme.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Theme.cc')
-rw-r--r--src/Theme.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Theme.cc b/src/Theme.cc
index ac9f4dc..765be80 100644
--- a/src/Theme.cc
+++ b/src/Theme.cc
@@ -766,9 +766,9 @@ bool Theme::readDatabaseTexture(char *rname, char *rclass,
766 &value)) 766 &value))
767 m_imagecontrol->parseTexture(texture, value.addr); 767 m_imagecontrol->parseTexture(texture, value.addr);
768 else 768 else
769 texture->setTexture(BImage_Solid | BImage_Flat); 769 texture->setTexture(BImage::SOLID | BImage::FLAT);
770 770
771 if (texture->getTexture() & BImage_Solid) { 771 if (texture->getTexture() & BImage::SOLID) {
772 int clen = strlen(rclass) + 32, nlen = strlen(rname) + 32; 772 int clen = strlen(rclass) + 32, nlen = strlen(rname) + 32;
773 773
774 char *colorclass = new char[clen], *colorname = new char[nlen]; 774 char *colorclass = new char[clen], *colorname = new char[nlen];
@@ -792,7 +792,7 @@ bool Theme::readDatabaseTexture(char *rname, char *rclass,
792 delete [] colorname; 792 delete [] colorname;
793 793
794 if ((! texture->getColor()->isAllocated()) || 794 if ((! texture->getColor()->isAllocated()) ||
795 (texture->getTexture() & BImage_Flat)) 795 (texture->getTexture() & BImage::FLAT))
796 return retval; 796 return retval;
797 797
798 XColor xcol; 798 XColor xcol;
@@ -829,7 +829,7 @@ bool Theme::readDatabaseTexture(char *rname, char *rclass,
829 xcol.pixel = 0; 829 xcol.pixel = 0;
830 830
831 texture->getLoColor()->setPixel(xcol.pixel); 831 texture->getLoColor()->setPixel(xcol.pixel);
832 } else if (texture->getTexture() & BImage_Gradient) { 832 } else if (texture->getTexture() & BImage::GRADIENT) {
833 int clen = strlen(rclass) + 10, nlen = strlen(rname) + 10; 833 int clen = strlen(rclass) + 10, nlen = strlen(rname) + 10;
834 834
835 char *colorclass = new char[clen], *colorname = new char[nlen], 835 char *colorclass = new char[clen], *colorname = new char[nlen],