| 1100 | } |
| 1101 | |
| 1102 | wxFont MeterPanel::GetFont() const |
| 1103 | { |
| 1104 | int fontSize = 10; |
| 1105 | #if defined(__WXMSW__) |
| 1106 | fontSize = 8; |
| 1107 | #elif defined(__WXGTK__) |
| 1108 | auto defaultFont = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT); |
| 1109 | fontSize = defaultFont.GetPointSize() - 2; |
| 1110 | #endif |
| 1111 | |
| 1112 | return wxFont(fontSize, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL); |
| 1113 | } |
| 1114 | |
| 1115 | void MeterPanel::ResetBar(MeterBar *b, bool resetClipping) |
| 1116 | { |
no outgoing calls
no test coverage detected