--------------- GET SELECTED STRING -------------
| 605 | } |
| 606 | // --------------- GET SELECTED STRING ------------- |
| 607 | char *dialog::getSelectedString() const |
| 608 | { |
| 609 | if ( this && this->isList() && this->u.list.ppStrs && this->u.list.ppStrs[this->u.list.bCurrStr]) |
| 610 | return this->u.list.ppStrs[this->u.list.bCurrStr]; |
| 611 | return ""; |
| 612 | } |
| 613 | // -------------- SET SELECTED INDEX ----------------- |
| 614 | bool dialog::setSelectedIndex(u8 bIndex) |
| 615 | { |