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

Method setHeight

src/Engine/Surface.cpp:906–910  ·  view source on GitHub ↗

* Changes the height of the surface. * @warning This is not a trivial setter! * It will force the surface to be recreated for the new size. * @param height New height in pixels. */

Source from the content-addressed store, hash-verified

904 * @param height New height in pixels.
905 */
906void Surface::setHeight(int height)
907{
908 resize(getWidth(), height);
909 _redraw = true;
910}
911
912}

Callers 2

resizeMethod · 0.45
resizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected