Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
58990fda
Commit
58990fda
authored
Jan 27, 2003
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disabled DVD menus by default for 0.5.0
parent
a2e5e656
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
18 deletions
+20
-18
modules/gui/beos/InterfaceWindow.cpp
modules/gui/beos/InterfaceWindow.cpp
+2
-2
modules/gui/beos/PreferencesWindow.cpp
modules/gui/beos/PreferencesWindow.cpp
+9
-9
modules/gui/beos/PreferencesWindow.h
modules/gui/beos/PreferencesWindow.h
+3
-3
modules/gui/beos/VlcWrapper.cpp
modules/gui/beos/VlcWrapper.cpp
+4
-2
modules/gui/beos/VlcWrapper.h
modules/gui/beos/VlcWrapper.h
+2
-2
No files found.
modules/gui/beos/InterfaceWindow.cpp
View file @
58990fda
...
...
@@ -2,7 +2,7 @@
* InterfaceWindow.cpp: beos interface
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: InterfaceWindow.cpp,v 1.2
2 2003/01/25 20:15:4
1 titer Exp $
* $Id: InterfaceWindow.cpp,v 1.2
3 2003/01/27 10:29:2
1 titer Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -69,7 +69,7 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char *name,
{
p_intf
=
p_interface
;
p_wrapper
=
p_intf
->
p_sys
->
p_wrapper
;
p_intf
->
p_sys
->
b_dvd
old
=
false
;
p_intf
->
p_sys
->
b_dvd
menus
=
false
;
fPlaylistIsEmpty
=
!
(
p_wrapper
->
PlaylistSize
()
>
0
);
...
...
modules/gui/beos/PreferencesWindow.cpp
View file @
58990fda
...
...
@@ -2,7 +2,7 @@
* PreferencesWindow.cpp: beos interface
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: PreferencesWindow.cpp,v 1.
9 2003/01/25 20:15:4
1 titer Exp $
* $Id: PreferencesWindow.cpp,v 1.
10 2003/01/27 10:29:2
1 titer Exp $
*
* Authors: Eric Petit <titer@videolan.org>
*
...
...
@@ -75,9 +75,9 @@ PreferencesWindow::PreferencesWindow( intf_thread_t * p_intf,
rect
=
fGeneralView
->
Bounds
();
rect
.
InsetBy
(
10
,
10
);
rect
.
bottom
=
rect
.
top
+
10
;
fDvd
OldCheck
=
new
BCheckBox
(
rect
,
"dvdold"
,
"Do not u
se DVD menus"
,
new
BMessage
(
DVD
OLD
_CHECK
)
);
fGeneralView
->
AddChild
(
fDvd
Old
Check
);
fDvd
MenusCheck
=
new
BCheckBox
(
rect
,
"dvdmenus"
,
"U
se DVD menus"
,
new
BMessage
(
DVD
MENUS
_CHECK
)
);
fGeneralView
->
AddChild
(
fDvd
Menus
Check
);
rect
.
top
=
rect
.
bottom
+
20
;
rect
.
bottom
=
rect
.
top
+
30
;
...
...
@@ -171,7 +171,7 @@ void PreferencesWindow::MessageReceived( BMessage * p_message )
{
switch
(
p_message
->
what
)
{
case
DVD
OLD
_CHECK
:
case
DVD
MENUS
_CHECK
:
case
SLIDER_UPDATE
:
{
ApplyChanges
();
...
...
@@ -215,7 +215,7 @@ void PreferencesWindow::ReallyQuit()
*****************************************************************************/
void
PreferencesWindow
::
SetDefaults
()
{
fDvd
Old
Check
->
SetValue
(
0
);
fDvd
Menus
Check
->
SetValue
(
0
);
fPpSlider
->
SetValue
(
0
);
fBrightnessSlider
->
SetValue
(
100
);
fContrastSlider
->
SetValue
(
100
);
...
...
@@ -228,10 +228,10 @@ void PreferencesWindow::SetDefaults()
*****************************************************************************/
void
PreferencesWindow
::
ApplyChanges
()
{
if
(
fDvd
Old
Check
->
Value
()
)
p_intf
->
p_sys
->
b_dvd
old
=
true
;
if
(
fDvd
Menus
Check
->
Value
()
)
p_intf
->
p_sys
->
b_dvd
menus
=
true
;
else
p_intf
->
p_sys
->
b_dvd
old
=
false
;
p_intf
->
p_sys
->
b_dvd
menus
=
false
;
config_PutInt
(
p_intf
,
"ffmpeg-pp-q"
,
fPpSlider
->
Value
()
);
config_PutFloat
(
p_intf
,
"brightness"
,
...
...
modules/gui/beos/PreferencesWindow.h
View file @
58990fda
...
...
@@ -2,7 +2,7 @@
* PreferencesWindow.h
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: PreferencesWindow.h,v 1.
7 2003/01/25 20:15:41
titer Exp $
* $Id: PreferencesWindow.h,v 1.
8 2003/01/27 10:29:22
titer Exp $
*
* Authors: Eric Petit <titer@videolan.org>
*
...
...
@@ -33,7 +33,7 @@
#define PREFS_SAVE 'prsa'
#define PREFS_DEFAULTS 'prde'
#define SLIDER_UPDATE 'slup'
#define DVD
OLD_CHECK 'dvch
'
#define DVD
MENUS_CHECK 'dvme
'
class
PreferencesWindow
:
public
BWindow
{
...
...
@@ -54,7 +54,7 @@ class PreferencesWindow : public BWindow
BView
*
fAdjustView
;
BTab
*
fGeneralTab
;
BTab
*
fAdjustTab
;
BCheckBox
*
fDvd
Old
Check
;
BCheckBox
*
fDvd
Menus
Check
;
BSlider
*
fPpSlider
;
BSlider
*
fContrastSlider
;
BSlider
*
fBrightnessSlider
;
...
...
modules/gui/beos/VlcWrapper.cpp
View file @
58990fda
...
...
@@ -2,7 +2,7 @@
* VlcWrapper.cpp: BeOS plugin for vlc (derived from MacOS X port)
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: VlcWrapper.cpp,v 1.2
1 2003/01/22 01:13
:22 titer Exp $
* $Id: VlcWrapper.cpp,v 1.2
2 2003/01/27 10:29
:22 titer Exp $
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -389,7 +389,9 @@ void VlcWrapper::OpenFiles( BList* o_files, bool replace )
void
VlcWrapper
::
OpenDisc
(
BString
o_type
,
BString
o_device
,
int
i_title
,
int
i_chapter
)
{
if
(
p_intf
->
p_sys
->
b_dvdold
)
if
(
p_intf
->
p_sys
->
b_dvdmenus
)
o_device
.
Prepend
(
"dvd:"
);
else
o_device
.
Prepend
(
"dvdold:"
);
playlist_Add
(
p_playlist
,
o_device
.
String
(),
PLAYLIST_APPEND
|
PLAYLIST_GO
,
PLAYLIST_END
);
...
...
modules/gui/beos/VlcWrapper.h
View file @
58990fda
...
...
@@ -2,7 +2,7 @@
* VlcWrapper.h: BeOS plugin for vlc (derived from MacOS X port)
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: VlcWrapper.h,v 1.1
6 2003/01/25 20:15:41
titer Exp $
* $Id: VlcWrapper.h,v 1.1
7 2003/01/27 10:29:22
titer Exp $
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -44,7 +44,7 @@ struct intf_sys_t
int
i_part
;
audio_volume_t
i_saved_volume
;
int
i_channel
;
bool
b_dvd
old
;
bool
b_dvd
menus
;
VlcWrapper
*
p_wrapper
;
};
...
...
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