]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/controls/ctrl_slider.hpp
* winamp2.xml: all the equalizer sliders are working !!
[vlc] / modules / gui / skins2 / controls / ctrl_slider.hpp
index 3188d51aec4ea717d90c096c01535b56aa890f58..c97252ee2b7a4be29d59c9538b776eb68578ae00 100644 (file)
@@ -111,8 +111,9 @@ class CtrlSliderBg: public CtrlGeneric, public Observer<VarPercent>
     public:
         CtrlSliderBg( intf_thread_t *pIntf, CtrlSliderCursor &rCursor,
                       const Bezier &rCurve, VarPercent &rVariable,
-                      int thickness, GenericBitmap *pBackground, int nbImages,
-                      VarBool *pVisible, const UString &rHelp );
+                      int thickness, GenericBitmap *pBackground, int nbHoriz,
+                      int nbVert, int padHoriz, int padVert, VarBool *pVisible,
+                      const UString &rHelp );
         virtual ~CtrlSliderBg();
 
         /// Tell whether the mouse is over the control
@@ -141,7 +142,9 @@ class CtrlSliderBg: public CtrlGeneric, public Observer<VarPercent>
         /// Background image sequence (optional)
         OSGraphics *m_pImgSeq;
         /// Number of images in the background bitmap
-        int m_nbImages;
+        int m_nbHoriz, m_nbVert;
+        /// Number of pixels between two images
+        int m_padHoriz, m_padVert;
         /// Size of a background image
         int m_bgWidth, m_bgHeight;
         /// Index of the current background image