From e43c01bd11560561daa771463c57442c3b8a761d Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 12 Aug 2025 23:04:05 -0400 Subject: Integrate Macondo into move chooser --- quacker/quacker.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'quacker/quacker.h') diff --git a/quacker/quacker.h b/quacker/quacker.h index cb47023..b9a9602 100644 --- a/quacker/quacker.h +++ b/quacker/quacker.h @@ -66,6 +66,7 @@ class BaseView; class HistoryView; class Letterbox; class ListerDialog; +class MoveBox; class QuackerSettings; class Settings; class SimViewer; @@ -200,10 +201,6 @@ protected slots: // update *positional* views - emit positionChanged void updatePositionViews(); - // updates move views from either simulation results if available - // or kibitzed moves - void updateMoveViews(); - // update history views when a new position is added void updateHistoryViews(); @@ -232,6 +229,11 @@ protected slots: void startBirthday(); void birthdayBash(); void birthdayGram(int index, bool on); +public slots: + // updates move views from either provided list, + // or simulation results if available, + // or kibitzed moves + void updateMoveViews(const Quackle::MoveList *list = nullptr); signals: // emitted when views (eg board) should update based on the @@ -321,7 +323,7 @@ private: HistoryView *m_dashboard; QWidget *m_choicesWidget; - View *m_moveBox; + MoveBox *m_moveBox; View *m_noteEditor; QFrame *m_frameWidget; -- cgit v1.2.3