]> git.sesse.net Git - vlc/commitdiff
* window half/normal/double Size commands
authorDerk-Jan Hartman <hartman@videolan.org>
Sat, 8 Feb 2003 21:43:26 +0000 (21:43 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Sat, 8 Feb 2003 21:43:26 +0000 (21:43 +0000)
  - black bar issue is not fixed. i removed 'myfix'

modules/gui/macosx/vout.h
modules/gui/macosx/vout.m

index c36d54e4e17478dca508e7e268ee2c1d6a1ba2e9..7319cf862c86a0ebe71560827ebf13ce303f9aa5 100644 (file)
@@ -2,7 +2,7 @@
  * vout.h: MacOS X interface plugin
  *****************************************************************************
  * Copyright (C) 2001, 2002 VideoLAN
- * $Id: vout.h,v 1.7 2003/02/07 21:30:25 hartman Exp $
+ * $Id: vout.h,v 1.8 2003/02/08 21:43:26 hartman Exp $
  *
  * Authors: Colin Delacroix <colin@zoy.org>
  *          Florian G. Pflug <fgp@phlo.org>
@@ -23,8 +23,6 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
-#define WINDOW_TITLE_HEIGHT 24
-
 /*****************************************************************************
  * VLCWindow interface
  *****************************************************************************/
index b6cff3a3c3dc328888c132ecb1a581d7a7664df6..ef6e678b7bed9ce308ad56eca95b44151323919b 100644 (file)
@@ -2,7 +2,7 @@
  * vout.m: MacOS X video output plugin
  *****************************************************************************
  * Copyright (C) 2001-2003 VideoLAN
- * $Id: vout.m,v 1.26 2003/02/08 17:26:00 massiot Exp $
+ * $Id: vout.m,v 1.27 2003/02/08 21:43:26 hartman Exp $
  *
  * Authors: Colin Delacroix <colin@zoy.org>
  *          Florian G. Pflug <fgp@phlo.org>
@@ -738,7 +738,7 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
         topleftscreen = [self convertBaseToScreen: topleftbase];
         
         newsize.width = (int) ( p_vout->render.i_width * factor );
-        newsize.height = (int) ( ( p_vout->render.i_height + WINDOW_TITLE_HEIGHT ) * factor );
+        newsize.height = (int) ( p_vout->render.i_height * factor );
         [self setContentSize: newsize];
         
         [self setFrameTopLeftPoint: topleftscreen];