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

Method isList

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

-------------------------------------------- LISTBOX & COMBOBOX ------------------------------------------- ----------------------- IS LIST -----------------

Source from the content-addressed store, hash-verified

579// -------------------------------------------- LISTBOX & COMBOBOX -------------------------------------------
580 // ----------------------- IS LIST -----------------
581 bool dialog::isList() const
582 {
583 if ( !this )
584 return false;
585
586 u16 wCtrl = this->wCtrlType;
587 return wCtrl == ctrls::cCOMBO || wCtrl == ctrls::cLIST;
588 }
589 // --------------- GET SELECTED INDEX --------------
590 u8 dialog::getSelectedIndex() const
591 {

Callers 10

getSelectedIndexMethod · 0.95
getSelectedValueMethod · 0.95
getSelectedStringMethod · 0.95
setSelectedIndexMethod · 0.95
setSelectedByValueMethod · 0.95
setSelectedByStringMethod · 0.95
addListEntryMethod · 0.95
removeListEntryMethod · 0.95
clearListMethod · 0.95
getListCountMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected