Changeset ae27d602f2b89442dc2e46c8f6c70c57a62383be
- 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
| rf3dd07b |
rae27d60 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * 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 $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Colin Delacroix <colin@zoy.org> |
|---|
| … | … | |
| 47 | 47 | #define VDEV_TEXT N_("video device") |
|---|
| 48 | 48 | |
|---|
| | 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 | |
|---|
| 49 | 54 | vlc_module_begin(); |
|---|
| 50 | 55 | set_description( _("MacOS X interface, sound and video") ); |
|---|
| … | … | |
| 57 | 62 | add_category_hint( N_("Video"), NULL, VLC_FALSE ); |
|---|
| 58 | 63 | add_integer( "macosx-vdev", 0, NULL, VDEV_TEXT, VDEV_TEXT, VLC_FALSE ); |
|---|
| | 64 | add_float( "opaqueness", 1, NULL, OPAQUENESS_TEXT, OPAQUENESS_LONGTEXT, VLC_FALSE ); |
|---|
| 59 | 65 | vlc_module_end(); |
|---|
| 60 | 66 | |
|---|
| re559e8c |
rae27d60 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * 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 $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Colin Delacroix <colin@zoy.org> |
|---|
| … | … | |
| 1257 | 1257 | defer: NO screen: o_screen]; |
|---|
| 1258 | 1258 | |
|---|
| | 1259 | [p_vout->p_sys->o_window setAlphaValue: config_GetFloat( p_vout, "opaqueness" )]; |
|---|
| | 1260 | |
|---|
| 1259 | 1261 | if( !p_vout->p_sys->b_pos_saved ) |
|---|
| 1260 | 1262 | { |
|---|