From: Felix Domke Date: Sun, 14 May 2006 21:47:05 +0000 (+0000) Subject: paint with alphatest when transparency enabled X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=505654a8df4293feffc1ae477f7068a79f08853b paint with alphatest when transparency enabled --- diff --git a/lib/gui/eslider.cpp b/lib/gui/eslider.cpp index 7f3bb34..df199c4 100644 --- a/lib/gui/eslider.cpp +++ b/lib/gui/eslider.cpp @@ -44,7 +44,7 @@ int eSlider::event(int event, void *data, void *data2) if (!m_pixmap) painter.fill(m_currently_filled); else - painter.blit(m_pixmap, ePoint(0, 0), m_currently_filled.extends); + painter.blit(m_pixmap, ePoint(0, 0), m_currently_filled.extends, isTransparent() ? gPainter::BT_ALPHATEST : 0); // border if (m_have_border_color)