Mercurial > hg > fxanalyse
comparison FXAnalyse.c @ 130:934843ee4434
Minor user interface tweaks
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Tue, 17 Dec 2013 15:34:15 +0100 |
parents | 24db0c2d5219 |
children | fbd72d87b4dc |
comparison
equal
deleted
inserted
replaced
129:24db0c2d5219 | 130:934843ee4434 |
---|---|
672 | 672 |
673 // update display. numeric controllers do not format values | 673 // update display. numeric controllers do not format values |
674 // with a thousands separator: use string controllers and a | 674 // with a thousands separator: use string controllers and a |
675 // custom formatting function | 675 // custom formatting function |
676 char buffer[256]; | 676 char buffer[256]; |
677 SetCtrlVal(MainPanel,PANEL_MATH1, thousands(buffer, sizeof(buffer), "%.3f", Math1)); | 677 SetCtrlVal(MainPanel,PANEL_MATH1, thousands(buffer, sizeof(buffer), "%.6f", Math1)); |
678 SetCtrlVal(MainPanel,PANEL_MATH2, thousands(buffer, sizeof(buffer), "%.3f", Math2)); | 678 SetCtrlVal(MainPanel,PANEL_MATH2, thousands(buffer, sizeof(buffer), "%.3f", Math2)); |
679 SetCtrlVal(MainPanel,PANEL_MATH3, thousands(buffer, sizeof(buffer), "%.3f", Math3)); | 679 SetCtrlVal(MainPanel,PANEL_MATH3, thousands(buffer, sizeof(buffer), "%.3f", Math3)); |
680 SetCtrlVal(MainPanel,PANEL_MATH4, thousands(buffer, sizeof(buffer), "%.3f", Math4)); | 680 SetCtrlVal(MainPanel,PANEL_MATH4, thousands(buffer, sizeof(buffer), "%.3f", Math4)); |
681 SetCtrlVal(MainPanel,PANEL_MATH5, thousands(buffer, sizeof(buffer), "%.3f", Math5)); | 681 SetCtrlVal(MainPanel,PANEL_MATH5, thousands(buffer, sizeof(buffer), "%.3f", Math5)); |
682 | 682 |