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
29e4c7d4
Commit
29e4c7d4
authored
Apr 16, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/video.cpp: fixes.
parent
a73ce735
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
modules/gui/wxwindows/video.cpp
modules/gui/wxwindows/video.cpp
+7
-9
No files found.
modules/gui/wxwindows/video.cpp
View file @
29e4c7d4
...
...
@@ -147,6 +147,12 @@ VideoWindow::VideoWindow( intf_thread_t *_p_intf, wxWindow *_p_parent ):
p_child_window
=
new
wxWindow
(
this
,
-
1
,
wxDefaultPosition
,
child_size
);
if
(
!
b_auto_size
)
{
SetBackgroundColour
(
*
wxBLACK
);
p_child_window
->
SetBackgroundColour
(
*
wxBLACK
);
}
p_child_window
->
Show
();
Show
();
b_shown
=
VLC_TRUE
;
...
...
@@ -239,10 +245,6 @@ void *VideoWindow::GetWindow( vout_thread_t *_p_vout,
AddPendingEvent
(
event
);
vlc_mutex_unlock
(
&
lock
);
p_child_window
->
SetBackgroundColour
(
*
wxBLACK
);
SetBackgroundColour
(
*
wxBLACK
);
Refresh
();
#ifdef __WXGTK__
GtkWidget
*
p_widget
=
p_child_window
->
GetHandle
();
...
...
@@ -314,7 +316,7 @@ void VideoWindow::OnHideTimer( wxTimerEvent& WXUNUSED(event))
if
(
b_shown
)
{
p_intf
->
p_sys
->
p_video_sizer
->
Show
(
this
,
FALSE
);
Hide
(
);
SetSize
(
0
,
0
);
p_intf
->
p_sys
->
p_video_sizer
->
Layout
();
b_shown
=
VLC_FALSE
;
}
...
...
@@ -322,10 +324,6 @@ void VideoWindow::OnHideTimer( wxTimerEvent& WXUNUSED(event))
wxCommandEvent
intf_event
(
wxEVT_INTF
,
0
);
p_parent
->
AddPendingEvent
(
intf_event
);
p_child_window
->
SetBackgroundColour
(
wxNullColour
);
SetBackgroundColour
(
wxNullColour
);
Refresh
();
}
void
VideoWindow
::
OnControlEvent
(
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