]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/commands/cmd_resize.hpp
skins2 vout manager
[vlc] / modules / gui / skins2 / commands / cmd_resize.hpp
index c554c1800fe2241775cd1451f0604d6e7cd9be83..3233dd3eacaba29afc1952ef9226da609ed588e5 100644 (file)
 #define CMD_RESIZE_HPP
 
 #include "cmd_generic.hpp"
+#include <vlc_vout.h>
 
 class WindowManager;
 class GenericLayout;
+class CtrlVideo;
+class VoutWindow;
 
 
 /// Command to resize a layout
@@ -74,4 +77,22 @@ class CmdResizeVout: public CmdGeneric
 };
 
 
+/// Command to resize the inner vout window
+class CmdResizeInnerVout: public CmdGeneric
+{
+    public:
+        /// Resize the given layout
+        CmdResizeInnerVout( intf_thread_t *pIntf, CtrlVideo* pCtrlVideo );
+        virtual ~CmdResizeInnerVout() {}
+
+        /// This method does the real job of the command
+        virtual void execute();
+
+        /// Return the type of the command
+        virtual string getType() const { return "resize inner vout"; }
+
+    private:
+        CtrlVideo* m_pCtrlVideo;
+};
+
 #endif