Commit 3d9124d0 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* window half/normal/double Size commands

  - black bar issue is not fixed. i removed 'myfix'
parent a8d49253
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vout.h: MacOS X interface plugin * vout.h: MacOS X interface plugin
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN * 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> * Authors: Colin Delacroix <colin@zoy.org>
* Florian G. Pflug <fgp@phlo.org> * Florian G. Pflug <fgp@phlo.org>
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/ *****************************************************************************/
#define WINDOW_TITLE_HEIGHT 24
/***************************************************************************** /*****************************************************************************
* VLCWindow interface * VLCWindow interface
*****************************************************************************/ *****************************************************************************/
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vout.m: MacOS X video output plugin * vout.m: MacOS X video output plugin
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2003 VideoLAN * 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> * Authors: Colin Delacroix <colin@zoy.org>
* Florian G. Pflug <fgp@phlo.org> * Florian G. Pflug <fgp@phlo.org>
...@@ -738,7 +738,7 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic ) ...@@ -738,7 +738,7 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
topleftscreen = [self convertBaseToScreen: topleftbase]; topleftscreen = [self convertBaseToScreen: topleftbase];
newsize.width = (int) ( p_vout->render.i_width * factor ); 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 setContentSize: newsize];
[self setFrameTopLeftPoint: topleftscreen]; [self setFrameTopLeftPoint: topleftscreen];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment