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

Method isButton

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

-------------------------------------------- BUTTON ------------------------------------------------------- ------------------- IS BUTTON -------------------

Source from the content-addressed store, hash-verified

554// -------------------------------------------- BUTTON -------------------------------------------------------
555 // ------------------- IS BUTTON -------------------
556 bool dialog::isButton() const
557 {
558 if ( !this )
559 return false;
560
561 u16 wCtrl = this->wCtrlType;
562 return wCtrl == ctrls::cBUTTON || wCtrl == ctrls::cDFLTBTN || wCtrl == ctrls::cFLCBTN;
563 }
564// -------------------------------------------- CHECKBOX & OPTION --------------------------------------------
565 // ------------------- IS CHECKBOX -----------------
566 bool dialog::isOption() const

Callers 1

getHotkeyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected