diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/FbTk/Texture.hh | 4 |
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 | ||
94 | private: | 94 | private: |
95 | FbTk::Color m_color, m_color_to, m_hicolor, m_locolor; | 95 | FbTk::Color m_color, m_color_to, m_hicolor, m_locolor; |