Ticket #2418: TrackerSettingsWindow.cpp.diff
File TrackerSettingsWindow.cpp.diff, 620 bytes (added by , 16 years ago) |
---|
-
TrackerSettingsWindow.cpp
364 364 else 365 365 owner->SetHighColor(kBlack); 366 366 367 owner->MovePenTo(rect.left + 4, rect.bottom - 2); 367 font_height fontHeight; 368 owner->GetFontHeight(&fontHeight); 369 float space = rect.Height() - (fontHeight.ascent + fontHeight.descent + fontHeight.leading); 368 370 371 owner->MovePenTo(rect.left + 4, rect.top + (space / 2) + fontHeight.ascent); 369 372 owner->DrawString(Text()); 370 373 371 374 owner->SetHighColor(kBlack);