diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-01-26 02:00:38 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-01-26 02:00:38 +0000 |
| commit | 2d9f49283b5c45221f5cc81b5f95d744b24d6a09 (patch) | |
| tree | 1c52d187eae812f520ea7dfbd78c928902a99629 /lib/gui/elistboxcontent.cpp | |
| parent | 2b61f4fe401147a82f1f7297adcf8bf7e76918ab (diff) | |
| download | enigma2-2d9f49283b5c45221f5cc81b5f95d744b24d6a09.tar.gz enigma2-2d9f49283b5c45221f5cc81b5f95d744b24d6a09.zip | |
TYPE_PIXMAP_ALPHATEST in eListboxMultiContent, fix alphatest
Diffstat (limited to 'lib/gui/elistboxcontent.cpp')
| -rw-r--r-- | lib/gui/elistboxcontent.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp index c874cd36..ff93eac2 100644 --- a/lib/gui/elistboxcontent.cpp +++ b/lib/gui/elistboxcontent.cpp @@ -517,7 +517,7 @@ void eListboxPythonConfigContent::paint(gPainter &painter, eWindowStyle &style, int num = PyInt_Check(entry) ? PyInt_AsLong(entry) : -1; if ((num < 0) || (num >= glyphs)) - eWarning("glyph index %d in PythonConfigList out of bounds!"); + eWarning("glyph index %d in PythonConfigList out of bounds!", num); else { para->setGlyphFlag(num, GS_INVERT); @@ -713,6 +713,7 @@ void eListboxPythonMultiContent::paint(gPainter &painter, eWindowStyle &style, c break; } + case TYPE_PIXMAP_ALPHATEST: case TYPE_PIXMAP: // pixmap { if (!(px && py && pwidth && pheight && pfnt)) @@ -736,7 +737,7 @@ void eListboxPythonMultiContent::paint(gPainter &painter, eWindowStyle &style, c r &= itemrect; painter.clip(r); - painter.blit(pixmap, r.topLeft(), r); + painter.blit(pixmap, r.topLeft(), r, (type == TYPE_PIXMAP_ALPHATEST) ? gPainter::BT_ALPHATEST : 0); painter.clippop(); break; |
