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

Method clearFontFlags

bwapi/BWAPI/Source/BW/Dialog.cpp:544–553  ·  view source on GitHub ↗

------------- CLEAR FONT FLAGS ------------------

Source from the content-addressed store, hash-verified

542 }
543 // ------------- CLEAR FONT FLAGS ------------------
544 bool dialog::clearFontFlags()
545 {
546 if ( !this )
547 return false;
548
549 this->clearFlags(CTRL_FONT_SMALLEST | CTRL_FONT_SMALL | CTRL_FONT_LARGE | CTRL_FONT_LARGEST);
550 this->clearFlags(CTRL_HALIGN_LEFT | CTRL_HALIGN_RIGHT | CTRL_HALIGN_CENTER);
551 this->clearFlags(CTRL_VALIGN_TOP | CTRL_VALIGN_MIDDLE | CTRL_VALIGN_BOTTOM);
552 return true;
553 }
554// -------------------------------------------- BUTTON -------------------------------------------------------
555 // ------------------- IS BUTTON -------------------
556 bool dialog::isButton() const

Callers

nothing calls this directly

Calls 1

clearFlagsMethod · 0.95

Tested by

no test coverage detected