Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of el17ajf by
Menus/OptionsMenu/OptionsMenu.cpp
- Committer:
- el17ajf
- Date:
- 2019-04-03
- Revision:
- 21:62d2b5b73160
- Parent:
- OptionsMenu.cpp@ 20:cd96f98f5f79
- Child:
- 26:baa7077449e7
File content as of revision 21:62d2b5b73160:
#include "OptionsMenu.h"
#include "Menu.h"
#include "Prefs.h"
void Menus::OptionsMenu::updateAndDraw(UI * ui) {
ui->drawLabel("options");
ui->newLine();
if (ui->drawAndCheckButton("clear all")) {
Prefs::getInstance()->resetAll();
close();
}
ui->newLine();
if (ui->drawAndCheckButton("back")) {
close();
}
}
