summaryrefslogtreecommitdiff
path: root/quacker/quacker.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-08-12 23:04:05 -0400
committerpommicket <pommicket@gmail.com>2025-08-12 23:04:05 -0400
commite43c01bd11560561daa771463c57442c3b8a761d (patch)
treea040ea23eaf10d8a7362f523777a8b61e8b55041 /quacker/quacker.h
parenta1a21037c465a1a01b2ca13b70f89becfc93546e (diff)
Integrate Macondo into move chooser
Diffstat (limited to 'quacker/quacker.h')
-rw-r--r--quacker/quacker.h12
1 files changed, 7 insertions, 5 deletions
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;