MCPcopy Create free account
hub / github.com/bwapi/bwapi / setTextSize

Method setTextSize

bwapi/BWAPIClient/Source/GameImpl.cpp:772–778  ·  view source on GitHub ↗

---------------------------------------------- SET TEXT SIZE ---------------------------------------------

Source from the content-addressed store, hash-verified

770
771 //---------------------------------------------- SET TEXT SIZE ---------------------------------------------
772 void GameImpl::setTextSize(Text::Size::Enum size)
773 {
774 // Clamp to valid size
775 if ( size < Text::Size::Small ) size = Text::Size::Small;
776 if ( size > Text::Size::Huge ) size = Text::Size::Huge;
777 textSize = size;
778 }
779 //-------------------------------------------------- DRAW TEXT ---------------------------------------------
780 void GameImpl::vDrawText(CoordinateType::Enum ctype, int x, int y, const char *format, va_list arg)
781 {

Callers 1

showDebugMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected