Tweaks to maintab

Align statistics tab labels as per infotab.

Amend helper function to show degree symbol for temp measurements.

Change order of member initialisation list to match order of decl
(ProfileGraphicsView::ProfileGraphicsView)

Signed-off-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Amit Chaudhuri 2013-05-10 23:56:05 +01:00 committed by Dirk Hohndel
parent 1245c232db
commit 97a044d41f
4 changed files with 20 additions and 4 deletions

View file

@ -263,7 +263,7 @@ int get_cylinder_pressure_range(struct graphics_context *gc)
return FALSE;
while (gc->pi.endtempcoord <= SCALEY(gc, gc->pi.minpressure - (gc->topy) * 0.1))
gc->bottomy -= gc->topy * 0.1;
gc->bottomy -= gc->topy * 0.1 * gc->maxy/abs(gc->maxy);
return TRUE;
}