Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
69d197f7
Commit
69d197f7
authored
Jul 06, 2005
by
zorglub
Browse files
Revert wrongly commited files in previous commit
parent
c13d9987
Changes
4
Hide whitespace changes
Inline
Side-by-side
modules/gui/wxwindows/interface.cpp
View file @
69d197f7
...
...
@@ -55,8 +55,6 @@
#include "../../../share/vlc16x16.xpm"
#endif
static
int
Interact
(
intf_thread_t
*
,
user_interaction_t
*
,
vlc_bool_t
);
/*****************************************************************************
* Local class declarations.
*****************************************************************************/
...
...
@@ -230,9 +228,6 @@ Interface::Interface( intf_thread_t *_p_intf, long style ):
b_extra
=
VLC_FALSE
;
// b_undock = VLC_FALSE;
/* Allow user interaction */
p_intf
->
p_sys
->
p_main_interface
=
this
;
p_intf
->
pf_interact
=
::
Interact
;
extra_window
=
NULL
;
...
...
@@ -1334,22 +1329,6 @@ void Interface::OnDiscNext( wxCommandEvent& WXUNUSED(event) )
}
#if wxUSE_DRAG_AND_DROP
/*****************************************************************************
* Interaction
*****************************************************************************/
int
Interface
::
Interact
(
user_interaction_t
*
p_interact
,
vlc_bool_t
b_block
)
{
if
(
p_interact
->
i_type
==
INTERACT_FATAL
)
{
fprintf
(
stderr
,
"Showing message -%s-
\n
"
,
p_interact
->
psz_description
);
wxFrame
*
p_message
=
new
wxFrame
(
this
,
-
1
,
wxU
(
p_interact
->
psz_description
));
p_message
->
Show
();
}
return
VLC_SUCCESS
;
}
/*****************************************************************************
* Definition of DragAndDrop class.
*****************************************************************************/
...
...
@@ -1578,15 +1557,3 @@ void Systray::UpdateTooltip( const wxChar* tooltip )
SetIcon
(
wxIcon
(
vlc16x16_xpm
),
tooltip
);
}
#endif
/**
* Interaction entry point
*/
int
Interact
(
intf_thread_t
*
p_intf
,
user_interaction_t
*
p_interact
,
vlc_bool_t
b_block
)
{
fprintf
(
stderr
,
"Asking for interaction
\n
"
);
return
p_intf
->
p_sys
->
p_main_interface
->
Interact
(
p_interact
,
b_block
);
}
modules/gui/wxwindows/wizard.cpp
View file @
69d197f7
...
...
@@ -1030,8 +1030,8 @@ wizStreamingMethodPage::wizStreamingMethodPage( wxWizard *parent,
TEXTWIDTH
,
false
)
),
wxDefaultPosition
,
wxDefaultSize
);
address_txtctrl
=
new
wxTextCtrl
(
this
,
-
1
,
wx
T
(
""
)
,
wxDefaultPosition
,
wxSize
(
200
,
25
))
;
address_txtctrl
=
new
wxTextCtrl
(
this
,
-
1
,
wx
U
(
""
),
wxDefaultPosition
,
wxSize
(
200
,
25
));
address_sizer
->
Add
(
address_text
,
0
,
wxALL
,
5
);
address_sizer
->
Add
(
address_txtctrl
,
0
,
wxALL
,
5
);
address_sizer
->
Layout
();
...
...
modules/gui/wxwindows/wxwindows.cpp
View file @
69d197f7
...
...
@@ -63,7 +63,6 @@ static void Init ( intf_thread_t * );
static
void
ShowDialog
(
intf_thread_t
*
,
int
,
int
,
intf_dialog_args_t
*
);
#if (wxCHECK_VERSION(2,5,0))
void
*
wxClassInfo_sm_classTable_BUGGY
=
0
;
#endif
...
...
@@ -364,7 +363,6 @@ bool Instance::OnInit()
p_intf
->
p_sys
->
pf_show_dialog
=
ShowDialog
;
/* OK, initialization is over */
vlc_thread_ready
(
p_intf
);
...
...
modules/gui/wxwindows/wxwindows.h
View file @
69d197f7
...
...
@@ -44,7 +44,6 @@
#include <wx/wizard.h>
#include <wx/taskbar.h>
#include "vlc_keys.h"
#include "vlc_interaction.h"
#if (!wxCHECK_VERSION(2,5,0))
typedef
long
wxTreeItemIdValue
;
...
...
@@ -99,8 +98,6 @@ class AutoBuiltPanel;
class
VideoWindow
;
class
WindowSettings
;
namespace
wxvlc
{
class
Interface
;};
/*****************************************************************************
* intf_sys_t: description and status of wxwindows interface
*****************************************************************************/
...
...
@@ -143,9 +140,6 @@ struct intf_sys_t
int
i_first_hotkey_event
;
int
i_hotkeys
;
/* Main interface */
wxvlc
::
Interface
*
p_main_interface
;
/* Embedded vout */
VideoWindow
*
p_video_window
;
wxBoxSizer
*
p_video_sizer
;
...
...
@@ -377,9 +371,6 @@ public:
wxTimer
m_controls_timer
;
wxTimer
m_slider_timer
;
/* Interaction */
int
Interact
(
user_interaction_t
*
,
vlc_bool_t
);
private:
void
SetupHotkeys
();
void
CreateOurMenuBar
();
...
...
Write
Preview
Supports
Markdown
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