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
07004fb9
Commit
07004fb9
authored
Nov 23, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/*: small cleanup.
parent
6d46c2a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
13 deletions
+4
-13
modules/gui/wxwindows/open.cpp
modules/gui/wxwindows/open.cpp
+3
-10
modules/gui/wxwindows/wxwindows.h
modules/gui/wxwindows/wxwindows.h
+1
-3
No files found.
modules/gui/wxwindows/open.cpp
View file @
07004fb9
...
...
@@ -2,7 +2,7 @@
* open.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: open.cpp,v 1.4
3 2003/11/10 18:21:35
gbazin Exp $
* $Id: open.cpp,v 1.4
4 2003/11/23 17:51:54
gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -673,7 +673,8 @@ void OpenDialog::UpdateMRL( int i_access_method )
+
demux
+
wxT
(
":"
)
+
disc_device
->
GetLineText
(
0
)
+
wxString
::
Format
(
wxT
(
"@%d:%d"
),
i_disc_title
,
i_disc_chapter
);
disc_title
->
GetValue
(),
disc_chapter
->
GetValue
()
);
break
;
case
NET_ACCESS
:
switch
(
i_net_type
)
...
...
@@ -927,11 +928,6 @@ void OpenDialog::OnFileBrowse( wxCommandEvent& WXUNUSED(event) )
*****************************************************************************/
void
OpenDialog
::
OnDiscPanelChange
(
wxCommandEvent
&
event
)
{
if
(
event
.
GetId
()
==
DiscTitle_Event
)
i_disc_title
=
event
.
GetInt
();
else
if
(
event
.
GetId
()
==
DiscChapter_Event
)
i_disc_chapter
=
event
.
GetInt
();
UpdateMRL
(
DISC_ACCESS
);
}
...
...
@@ -959,17 +955,14 @@ void OpenDialog::OnDiscTypeChange( wxCommandEvent& WXUNUSED(event) )
case
0
:
disc_title
->
SetRange
(
0
,
255
);
disc_title
->
SetValue
(
0
);
i_disc_title
=
0
;
break
;
default:
disc_title
->
SetRange
(
1
,
255
);
disc_title
->
SetValue
(
1
);
i_disc_title
=
1
;
break
;
}
i_disc_chapter
=
1
;
disc_chapter
->
SetRange
(
1
,
255
);
disc_chapter
->
SetValue
(
1
);
...
...
modules/gui/wxwindows/wxwindows.h
View file @
07004fb9
...
...
@@ -2,7 +2,7 @@
* wxwindows.h: private wxWindows interface description
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: wxwindows.h,v 1.7
2 2003/11/21 18:55:40
gbazin Exp $
* $Id: wxwindows.h,v 1.7
3 2003/11/23 17:51:54
gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -373,9 +373,7 @@ private:
wxRadioBox
*
disc_type
;
wxTextCtrl
*
disc_device
;
wxSpinCtrl
*
disc_title
;
int
i_disc_title
;
wxSpinCtrl
*
disc_chapter
;
int
i_disc_chapter
;
/* Controls for the net panel */
wxRadioBox
*
net_type
;
...
...
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