@@ -75,7 +75,7 @@ void SystemMonitor::init(FontsManager* const pFonts, const std::string & product
75
75
hostname[HOST_NAME_MAX-1 ] = ' \0 ' ;
76
76
host.assign (hostname);
77
77
}
78
- this ->writeStringOnLastFrame (pFonts, FontID::MONOSPACE85, host, 16 , 1 );
78
+ this ->writeStringOnLastPBMFrame (pFonts, FontID::MONOSPACE85, host, 16 , 1 );
79
79
80
80
LCDPlugin::init (pFonts, product);
81
81
}
@@ -86,7 +86,7 @@ const PBMDataArray & SystemMonitor::getNextPBMFrame(
86
86
const bool lockedPlugin
87
87
)
88
88
{
89
- this ->drawPadlockOnFrame (lockedPlugin);
89
+ this ->drawPadlockOnPBMFrame (lockedPlugin);
90
90
91
91
/* -- -- -- */
92
92
std::string usedPhysicalMemory (" " );
@@ -168,7 +168,7 @@ const PBMDataArray & SystemMonitor::getNextPBMFrame(
168
168
uint16_t usedMem = static_cast <uint16_t >(freeMem);
169
169
usedMem = 100 - usedMem;
170
170
171
- this ->drawProgressBarOnFrame (usedMem, 24 , 33 );
171
+ this ->drawProgressBarOnPBMFrame (usedMem, 24 , 33 );
172
172
usedPhysicalMemory = getPaddedPercentString (usedMem);
173
173
}
174
174
@@ -188,7 +188,7 @@ const PBMDataArray & SystemMonitor::getNextPBMFrame(
188
188
std::fesetround (FE_TONEAREST);
189
189
cpuPercentTotal = std::nearbyint (cpuPercentTotal);
190
190
191
- this ->drawProgressBarOnFrame (cpuPercentTotal, 24 , 15 );
191
+ this ->drawProgressBarOnPBMFrame (cpuPercentTotal, 24 , 15 );
192
192
usedCPUActiveTotal = getPaddedPercentString (cpuPercentTotal);
193
193
194
194
_snapshot1 = s2;
@@ -248,9 +248,9 @@ const PBMDataArray & SystemMonitor::getNextPBMFrame(
248
248
249
249
/* percent - max 5 chars */
250
250
/* net rate - max 12 chars */
251
- this ->writeStringOnFrame (pFonts, FontID::MONOSPACE85, usedCPUActiveTotal, PERC_POS_X, 14 );
252
- this ->writeStringOnFrame (pFonts, FontID::MONOSPACE85, paddedRateString, NET_POS_X, 23 );
253
- this ->writeStringOnFrame (pFonts, FontID::MONOSPACE85, usedPhysicalMemory, PERC_POS_X, 32 );
251
+ this ->writeStringOnPBMFrame (pFonts, FontID::MONOSPACE85, usedCPUActiveTotal, PERC_POS_X, 14 );
252
+ this ->writeStringOnPBMFrame (pFonts, FontID::MONOSPACE85, paddedRateString, NET_POS_X, 23 );
253
+ this ->writeStringOnPBMFrame (pFonts, FontID::MONOSPACE85, usedPhysicalMemory, PERC_POS_X, 32 );
254
254
255
255
return LCDPlugin::getCurrentPBMFrame ();
256
256
}
0 commit comments