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

Method displayText

source/modes/EditorMode.cpp:1003–1008  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1001}
1002
1003void EditorMode::displayText(const Ogre::ColourValue& txtColour, const std::string& txt)
1004{
1005 TextRenderer& textRenderer = TextRenderer::getSingleton();
1006 textRenderer.setColor(ODApplication::POINTER_INFO_STRING, txtColour);
1007 textRenderer.setText(ODApplication::POINTER_INFO_STRING, txt);
1008}
1009
1010void EditorMode::checkInputCommand()
1011{

Callers

nothing calls this directly

Calls 2

setColorMethod · 0.80
setTextMethod · 0.80

Tested by

no test coverage detected