settings accept button
| 11221 | |
| 11222 | // settings accept button |
| 11223 | void buttonSettingsAccept(button_t* my) |
| 11224 | { |
| 11225 | applySettings(); |
| 11226 | |
| 11227 | if ( resolutionChanged ) |
| 11228 | { |
| 11229 | buttonCloseSettingsSubwindow(my); |
| 11230 | resolutionChanged = false; |
| 11231 | list_FreeAll(&button_l); |
| 11232 | deleteallbuttons = true; |
| 11233 | openConfirmResolutionWindow(); |
| 11234 | } |
| 11235 | else |
| 11236 | { |
| 11237 | // we need to reposition the settings window now. |
| 11238 | buttonCloseSubwindow(my); |
| 11239 | list_FreeAll(&button_l); |
| 11240 | deleteallbuttons = true; |
| 11241 | openSettingsWindow(); |
| 11242 | } |
| 11243 | } |
| 11244 | |
| 11245 | // settings okay button |
| 11246 | void buttonSettingsOK(button_t* my) |
no test coverage detected