From 45819c1dc206b173a6a7bf5e00971624bebbe8fb Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 11 Nov 2010 20:30:43 +0000 Subject: added localcontrol->radius() to devinfo widget --- src/client/infowidget.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/client') diff --git a/src/client/infowidget.cc b/src/client/infowidget.cc index c4c85a1..9340627 100644 --- a/src/client/infowidget.cc +++ b/src/client/infowidget.cc @@ -58,11 +58,13 @@ void DevInfoWidget::draw() textstream << '\n'; if (core::localcontrol()) { - textstream << std::fixed << std::setprecision(2) - << "^Nx ^B" << core::localcontrol()->location().x() << " " - << "^Ny ^B" << core::localcontrol()->location().y() << " " - << "^Nz ^B" << core::localcontrol()->location().z() << '\n'; - + textstream << "^Nx,y,z ^B" << std::fixed << std::setprecision(2) + << core::localcontrol()->location().x() << ", " + << core::localcontrol()->location().y() << ", " + << core::localcontrol()->location().z() << '\n'; + + textstream << "^Nradius ^B" << core::localcontrol()->radius() << '\n'; + textstream << "^Nthurst ^B" << core::localcontrol()->thrust() << " " << "^Nspeed ^B" << core::localcontrol()->speed() << '\n'; -- cgit v1.2.3