cmd_resize.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef CMD_RESIZE_HPP
00026 #define CMD_RESIZE_HPP
00027
00028 #include "cmd_generic.hpp"
00029 #include <vlc_vout_window.h>
00030
00031 class WindowManager;
00032 class GenericLayout;
00033 class CtrlVideo;
00034
00035
00036
00037 class CmdResize: public CmdGeneric
00038 {
00039 public:
00040
00041 CmdResize( intf_thread_t *pIntf, const WindowManager &rWindowManager,
00042 GenericLayout &rLayout, int width, int height );
00043 virtual ~CmdResize() { }
00044 virtual void execute();
00045 virtual string getType() const { return "resize"; }
00046
00047 private:
00048 const WindowManager &m_rWindowManager;
00049 GenericLayout &m_rLayout;
00050 int m_width, m_height;
00051 };
00052
00053
00054
00055 class CmdResizeVout: public CmdGeneric
00056 {
00057 public:
00058
00059 CmdResizeVout( intf_thread_t *pIntf, vout_window_t* pWnd,
00060 int width, int height );
00061 virtual ~CmdResizeVout() { }
00062 virtual void execute();
00063 virtual string getType() const { return "resize vout"; }
00064
00065 private:
00066 vout_window_t* m_pWnd;
00067 int m_width, m_height;
00068 };
00069
00070
00071
00072 class CmdSetFullscreen: public CmdGeneric
00073 {
00074 public:
00075
00076 CmdSetFullscreen( intf_thread_t *pIntf, vout_window_t* pWnd,
00077 bool fullscreen );
00078 virtual ~CmdSetFullscreen() { }
00079 virtual void execute();
00080 virtual string getType() const { return "toogle fullscreen"; }
00081
00082 private:
00083 vout_window_t* m_pWnd;
00084 bool m_bFullscreen;
00085 };
00086
00087 #endif