Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
visimpl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SimVisSuite
visimpl
Commits
e606c252
Commit
e606c252
authored
4 years ago
by
Felix de las Pozas
Browse files
Options
Downloads
Patches
Plain Diff
Fix playback operations in subprojects.
parent
0f322ff4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
stackviz/MainWindow.cpp
+14
-0
14 additions, 0 deletions
stackviz/MainWindow.cpp
visimpl/MainWindow.cpp
+12
-1
12 additions, 1 deletion
visimpl/MainWindow.cpp
with
26 additions
and
1 deletion
stackviz/MainWindow.cpp
+
14
−
0
View file @
e606c252
...
...
@@ -657,7 +657,9 @@ void MainWindow::Play( bool notify )
if
(
notify
)
{
#ifdef VISIMPL_USE_GMRVLEX
sendZeroEQPlaybackOperation
(
zeroeq
::
gmrv
::
PLAY
);
#endif
}
}
}
...
...
@@ -672,7 +674,9 @@ void MainWindow::Pause( bool notify )
if
(
notify
)
{
#ifdef VISIMPL_USE_GMRVLEX
sendZeroEQPlaybackOperation
(
zeroeq
::
gmrv
::
PAUSE
);
#endif
}
}
}
...
...
@@ -688,7 +692,9 @@ void MainWindow::Stop( bool notify )
_playing
=
false
;
if
(
notify
)
{
#ifdef VISIMPL_USE_GMRVLEX
sendZeroEQPlaybackOperation
(
zeroeq
::
gmrv
::
STOP
);
#endif
}
}
}
...
...
@@ -702,8 +708,10 @@ void MainWindow::Repeat( bool notify )
if
(
notify
)
{
#ifdef VISIMPL_USE_GMRVLEX
const
auto
op
=
repeat
?
zeroeq
::
gmrv
::
ENABLE_LOOP
:
zeroeq
::
gmrv
::
DISABLE_LOOP
;
sendZeroEQPlaybackOperation
(
op
);
#endif
}
}
}
...
...
@@ -759,7 +767,9 @@ void MainWindow::PlayAt( int sliderPosition, bool notify )
std
::
cerr
<<
"Unknown exception when sending frame. "
<<
__FILE__
<<
":"
<<
__LINE__
<<
std
::
endl
;
}
#endif
#ifdef VISIMPL_USE_GMRVLEX
sendZeroEQPlaybackOperation
(
zeroeq
::
gmrv
::
PLAY
);
#endif
}
}
}
...
...
@@ -783,7 +793,9 @@ void MainWindow::Restart( bool notify )
if
(
notify
)
{
#ifdef VISIMPL_USE_GMRVLEX
sendZeroEQPlaybackOperation
(
zeroeq
::
gmrv
::
BEGIN
);
#endif
}
}
}
...
...
@@ -796,7 +808,9 @@ void MainWindow::GoToEnd( bool notify )
if
(
notify
)
{
#ifdef VISIMPL_USE_GMRVLEX
sendZeroEQPlaybackOperation
(
zeroeq
::
gmrv
::
END
);
#endif
}
}
}
...
...
This diff is collapsed.
Click to expand it.
visimpl/MainWindow.cpp
+
12
−
1
View file @
e606c252
...
...
@@ -1907,7 +1907,9 @@ namespace visimpl
if
(
notify
)
{
#ifdef VISIMPL_USE_GMRVLEX
sendZeroEQPlaybackOperation
(
zeroeq
::
gmrv
::
PLAY
);
#endif
}
}
}
...
...
@@ -1924,7 +1926,9 @@ namespace visimpl
if
(
notify
)
{
#ifdef VISIMPL_USE_GMRVLEX
sendZeroEQPlaybackOperation
(
zeroeq
::
gmrv
::
PAUSE
);
#endif
}
}
}
...
...
@@ -1945,7 +1949,9 @@ namespace visimpl
if
(
notify
)
{
#ifdef VISIMPL_USE_GMRVLEX
sendZeroEQPlaybackOperation
(
zeroeq
::
gmrv
::
STOP
);
#endif
}
}
}
...
...
@@ -1962,8 +1968,10 @@ namespace visimpl
if
(
notify
)
{
#ifdef VISIMPL_USE_GMRVLEX
const
auto
op
=
repeat
?
zeroeq
::
gmrv
::
ENABLE_LOOP
:
zeroeq
::
gmrv
::
DISABLE_LOOP
;
sendZeroEQPlaybackOperation
(
op
);
#endif
}
}
}
...
...
@@ -2019,8 +2027,9 @@ namespace visimpl
std
::
cerr
<<
"Unknown exception when sending frame. "
<<
__FILE__
<<
":"
<<
__LINE__
<<
std
::
endl
;
}
#endif
#ifdef VISIMPL_USE_GMRVLEX
sendZeroEQPlaybackOperation
(
zeroeq
::
gmrv
::
PLAY
);
#endif
}
}
...
...
@@ -2060,7 +2069,9 @@ namespace visimpl
std
::
cerr
<<
"Unknown exception when sending frame. "
<<
__FILE__
<<
":"
<<
__LINE__
<<
std
::
endl
;
}
#endif
#ifdef VISIMPL_USE_GMRVLEX
sendZeroEQPlaybackOperation
(
zeroeq
::
gmrv
::
PLAY
);
#endif
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment