MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / updateFlagColor

Method updateFlagColor

source/modes/EditorMode.cpp:963–968  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

961}
962
963void EditorMode::updateFlagColor()
964{
965 std::string colorStr = Helper::getImageColoursStringFromColourValue(
966 mGameMap->getSeatById(getModeManager().getInputManager().mSeatIdSelected)->getColorValue());
967 mRootWindow->getChild("HorizontalPipe/SeatIdDisplay/Icon")->setProperty("ImageColours", colorStr);
968}
969
970void EditorMode::selectSquaredTiles(int tileX1, int tileY1, int tileX2, int tileY2)
971{

Callers

nothing calls this directly

Calls 2

getSeatByIdMethod · 0.80

Tested by

no test coverage detected