]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/controls/ctrl_list.hpp
* Adds postprocessing menu
[vlc] / modules / gui / skins2 / controls / ctrl_list.hpp
index bfbc1f7ee33e392a29142917ade9b006103e807c..8d552d07413e9dab41f78cf95b00e9edff7f6163 100644 (file)
@@ -2,7 +2,7 @@
  * ctrl_list.hpp
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: ctrl_list.hpp,v 1.1 2004/01/03 23:31:33 asmax Exp $
+ * $Id$
  *
  * Authors: Cyril Deguet     <asmax@via.ecp.fr>
  *          Olivier Teulière <ipkiss@via.ecp.fr>
@@ -41,7 +41,7 @@ class CtrlList: public CtrlGeneric, public Observer<VarList>,
         CtrlList( intf_thread_t *pIntf, VarList &rList, GenericFont &rFont,
                   uint32_t fgcolor, uint32_t playcolor, uint32_t bgcolor1,
                   uint32_t bgcolor2, uint32_t selColor,
-                  const UString &rHelp );
+                  const UString &rHelp, VarBool *pVisible );
         virtual ~CtrlList();
 
         /// Handle an event on the control.
@@ -88,6 +88,9 @@ class CtrlList: public CtrlGeneric, public Observer<VarList>,
         /// Called when the position is set
         virtual void onPositionChange();
 
+        /// Check if the list must be scrolled
+        void autoScroll();
+
         /// Draw the image of the control
         void makeImage();
 };