Some additional custom build opts; fix compile order issue on OSX; patch tuning label font glitch.

This commit is contained in:
Charles J. Cliffe
2017-03-20 20:20:17 -04:00
parent b0ec698012
commit ec10f2523e
6 changed files with 44 additions and 16 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ void ScopeContext::DrawTunerTitles(bool ppmMode) {
GLFont::Drawer refDrawingFont = GLFont::getFont(12, GLFont::getScaleFactor());
//better position frequency/bandwith labels according to font scale
double shiftFactor = GLFont::getScaleFactor();
double shiftFactor = GLFont::getScaleFactor()+0.5;
refDrawingFont.drawString(ppmMode?"Device PPM":"Frequency", -0.66f, -1.0 +hPos*shiftFactor, GLFont::GLFONT_ALIGN_CENTER, GLFont::GLFONT_ALIGN_CENTER, 0, 0, true);
refDrawingFont.drawString("Bandwidth", 0.0, -1.0 +hPos*shiftFactor, GLFont::GLFONT_ALIGN_CENTER, GLFont::GLFONT_ALIGN_CENTER, 0, 0, true);