MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / resize

Method resize

src/Menu/OptionsVideoState.cpp:554–563  ·  view source on GitHub ↗

* Updates the scale. * @param dX delta of X; * @param dY delta of Y; */

Source from the content-addressed store, hash-verified

552 * @param dY delta of Y;
553 */
554void OptionsVideoState::resize(int &dX, int &dY)
555{
556 OptionsBaseState::resize(dX, dY);
557 std::wostringstream ss;
558 ss << Options::displayWidth;
559 _txtDisplayWidth->setText(ss.str());
560 ss.str(L"");
561 ss << Options::displayHeight;
562 _txtDisplayHeight->setText(ss.str());
563}
564
565/**
566 * Takes care of any events from the core game engine.

Callers

nothing calls this directly

Calls 1

setTextMethod · 0.45

Tested by

no test coverage detected