| 187 | } |
| 188 | |
| 189 | int GuiSaveBrowser::GetClickedSave() |
| 190 | { |
| 191 | int found = -3; |
| 192 | for(int i=0; i<SAVELISTSIZE; i++) |
| 193 | { |
| 194 | if(saveBtn[i]->GetState() == STATE_CLICKED) |
| 195 | { |
| 196 | saveBtn[i]->SetState(STATE_SELECTED); |
| 197 | found = listOffset+i; |
| 198 | break; |
| 199 | } |
| 200 | } |
| 201 | return found; |
| 202 | } |
| 203 | |
| 204 | /** |
| 205 | * Draw the button on screen |
no test coverage detected