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
f0d9d6b2
Commit
f0d9d6b2
authored
Feb 09, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/wxwindows/interface.cpp: toolbar flickering fix.
parent
29e5c380
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
modules/gui/wxwindows/interface.cpp
modules/gui/wxwindows/interface.cpp
+8
-7
No files found.
modules/gui/wxwindows/interface.cpp
View file @
f0d9d6b2
...
...
@@ -1082,19 +1082,20 @@ void Interface::TogglePlayButton( int i_playing_status )
if
(
i_playing_status
==
i_old_playing_status
)
return
;
GetToolBar
()
->
DeleteTool
(
PlayStream_Event
);
wxToolBarToolBase
*
p_tool
=
GetToolBar
()
->
FindById
(
PlayStream_Event
);
if
(
!
p_tool
)
return
;
if
(
i_playing_status
==
PLAYING_S
)
{
GetToolBar
()
->
InsertTool
(
2
,
PlayStream_Event
,
wxU
(
_
(
"Pause"
)),
wxBitmap
(
pause_xpm
),
wxNullBitmap
,
wxITEM_NORMAL
,
wxU
(
_
(
HELP_PAUSE
))
);
p_tool
->
SetNormalBitmap
(
wxBitmap
(
pause_xpm
)
);
p_tool
->
SetLabel
(
wxU
(
_
(
"Pause"
))
);
p_tool
->
SetShortHelp
(
wxU
(
_
(
HELP_PAUSE
))
);
}
else
{
GetToolBar
()
->
InsertTool
(
2
,
PlayStream_Event
,
wxU
(
_
(
"Play"
)),
wxBitmap
(
play_xpm
),
wxNullBitmap
,
wxITEM_NORMAL
,
wxU
(
_
(
HELP_PLAY
))
);
p_tool
->
SetNormalBitmap
(
wxBitmap
(
play_xpm
)
);
p_tool
->
SetLabel
(
wxU
(
_
(
"Play"
))
);
p_tool
->
SetShortHelp
(
wxU
(
_
(
HELP_PLAY
))
);
}
GetToolBar
()
->
Realize
();
...
...
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