all repos — fluxbox @ d2959aeb6b86b4a43168a9f9fbd123a68c1f821e

custom fork of the fluxbox windowmanager

usePixmap accessor
fluxgen fluxgen
commit

d2959aeb6b86b4a43168a9f9fbd123a68c1f821e

parent

65d0aa333d489c0c81a9c214d0900b7107f829be

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/FbTk/Texture.hhsrc/FbTk/Texture.hh

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Texture.hh,v 1.4 2003/08/12 11:44:19 fluxgen Exp $ +// $Id: Texture.hh,v 1.5 2003/12/07 16:32:12 fluxgen Exp $ #ifndef FBTK_TEXTURE_HH #define FBTK_TEXTURE_HH

@@ -89,7 +89,7 @@ const Color &hiColor() const { return m_hicolor; }

const Color &loColor() const { return m_locolor; } const FbTk::FbPixmap &pixmap() const { return m_pixmap; } inline unsigned long type() const { return m_type; } - + inline bool usePixmap() const { return !( type() == (FLAT | SOLID) && pixmap().drawable() == 0); } private: FbTk::Color m_color, m_color_to, m_hicolor, m_locolor;