Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
d66a29d6
Commit
d66a29d6
authored
Apr 23, 2005
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove invert selection and select all (I simply can't figure how to do that)
parent
cc84ac38
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
20 deletions
+1
-20
modules/gui/wxwindows/playlist.cpp
modules/gui/wxwindows/playlist.cpp
+1
-16
modules/gui/wxwindows/wxwindows.h
modules/gui/wxwindows/wxwindows.h
+0
-4
No files found.
modules/gui/wxwindows/playlist.cpp
View file @
d66a29d6
...
...
@@ -83,12 +83,10 @@ enum
RSortTitle_Event
,
Randomize_Event
,
InvertSelection_Event
,
DeleteSelection_Event
,
Random_Event
,
Loop_Event
,
Repeat_Event
,
SelectAll_Event
,
PopupPlay_Event
,
PopupPlayThis_Event
,
...
...
@@ -137,9 +135,7 @@ BEGIN_EVENT_TABLE(Playlist, wxFrame)
EVT_MENU
(
Randomize_Event
,
Playlist
::
OnSort
)
EVT_MENU
(
InvertSelection_Event
,
Playlist
::
OnInvertSelection
)
EVT_MENU
(
DeleteSelection_Event
,
Playlist
::
OnDeleteSelection
)
EVT_MENU
(
SelectAll_Event
,
Playlist
::
OnSelectAll
)
EVT_MENU_OPEN
(
Playlist
::
OnMenuOpen
)
EVT_MENU
(
-
1
,
Playlist
::
OnMenuEvent
)
...
...
@@ -251,9 +247,7 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
/* Create our "Selection" menu */
wxMenu
*
selection_menu
=
new
wxMenu
;
selection_menu
->
Append
(
InvertSelection_Event
,
wxU
(
_
(
"&Invert"
))
);
selection_menu
->
Append
(
DeleteSelection_Event
,
wxU
(
_
(
"D&elete"
))
);
selection_menu
->
Append
(
SelectAll_Event
,
wxU
(
_
(
"&Select All"
))
);
/* Create our "View" menu */
ViewMenu
();
...
...
@@ -1028,11 +1022,6 @@ void Playlist::OnSearch( wxCommandEvent& WXUNUSED(event) )
/**********************************************************************
* Selection functions
**********************************************************************/
void
Playlist
::
OnInvertSelection
(
wxCommandEvent
&
WXUNUSED
(
event
)
)
{
// InvertSelection( treectrl, treectrl->GetRootItem() );
}
void
Playlist
::
RecursiveDeleteSelection
(
wxTreeItemId
root
)
{
wxTreeItemIdValue
cookie
;
...
...
@@ -1040,7 +1029,7 @@ void Playlist::RecursiveDeleteSelection( wxTreeItemId root )
while
(
child
.
IsOk
()
)
{
if
(
treectrl
->
ItemHasChildren
(
child
)
)
RecursiveDeleteSelection
(
child
);
RecursiveDeleteSelection
(
child
);
else
if
(
treectrl
->
IsSelected
(
child
)
)
DeleteTreeItem
(
child
);
child
=
treectrl
->
GetNextChild
(
root
,
cookie
);
...
...
@@ -1052,10 +1041,6 @@ void Playlist::OnDeleteSelection( wxCommandEvent& WXUNUSED(event) )
RecursiveDeleteSelection
(
treectrl
->
GetRootItem
()
);
}
void
Playlist
::
OnSelectAll
(
wxCommandEvent
&
WXUNUSED
(
event
)
)
{
}
/**********************************************************************
* Playlist mode functions
**********************************************************************/
...
...
modules/gui/wxwindows/wxwindows.h
View file @
d66a29d6
...
...
@@ -875,11 +875,7 @@ private:
void
OnMenuClose
(
wxCommandEvent
&
event
);
void
OnClose
(
wxCloseEvent
&
WXUNUSED
(
event
)
);
void
OnEnableSelection
(
wxCommandEvent
&
event
);
void
OnDisableSelection
(
wxCommandEvent
&
event
);
void
OnInvertSelection
(
wxCommandEvent
&
event
);
void
OnDeleteSelection
(
wxCommandEvent
&
event
);
void
OnSelectAll
(
wxCommandEvent
&
event
);
void
OnOpen
(
wxCommandEvent
&
event
);
void
OnSave
(
wxCommandEvent
&
event
);
...
...
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