mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-08 19:13:25 -08:00
[Replay] Show the history sidebar in replay tabs
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.
This commit is contained in:
parent
bd4bc62dfd
commit
733d2a2739
5 changed files with 61 additions and 2 deletions
|
|
@ -38,6 +38,11 @@ public:
|
|||
|
||||
[[nodiscard]] const QList<int> &getReplayTimeline() const;
|
||||
|
||||
/**
|
||||
* @brief Index of the last replay event the game state has processed, or -1 before the first event.
|
||||
*/
|
||||
[[nodiscard]] int getLastProcessedEventIndex() const;
|
||||
|
||||
public slots:
|
||||
void seekToEvent(int eventIndex);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue