#include "guilib/GraphicContext.h"
#include "guilib/Texture.h"
#include "windowing/X11/XRandR.h"
+#include "utils/StringUtils.h"
#include <vector>
using namespace std;
CLog::Log(LOGINFO, "Pixel Ratio: %f", res.fPixelRatio);
- res.strMode.Format("%s: %s @ %.2fHz", out.name.c_str(), mode.name.c_str(), mode.hz);
+ res.strMode = StringUtils::Format("%s: %s @ %.2fHz", out.name.c_str(), mode.name.c_str(), mode.hz);
res.strOutput = out.name;
res.strId = mode.id;
res.iSubtitles = (int)(0.95*mode.h);