Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
79a4f01f
Commit
79a4f01f
authored
Oct 29, 2002
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No more warnings.
parent
6b02ec70
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
14 deletions
+21
-14
modules/gui/beos/InterfaceWindow.cpp
modules/gui/beos/InterfaceWindow.cpp
+9
-5
modules/gui/beos/MediaControlView.cpp
modules/gui/beos/MediaControlView.cpp
+2
-2
modules/gui/beos/TransportButton.cpp
modules/gui/beos/TransportButton.cpp
+2
-2
modules/gui/beos/VideoOutput.cpp
modules/gui/beos/VideoOutput.cpp
+3
-3
modules/gui/beos/VlcWrapper.cpp
modules/gui/beos/VlcWrapper.cpp
+5
-2
No files found.
modules/gui/beos/InterfaceWindow.cpp
View file @
79a4f01f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* InterfaceWindow.cpp: beos interface
* InterfaceWindow.cpp: beos interface
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: InterfaceWindow.cpp,v 1.
5 2002/10/28 19:42:24
titer Exp $
* $Id: InterfaceWindow.cpp,v 1.
6 2002/10/29 17:33:11
titer Exp $
*
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -479,10 +479,14 @@ void InterfaceWindow::MessageReceived( BMessage * p_message )
...
@@ -479,10 +479,14 @@ void InterfaceWindow::MessageReceived( BMessage * p_message )
break
;
break
;
case
OPEN_PREFERENCES
:
case
OPEN_PREFERENCES
:
if
(
fPreferencesWindow
->
IsHidden
())
if
(
fPreferencesWindow
->
Lock
()
)
fPreferencesWindow
->
Show
();
{
else
if
(
fPreferencesWindow
->
IsHidden
())
fPreferencesWindow
->
Activate
();
fPreferencesWindow
->
Show
();
else
fPreferencesWindow
->
Activate
();
fPreferencesWindow
->
Unlock
();
}
break
;
break
;
default:
default:
...
...
modules/gui/beos/MediaControlView.cpp
View file @
79a4f01f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* MediaControlView.cpp: beos interface
* MediaControlView.cpp: beos interface
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: MediaControlView.cpp,v 1.
5 2002/10/28 19:42:24
titer Exp $
* $Id: MediaControlView.cpp,v 1.
6 2002/10/29 17:33:11
titer Exp $
*
*
* Authors: Tony Castley <tony@castley.net>
* Authors: Tony Castley <tony@castley.net>
* Stephan Aßmus <stippi@yellowbites.com>
* Stephan Aßmus <stippi@yellowbites.com>
...
@@ -684,7 +684,7 @@ SeekSlider::Draw(BRect updateRect)
...
@@ -684,7 +684,7 @@ SeekSlider::Draw(BRect updateRect)
// stripes
// stripes
float
width
=
floorf
(
StringWidth
(
kDisabledSeekMessage
));
float
width
=
floorf
(
StringWidth
(
kDisabledSeekMessage
));
float
textPos
=
r
.
left
+
r
.
Width
()
/
2.0
-
width
/
2.0
;
float
textPos
=
r
.
left
+
r
.
Width
()
/
2.0
-
width
/
2.0
;
pattern
stripes
=
{
0xc7
,
0x8f
,
0x1f
,
0x3e
,
0x7c
,
0xf8
,
0xf1
,
0xe3
};
pattern
stripes
=
{
{
0xc7
,
0x8f
,
0x1f
,
0x3e
,
0x7c
,
0xf8
,
0xf1
,
0xe3
}
};
BRect
stripesRect
(
r
);
BRect
stripesRect
(
r
);
stripesRect
.
right
=
textPos
-
5.0
;
stripesRect
.
right
=
textPos
-
5.0
;
FillRect
(
stripesRect
,
stripes
);
FillRect
(
stripesRect
,
stripes
);
...
...
modules/gui/beos/TransportButton.cpp
View file @
79a4f01f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* TransportButton.cpp
* TransportButton.cpp
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: TransportButton.cpp,v 1.
2 2002/09/30 18:30:27
titer Exp $
* $Id: TransportButton.cpp,v 1.
3 2002/10/29 17:33:11
titer Exp $
*
*
* Authors: Tony Castley <tcastley@mail.powerup.com.au>
* Authors: Tony Castley <tcastley@mail.powerup.com.au>
* Stephan Aßmus <stippi@yellowbites.com>
* Stephan Aßmus <stippi@yellowbites.com>
...
@@ -308,7 +308,7 @@ TransportButton::MakeBitmap(uint32 mask)
...
@@ -308,7 +308,7 @@ TransportButton::MakeBitmap(uint32 mask)
uint8
*
src
=
(
uint8
*
)
BitsForMask
(
mask
);
uint8
*
src
=
(
uint8
*
)
BitsForMask
(
mask
);
if
(
src
&&
result
&&
result
->
IsValid
())
{
if
(
src
&&
result
&&
result
->
IsValid
())
{
int32
width
=
r
.
IntegerWidth
()
+
1
;
//
int32 width = r.IntegerWidth() + 1;
int32
height
=
r
.
IntegerHeight
()
+
1
;
int32
height
=
r
.
IntegerHeight
()
+
1
;
int32
bpr
=
result
->
BytesPerRow
();
int32
bpr
=
result
->
BytesPerRow
();
uint8
*
dst
=
(
uint8
*
)
result
->
Bits
();
uint8
*
dst
=
(
uint8
*
)
result
->
Bits
();
...
...
modules/gui/beos/VideoOutput.cpp
View file @
79a4f01f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* vout_beos.cpp: beos video output display method
* vout_beos.cpp: beos video output display method
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* Copyright (C) 2000, 2001 VideoLAN
* $Id: VideoOutput.cpp,v 1.
3 2002/10/28 16:55:05
titer Exp $
* $Id: VideoOutput.cpp,v 1.
4 2002/10/29 17:33:11
titer Exp $
*
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -260,7 +260,7 @@ VideoWindow::MessageReceived( BMessage *p_message )
...
@@ -260,7 +260,7 @@ VideoWindow::MessageReceived( BMessage *p_message )
BBitmap
*
temp
=
new
BBitmap
(
current
->
Bounds
(),
current
->
ColorSpace
()
);
BBitmap
*
temp
=
new
BBitmap
(
current
->
Bounds
(),
current
->
ColorSpace
()
);
if
(
temp
&&
temp
->
IsValid
()
)
if
(
temp
&&
temp
->
IsValid
()
)
{
{
int32
height
=
current
->
Bounds
().
Height
();
int32
height
=
(
int32
)
current
->
Bounds
().
Height
();
uint8
*
dst
=
(
uint8
*
)
temp
->
Bits
();
uint8
*
dst
=
(
uint8
*
)
temp
->
Bits
();
uint8
*
src
=
(
uint8
*
)
current
->
Bits
();
uint8
*
src
=
(
uint8
*
)
current
->
Bits
();
int32
dstBpr
=
temp
->
BytesPerRow
();
int32
dstBpr
=
temp
->
BytesPerRow
();
...
@@ -1109,7 +1109,7 @@ VLCView::Draw(BRect updateRect)
...
@@ -1109,7 +1109,7 @@ VLCView::Draw(BRect updateRect)
*****************************************************************************/
*****************************************************************************/
static
int
Init
(
vout_thread_t
*
);
static
int
Init
(
vout_thread_t
*
);
static
void
End
(
vout_thread_t
*
);
static
void
End
(
vout_thread_t
*
);
static
int
Manage
(
vout_thread_t
*
);
//
static int Manage ( vout_thread_t * );
static
void
Display
(
vout_thread_t
*
,
picture_t
*
);
static
void
Display
(
vout_thread_t
*
,
picture_t
*
);
static
int
BeosOpenDisplay
(
vout_thread_t
*
p_vout
);
static
int
BeosOpenDisplay
(
vout_thread_t
*
p_vout
);
...
...
modules/gui/beos/VlcWrapper.cpp
View file @
79a4f01f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* intf_vlc_wrapper.h: BeOS plugin for vlc (derived from MacOS X port )
* intf_vlc_wrapper.h: BeOS plugin for vlc (derived from MacOS X port )
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: VlcWrapper.cpp,v 1.
7 2002/10/28 19:42:24
titer Exp $
* $Id: VlcWrapper.cpp,v 1.
8 2002/10/29 17:33:11
titer Exp $
*
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
@@ -887,4 +887,7 @@ void Intf_VLCWrapper::toggleSubtitle(int i_subtitle)
...
@@ -887,4 +887,7 @@ void Intf_VLCWrapper::toggleSubtitle(int i_subtitle)
void
Intf_VLCWrapper
::
setupMenus
(){}
void
Intf_VLCWrapper
::
setupMenus
(){}
int
Intf_VLCWrapper
::
inputGetStatus
()
{}
int
Intf_VLCWrapper
::
inputGetStatus
()
{
return
0
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment