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
9b6096ce
Commit
9b6096ce
authored
May 15, 2005
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix play/pause button state ... gruiiiikkk
Closes #2
parent
d528e9f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
modules/gui/wxwindows/interface.cpp
modules/gui/wxwindows/interface.cpp
+8
-6
No files found.
modules/gui/wxwindows/interface.cpp
View file @
9b6096ce
...
...
@@ -1259,17 +1259,19 @@ void Interface::TogglePlayButton( int i_playing_status )
GetToolBar
()
->
GetToolClientData
(
PlayStream_Event
);
if
(
!
p_tool
)
return
;
GetToolBar
()
->
DeleteTool
(
p_tool
->
GetId
()
);
if
(
i_playing_status
==
PLAYING_S
)
{
p_tool
->
SetNormalBitmap
(
wxBitmap
(
pause_xpm
)
);
p_tool
->
SetLabel
(
wxU
(
_
(
"Pause"
))
);
p_tool
->
Set
ShortHelp
(
wxU
(
_
(
HELP_PAUSE
))
);
p_tool
=
GetToolBar
()
->
InsertTool
(
2
,
PlayStream_Event
,
wxT
(
""
),
wxBitmap
(
pause_xpm
),
wxU
(
_
(
HELP_PAUSE
))
);
p_tool
->
Set
ClientData
(
p_tool
);
}
else
{
p_tool
->
SetNormalBitmap
(
wxBitmap
(
play_xpm
)
);
p_tool
->
SetLabel
(
wxU
(
_
(
"Play"
))
);
p_tool
->
Set
ShortHelp
(
wxU
(
_
(
HELP_PLAY
))
);
p_tool
=
GetToolBar
()
->
InsertTool
(
2
,
PlayStream_Event
,
wxT
(
""
),
wxBitmap
(
play_xpm
),
wxU
(
_
(
HELP_PLAY
))
);
p_tool
->
Set
ClientData
(
p_tool
);
}
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