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
dd8a6acf
Commit
dd8a6acf
authored
Dec 16, 2003
by
Rocky Bernstein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remember the disc selection type (DVD, VCD, CD-DA) selected in "Open
Disc" and use that as the default for next time.
parent
af1fa8e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
modules/gui/wxwindows/open.cpp
modules/gui/wxwindows/open.cpp
+8
-3
modules/gui/wxwindows/wxwindows.h
modules/gui/wxwindows/wxwindows.h
+2
-1
No files found.
modules/gui/wxwindows/open.cpp
View file @
dd8a6acf
...
...
@@ -2,7 +2,7 @@
* open.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001, 2003 VideoLAN
* $Id: open.cpp,v 1.5
5 2003/12/15 20:20:55 gbazin
Exp $
* $Id: open.cpp,v 1.5
6 2003/12/16 03:21:47 rocky
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -234,6 +234,8 @@ OpenDialog::OpenDialog( intf_thread_t *_p_intf, wxWindow *_p_parent,
p_parent
=
_p_parent
;
SetIcon
(
*
p_intf
->
p_sys
->
p_icon
);
file_dialog
=
NULL
;
i_disc_type_selection
=
0
;
#ifndef WIN32
v4l_dialog
=
NULL
;
#endif
...
...
@@ -476,7 +478,8 @@ wxPanel *OpenDialog::DiscPanel( wxWindow* parent )
wxDefaultPosition
,
wxDefaultSize
,
WXSIZEOF
(
disc_type_array
),
disc_type_array
,
WXSIZEOF
(
disc_type_array
),
wxRA_SPECIFY_COLS
);
sizer_row
->
Add
(
disc_type
,
0
,
wxEXPAND
|
wxALL
,
5
);
sizer_row
->
Add
(
disc_type
,
i_disc_type_selection
,
wxEXPAND
|
wxALL
,
5
);
wxStaticText
*
label
=
new
wxStaticText
(
panel
,
-
1
,
wxU
(
_
(
"Device name"
))
);
disc_device
=
new
wxTextCtrl
(
panel
,
DiscDevice_Event
,
wxT
(
""
),
...
...
@@ -678,7 +681,9 @@ void OpenDialog::UpdateMRL( int i_access_method )
mrltemp
=
file_combo
->
GetValue
();
break
;
case
DISC_ACCESS
:
switch
(
disc_type
->
GetSelection
()
)
i_disc_type_selection
=
disc_type
->
GetSelection
();
switch
(
i_disc_type_selection
)
{
case
0
:
disc_chapter
->
Enable
();
...
...
modules/gui/wxwindows/wxwindows.h
View file @
dd8a6acf
...
...
@@ -2,7 +2,7 @@
* wxwindows.h: private wxWindows interface description
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: wxwindows.h,v 1.8
0 2003/12/14 22:49:28 gbazin
Exp $
* $Id: wxwindows.h,v 1.8
1 2003/12/16 03:21:47 rocky
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -362,6 +362,7 @@ private:
intf_thread_t
*
p_intf
;
wxWindow
*
p_parent
;
int
i_current_access_method
;
int
i_disc_type_selection
;
int
i_method
;
/* Normal or for the stream dialog ? */
wxComboBox
*
mrl_combo
;
...
...
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