X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/4c9d04cb33fb06dfa075b431e36e7ea938a5f963..3cddda083f4ace59e279f9f4f6ae12bad079d33b:/lib/gui/ewidgetdesktop.h diff --git a/lib/gui/ewidgetdesktop.h b/lib/gui/ewidgetdesktop.h index f76baf60..c917e36a 100644 --- a/lib/gui/ewidgetdesktop.h +++ b/lib/gui/ewidgetdesktop.h @@ -15,7 +15,7 @@ public: // weil debug gRegion m_dirty_region; gRegion m_background_region; ePtr m_dc; - gColor m_background_color; + gRGB m_background_color; public: eWidgetDesktop(eSize screen); ~eWidgetDesktop(); @@ -27,9 +27,13 @@ public: void paint(); void setDC(gDC *dc); - void setBackgroundColor(gColor col); + void setBackgroundColor(gRGB col); + + void setPalette(gPixmap &pm); void setRedrawTask(eMainloop &ml); + + void makeCompatiblePixmap(gPixmap &pm); private: ePtrList m_root; void calcWidgetClipRegion(eWidget *widget, gRegion &parent_visible);