diff options
author | fluxgen <fluxgen> | 2002-07-23 17:11:59 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-07-23 17:11:59 (GMT) |
commit | 35c55cdc8dc0771a07c2276d3190782b89d8a715 (patch) | |
tree | 4d0ccaaaf6165453bfe46af0bcc20ed82846041b /src/Slit.cc | |
parent | 8b560ddf76a0b0256a1c2ffd0cb97d91153e8192 (diff) | |
download | fluxbox-35c55cdc8dc0771a07c2276d3190782b89d8a715.zip fluxbox-35c55cdc8dc0771a07c2276d3190782b89d8a715.tar.bz2 |
moved Texture and Color into new files, fixed some const and pointers
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index aee357f..0dded4f 100644 --- a/src/Slit.cc +++ b/src/Slit.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Slit.cc,v 1.17 2002/07/20 09:35:01 fluxgen Exp $ | 22 | // $Id: Slit.cc,v 1.18 2002/07/23 17:11:59 fluxgen Exp $ |
23 | 23 | ||
24 | //use GNU extensions | 24 | //use GNU extensions |
25 | #ifndef _GNU_SOURCE | 25 | #ifndef _GNU_SOURCE |
@@ -408,8 +408,8 @@ void Slit::reconfigure(void) { | |||
408 | 408 | ||
409 | Pixmap tmp = frame.pixmap; | 409 | Pixmap tmp = frame.pixmap; |
410 | BImageControl *image_ctrl = screen->getImageControl(); | 410 | BImageControl *image_ctrl = screen->getImageControl(); |
411 | BTexture *texture = &(screen->getToolbarStyle()->toolbar); | 411 | FbTk::Texture *texture = &(screen->getToolbarStyle()->toolbar); |
412 | if (texture->getTexture() == (BImage::FLAT | BImage::SOLID)) { | 412 | if (texture->type() == (FbTk::Texture::FLAT | FbTk::Texture::SOLID)) { |
413 | frame.pixmap = None; | 413 | frame.pixmap = None; |
414 | XSetWindowBackground(display, frame.window, | 414 | XSetWindowBackground(display, frame.window, |
415 | texture->color().pixel()); | 415 | texture->color().pixel()); |