diff options
author | fluxgen <fluxgen> | 2001-12-29 11:39:34 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2001-12-29 11:39:34 (GMT) |
commit | a29e46aa9fa5f686d5ef8815df29f56ff6c04cca (patch) | |
tree | b5365f6d4d522fcbe56f20564a9f3e4164c0e8e0 /src/Theme.cc | |
parent | bc53e48abb2889e8fbaf99c52ca23d1fc354b9f3 (diff) | |
download | fluxbox_pavel-a29e46aa9fa5f686d5ef8815df29f56ff6c04cca.zip fluxbox_pavel-a29e46aa9fa5f686d5ef8815df29f56ff6c04cca.tar.bz2 |
Updated texture constants
Diffstat (limited to 'src/Theme.cc')
-rw-r--r-- | src/Theme.cc | 8 |
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], |