init borders to 0
[enigma2.git] / lib / gui / ewindowstyleskinned.h
index 57c54a08ff704e5e8032faff22729a69bb673c21..b74f4623ea2393088aba430caca13ad7064d40d0 100644 (file)
@@ -52,6 +52,7 @@ public:
                bpiBottomRight =  8,
        };
        
                bpiBottomRight =  8,
        };
        
+       void setPixmap(int bs, int bp, ePtr<gPixmap> &pixmap);
        void setPixmap(int bs, int bp, gPixmap &pixmap);
        
        enum {
        void setPixmap(int bs, int bp, gPixmap &pixmap);
        
        enum {
@@ -81,6 +82,7 @@ private:
        {
                ePtr<gPixmap> m_pixmap[9];
                int m_border_top, m_border_left, m_border_right, m_border_bottom;
        {
                ePtr<gPixmap> m_pixmap[9];
                int m_border_top, m_border_left, m_border_right, m_border_bottom;
+               borderSet() { m_border_top = m_border_left = m_border_right = m_border_bottom = 0; }
        };
        
        borderSet m_border[bsMax];
        };
        
        borderSet m_border[bsMax];