Changeset ae27d602f2b89442dc2e46c8f6c70c57a62383be

Show
Ignore:
Timestamp:
19/04/03 15:55:56 (5 years ago)
Author:
Derk-Jan Hartman <hartman@videolan.org>
git-committer:
Derk-Jan Hartman <hartman@videolan.org> 1050760556 +0000
git-parent:

[20b81062cbc8c4fdd68441adf6996bfad80a9af2]

git-author:
Derk-Jan Hartman <hartman@videolan.org> 1050760556 +0000
Message:

* Added a 'opaqueness' configoption to macosx-vout. Yeah i know, useles.

But it's coooooool. http://sidekick.student.utwente.nl/videolan/transparent.jpg

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/macosx/macosx.m

    rf3dd07b rae27d60  
    33 ***************************************************************************** 
    44 * Copyright (C) 2001-2003 VideoLAN 
    5  * $Id: macosx.m,v 1.6 2003/03/30 23:35:06 jlj Exp $ 
     5 * $Id: macosx.m,v 1.7 2003/04/19 13:55:56 hartman Exp $ 
    66 * 
    77 * Authors: Colin Delacroix <colin@zoy.org> 
     
    4747#define VDEV_TEXT N_("video device") 
    4848 
     49#define OPAQUENESS_TEXT N_("opaqueness") 
     50#define OPAQUENESS_LONGTEXT N_( \ 
     51    "Set the transparency of the video output. 1 is non-transparent (default) " \ 
     52    "0 is fully transparent.") 
     53 
    4954vlc_module_begin(); 
    5055    set_description( _("MacOS X interface, sound and video") ); 
     
    5762        add_category_hint( N_("Video"), NULL, VLC_FALSE ); 
    5863        add_integer( "macosx-vdev", 0, NULL, VDEV_TEXT, VDEV_TEXT, VLC_FALSE ); 
     64        add_float( "opaqueness", 1, NULL, OPAQUENESS_TEXT, OPAQUENESS_LONGTEXT, VLC_FALSE ); 
    5965vlc_module_end(); 
    6066 
  • modules/gui/macosx/vout.m

    re559e8c rae27d60  
    33 ***************************************************************************** 
    44 * Copyright (C) 2001-2003 VideoLAN 
    5  * $Id: vout.m,v 1.43 2003/03/19 13:55:43 hartman Exp $ 
     5 * $Id: vout.m,v 1.44 2003/04/19 13:55:56 hartman Exp $ 
    66 * 
    77 * Authors: Colin Delacroix <colin@zoy.org> 
     
    12571257            defer: NO screen: o_screen]; 
    12581258 
     1259        [p_vout->p_sys->o_window setAlphaValue: config_GetFloat( p_vout, "opaqueness" )]; 
     1260 
    12591261        if( !p_vout->p_sys->b_pos_saved )    
    12601262        {