00001 /***************************************************************************** 00002 * vout_window.hpp 00003 ***************************************************************************** 00004 * Copyright (C) 2003 the VideoLAN team 00005 * $Id: vout_window.hpp 11664 2005-07-09 06:17:09Z courmisch $ 00006 * 00007 * Authors: Cyril Deguet <[email protected]> 00008 * 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. 00022 *****************************************************************************/ 00023 00024 #ifndef VOUT_WINDOW_HPP 00025 #define VOUT_WINDOW_HPP 00026 00027 #include "generic_window.hpp" 00028 00029 class OSGraphics; 00030 00031 00033 class VoutWindow: private GenericWindow 00034 { 00035 public: 00036 VoutWindow( intf_thread_t *pIntf, int xPos, int yPos, 00037 bool dragDrop, bool playOnDrop, GenericWindow &rParent ); 00038 virtual ~VoutWindow(); 00039 00041 00042 using GenericWindow::show; 00043 using GenericWindow::hide; 00044 using GenericWindow::move; 00046 00048 virtual void resize( int width, int height ); 00049 00051 virtual void refresh( int left, int top, int width, int height ); 00052 00053 virtual string getType() const { return "Vout"; } 00054 00055 private: 00057 OSGraphics *m_pImage; 00058 }; 00059 00060 typedef CountedPtr<VoutWindow> VoutWindowPtr; 00061 00062 #endif