Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
f66c92bf
Commit
f66c92bf
authored
Apr 15, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/video.cpp: only set background color when necessary.
parent
a791789c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
modules/gui/wxwindows/video.cpp
modules/gui/wxwindows/video.cpp
+8
-3
No files found.
modules/gui/wxwindows/video.cpp
View file @
f66c92bf
...
...
@@ -139,9 +139,6 @@ VideoWindow::VideoWindow( intf_thread_t *_p_intf, wxWindow *_p_parent ):
Show
();
b_shown
=
VLC_TRUE
;
p_child_window
->
SetBackgroundColour
(
*
wxBLACK
);
SetBackgroundColour
(
*
wxBLACK
);
p_intf
->
p_sys
->
p_video_sizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
p_intf
->
p_sys
->
p_video_sizer
->
Add
(
this
,
1
,
wxEXPAND
);
...
...
@@ -219,6 +216,10 @@ 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
();
...
...
@@ -302,6 +303,10 @@ 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