MCPcopy Create free account
hub / github.com/chrxh/alien / createVideoModeString

Function createVideoModeString

source/Gui/DisplaySettingsDialog.cpp:125–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123namespace
124{
125 std::string createVideoModeString(GLFWvidmode const& videoMode)
126 {
127 std::stringstream ss;
128 ss << videoMode.width << " x " << videoMode.height << " @ " << videoMode.refreshRate << "Hz";
129 return ss.str();
130 }
131}
132
133std::vector<std::string> DisplaySettingsDialog::createVideoModeStrings() const

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected