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

Method getHotkey

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

------------------ GET HOTKEY -------------------

Source from the content-addressed store, hash-verified

373 }
374 // ------------------ GET HOTKEY -------------------
375 int dialog::getHotkey() const
376 {
377 if ( this && this->pszText && this->isButton() )
378 return toupper(this->pszText[0]);
379 return 0;
380 }
381 // ------------------ SRC BUFFER -------------------
382 BW::Bitmap *dialog::getSourceBuffer()
383 {

Callers 1

pressDialogKeyMethod · 0.80

Calls 1

isButtonMethod · 0.95

Tested by

no test coverage detected