X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fskins2%2Fcommands%2Fcmd_resize.hpp;h=3233dd3eacaba29afc1952ef9226da609ed588e5;hb=04af5c7c7d1d6a779f73c2384c8e40a32cbe35d9;hp=c554c1800fe2241775cd1451f0604d6e7cd9be83;hpb=823b07a0aa5fabf0a237fea20bcca1c3334111a6;p=vlc diff --git a/modules/gui/skins2/commands/cmd_resize.hpp b/modules/gui/skins2/commands/cmd_resize.hpp index c554c1800f..3233dd3eac 100644 --- a/modules/gui/skins2/commands/cmd_resize.hpp +++ b/modules/gui/skins2/commands/cmd_resize.hpp @@ -26,9 +26,12 @@ #define CMD_RESIZE_HPP #include "cmd_generic.hpp" +#include 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