}
else
{
- VConnect* vconnect = new VConnect(); // FIXME never deleted?
+ VConnect* vconnect = new VConnect(); // Deleted when VConnect messages Control, and is boxstack->remove()'d
boxstack->add(vconnect);
vconnect->run();
}
-
- // FIXME Input::NA_SIGNAL is possibly obsolete now
-
std::unique_lock<std::mutex> lockWrapper(messageQueueMutex); // locks. unlocks on out-of-scope
inputMan->start();
const static UCHAR NA_LEARN = 101;
const static UCHAR NA_NONE = 98;
const static UCHAR NA_UNKNOWN = 99;
- const static UCHAR NA_SIGNAL = 100;
// Problem common buttons
const static UCHAR VOLUMEUP = 16;
int topOption = sl.getTopOption() + 1;
if (sl.getNumOptions() == 0) topOption = 0;
+ rectangle(220, 385, 160, 25, DrawStyle::VIEWBACKGROUND);
+
char showing[200];
sprintf(showing, tr("%i to %i of %i"), topOption, sl.getBottomOption(), sl.getNumOptions());
-#ifndef GRADIENT_DRAWING
- rectangle(220, 385,160, 25, DrawStyle::VIEWBACKGROUND);
-#endif
drawText(showing, 220, 385, DrawStyle::LIGHTTEXT);
+
+ /*
+ * The following would work but the translation files need changing to {} instead of %i
+ * This is server side and so requires a server version bump breaking compatibility with older clients
+ * Maybe this will happen for v0.6 ?
+ *
+ * drawText(
+ * fmt::format(tr("%i to %i of %i"), topOption, sl.getBottomOption(), sl.getNumOptions()).c_str(),
+ * 220, 385, DrawStyle::LIGHTTEXT);
+ *
+ */
}
void VChannelList::quickUpdate() { //only quick for plattform that need it!