aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-12-07 16:32:12 (GMT)
committerfluxgen <fluxgen>2003-12-07 16:32:12 (GMT)
commitd2959aeb6b86b4a43168a9f9fbd123a68c1f821e (patch)
treed28f446d158fb7200c7b8c04b4883eb4ae6a7740 /src
parent65d0aa333d489c0c81a9c214d0900b7107f829be (diff)
downloadfluxbox-d2959aeb6b86b4a43168a9f9fbd123a68c1f821e.zip
fluxbox-d2959aeb6b86b4a43168a9f9fbd123a68c1f821e.tar.bz2
usePixmap accessor
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/Texture.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Texture.hh b/src/FbTk/Texture.hh
index 9c1df6f..b7add3f 100644
--- a/src/FbTk/Texture.hh
+++ b/src/FbTk/Texture.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: Texture.hh,v 1.4 2003/08/12 11:44:19 fluxgen Exp $ 25// $Id: Texture.hh,v 1.5 2003/12/07 16:32:12 fluxgen Exp $
26 26
27#ifndef FBTK_TEXTURE_HH 27#ifndef FBTK_TEXTURE_HH
28#define FBTK_TEXTURE_HH 28#define FBTK_TEXTURE_HH
@@ -89,7 +89,7 @@ public:
89 const Color &loColor() const { return m_locolor; } 89 const Color &loColor() const { return m_locolor; }
90 const FbTk::FbPixmap &pixmap() const { return m_pixmap; } 90 const FbTk::FbPixmap &pixmap() const { return m_pixmap; }
91 inline unsigned long type() const { return m_type; } 91 inline unsigned long type() const { return m_type; }
92 92 inline bool usePixmap() const { return !( type() == (FLAT | SOLID) && pixmap().drawable() == 0); }
93 93
94private: 94private:
95 FbTk::Color m_color, m_color_to, m_hicolor, m_locolor; 95 FbTk::Color m_color, m_color_to, m_hicolor, m_locolor;