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
894e084c
Commit
894e084c
authored
Mar 01, 2007
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deactivated VLM control by wx while I clean it. (It uses private fields
of VLM that should not have been public)
parent
320e6b5e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
27 additions
and
7 deletions
+27
-7
modules/gui/wxwidgets/dialogs.cpp
modules/gui/wxwidgets/dialogs.cpp
+9
-5
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.cpp
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.cpp
+3
-0
modules/gui/wxwidgets/dialogs/vlm/vlm_slider_manager.cpp
modules/gui/wxwidgets/dialogs/vlm/vlm_slider_manager.cpp
+2
-0
modules/gui/wxwidgets/dialogs/vlm/vlm_stream.cpp
modules/gui/wxwidgets/dialogs/vlm/vlm_stream.cpp
+2
-0
modules/gui/wxwidgets/dialogs/vlm/vlm_streampanel.cpp
modules/gui/wxwidgets/dialogs/vlm/vlm_streampanel.cpp
+2
-0
modules/gui/wxwidgets/dialogs/vlm/vlm_wrapper.cpp
modules/gui/wxwidgets/dialogs/vlm/vlm_wrapper.cpp
+3
-0
modules/gui/wxwidgets/interface.cpp
modules/gui/wxwidgets/interface.cpp
+6
-2
No files found.
modules/gui/wxwidgets/dialogs.cpp
View file @
894e084c
...
...
@@ -35,7 +35,7 @@
#include "vlc_charset.h"
#include "dialogs/vlm/vlm_panel.hpp"
//
#include "dialogs/vlm/vlm_panel.hpp"
#include "dialogs/bookmarks.hpp"
#include "dialogs/wizard.hpp"
#include "dialogs/playlist.hpp"
...
...
@@ -67,7 +67,7 @@ private:
/* Event handlers (these functions should _not_ be virtual) */
void
OnUpdateVLC
(
wxCommandEvent
&
event
);
void
OnVLM
(
wxCommandEvent
&
event
);
//
void OnVLM( wxCommandEvent& event );
void
OnInteraction
(
wxCommandEvent
&
event
);
void
OnExit
(
wxCommandEvent
&
event
);
void
OnPlaylist
(
wxCommandEvent
&
event
);
...
...
@@ -112,7 +112,7 @@ public:
wxFrame
*
p_bookmarks_dialog
;
wxFileDialog
*
p_file_generic_dialog
;
UpdateVLC
*
p_updatevlc_dialog
;
VLMFrame
*
p_vlm_dialog
;
//
VLMFrame *p_vlm_dialog;
};
}
...
...
@@ -161,8 +161,10 @@ BEGIN_EVENT_TABLE(DialogsProvider, wxFrame)
DialogsProvider
::
OnExitThread
)
EVT_COMMAND
(
INTF_DIALOG_UPDATEVLC
,
wxEVT_DIALOG
,
DialogsProvider
::
OnUpdateVLC
)
#if 0
EVT_COMMAND(INTF_DIALOG_VLM, wxEVT_DIALOG,
DialogsProvider::OnVLM)
#endif
EVT_COMMAND
(
INTF_DIALOG_INTERACTION
,
wxEVT_DIALOG
,
DialogsProvider
::
OnInteraction
)
END_EVENT_TABLE
()
...
...
@@ -191,7 +193,7 @@ DialogsProvider::DialogsProvider( intf_thread_t *_p_intf, wxWindow *p_parent )
p_bookmarks_dialog
=
NULL
;
p_dir_dialog
=
NULL
;
p_updatevlc_dialog
=
NULL
;
p_vlm_dialog
=
NULL
;
//
p_vlm_dialog = NULL;
/* Give our interface a nice little icon */
p_intf
->
p_sys
->
p_icon
=
new
wxIcon
(
vlc_xpm
);
...
...
@@ -263,7 +265,7 @@ DialogsProvider::~DialogsProvider()
if
(
p_wizard_dialog
)
delete
p_wizard_dialog
;
if
(
p_bookmarks_dialog
)
delete
p_bookmarks_dialog
;
if
(
p_updatevlc_dialog
)
delete
p_updatevlc_dialog
;
if
(
p_vlm_dialog
)
delete
p_vlm_dialog
;
//
if( p_vlm_dialog ) delete p_vlm_dialog;
if
(
p_intf
->
p_sys
->
p_icon
)
delete
p_intf
->
p_sys
->
p_icon
;
...
...
@@ -562,6 +564,7 @@ void DialogsProvider::OnUpdateVLC( wxCommandEvent& WXUNUSED(event) )
}
}
#if 0
void DialogsProvider::OnVLM( wxCommandEvent& WXUNUSED(event) )
{
/* Show/hide the file info window */
...
...
@@ -573,6 +576,7 @@ void DialogsProvider::OnVLM( wxCommandEvent& WXUNUSED(event) )
p_vlm_dialog->Show( !p_vlm_dialog->IsShown() );
}
}
#endif
void
DialogsProvider
::
OnInteraction
(
wxCommandEvent
&
event
)
{
...
...
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.cpp
View file @
894e084c
...
...
@@ -21,6 +21,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#if 0
#include "dialogs/vlm/vlm_panel.hpp"
#include "dialogs/vlm/vlm_wrapper.hpp"
#include "dialogs/vlm/vlm_stream.hpp"
...
...
@@ -576,3 +577,5 @@ VLMEditStreamFrame::VLMEditStreamFrame( intf_thread_t *_p_intf,
VLMEditStreamFrame
::~
VLMEditStreamFrame
()
{
}
#endif
modules/gui/wxwidgets/dialogs/vlm/vlm_slider_manager.cpp
View file @
894e084c
...
...
@@ -24,6 +24,7 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#if 0
#include "dialogs/vlm/vlm_slider_manager.hpp"
#include "dialogs/vlm/vlm_stream.hpp"
#include "dialogs/vlm/vlm_streampanel.hpp"
...
...
@@ -216,3 +217,4 @@ void VLMSliderManager::ProcessUpdate( wxScrollEvent &event )
#undef WIN32
}
#endif
modules/gui/wxwidgets/dialogs/vlm/vlm_stream.cpp
View file @
894e084c
...
...
@@ -21,6 +21,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#if 0
#include "dialogs/vlm/vlm_stream.hpp"
#include "dialogs/vlm/vlm_wrapper.hpp"
...
...
@@ -108,3 +109,4 @@ VLMVODStream::VLMVODStream( intf_thread_t *_p_intf, vlm_media_t *_p_media,
VLMVODStream::~VLMVODStream()
{
}
#endif
modules/gui/wxwidgets/dialogs/vlm/vlm_streampanel.cpp
View file @
894e084c
...
...
@@ -21,6 +21,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#if 0
#include "dialogs/vlm/vlm_streampanel.hpp"
#include "dialogs/vlm/vlm_stream.hpp"
#include "dialogs/vlm/vlm_slider_manager.hpp"
...
...
@@ -201,3 +202,4 @@ VLMVODStreamPanel::VLMVODStreamPanel( intf_thread_t* _p_intf,
VLMVODStreamPanel::~VLMVODStreamPanel()
{
}
#endif
modules/gui/wxwidgets/dialogs/vlm/vlm_wrapper.cpp
View file @
894e084c
...
...
@@ -23,6 +23,7 @@
/* FIXME: This is not wx-specific */
#if 0
#include "dialogs/vlm/vlm_wrapper.hpp"
VLMWrapper::VLMWrapper( intf_thread_t *_p_intf )
...
...
@@ -131,3 +132,5 @@ void VLMWrapper::EditVod( const char* name, const char* input,
vlm_MessageDelete( message );
}
}
#endif
modules/gui/wxwidgets/interface.cpp
View file @
894e084c
...
...
@@ -301,7 +301,7 @@ enum
OnWebLink_Event
,
OnWebHelp_Event
,
UpdateVLC_Event
,
VLM_Event
,
//
VLM_Event,
Iconize_Event
,
};
...
...
@@ -315,7 +315,7 @@ BEGIN_EVENT_TABLE(Interface, wxFrame)
EVT_MENU
(
OnWebLink_Event
,
Interface
::
OnWebLink
)
EVT_MENU
(
OnWebHelp_Event
,
Interface
::
OnWebHelp
)
EVT_MENU
(
UpdateVLC_Event
,
Interface
::
OnShowDialog
)
EVT_MENU
(
VLM_Event
,
Interface
::
OnShowDialog
)
//
EVT_MENU(VLM_Event, Interface::OnShowDialog)
EVT_MENU
(
Playlist_Event
,
Interface
::
OnShowDialog
)
EVT_MENU
(
PlaylistSmall_Event
,
Interface
::
OnSmallPlaylist
)
...
...
@@ -600,8 +600,10 @@ void Interface::CreateOurMenuBar()
view_menu
->
Append
(
Logs_Event
,
wxU
(
_
(
"&Messages...
\t
Ctrl-M"
))
);
view_menu
->
Append
(
FileInfo_Event
,
wxU
(
_
(
"Stream and Media &Info...
\t
Ctrl-I"
))
);
#if 0
view_menu->Append( VLM_Event,
wxU(_("VLM Control...\tCtrl-V")) );
#endif
/* Create the "Auto-generated" menus */
p_settings_menu
=
SettingsMenu
(
p_intf
,
this
);
...
...
@@ -1027,9 +1029,11 @@ void Interface::OnShowDialog( wxCommandEvent& event )
case
UpdateVLC_Event
:
i_id
=
INTF_DIALOG_UPDATEVLC
;
break
;
#if 0
case VLM_Event:
i_id = INTF_DIALOG_VLM;
break;
#endif
default:
i_id
=
INTF_DIALOG_FILE
;
break
;
...
...
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