From 81108c1b0fa8f710ff7417476c10c83e70ae7a15 Mon Sep 17 00:00:00 2001 From: ccolin Date: Mon, 4 Jan 2021 15:09:38 +0100 Subject: properly honor default values of sphere radius and speed limit --- src/settings_pane.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/settings_pane.hh') diff --git a/src/settings_pane.hh b/src/settings_pane.hh index 8b92690..49fd194 100644 --- a/src/settings_pane.hh +++ b/src/settings_pane.hh @@ -22,9 +22,13 @@ class SettingsPane : public QWidget { QListWidget *collisions = nullptr; QListWidget *speeding_violations = nullptr; + double sphere_radius = .6; + double speed_limit = .5; public: SettingsPane(QWidget *parent=nullptr); + double getSphereRadius() const; + double getSpeedLimit() const; public slots: void addCollision(int idA, int idB, int frame); -- cgit v1.2.3-70-g09d2