mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 09:33:25 -08:00
[Replay] Show the history sidebar in replay tabs (#7613)
Add the Game History dock to the left of replay tabs, wire it to the replay timeline, and register it with the View menu and layout reset. Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
fc27cb7a59
commit
7b4827dadd
5 changed files with 61 additions and 2 deletions
|
|
@ -19,6 +19,11 @@
|
|||
|
||||
class GameReplay;
|
||||
|
||||
int ReplayWidget::getLastProcessedEventIndex() const
|
||||
{
|
||||
return replayManager->getLastProcessedEventIndex();
|
||||
}
|
||||
|
||||
ReplayWidget::ReplayWidget(QWidget *parent, GameReplay *replay)
|
||||
: QWidget(parent), replayPlayButton(nullptr), replayFastForwardButton(nullptr), aReplaySkipForward(nullptr),
|
||||
aReplaySkipBackward(nullptr), aReplaySkipForwardBig(nullptr), aReplaySkipBackwardBig(nullptr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue