cleanup of choice

This commit is contained in:
kkoenig1@optonline.com
2022-06-11 15:13:11 +02:00
committed by Raphael Coeffic
parent 3486480f36
commit 157b423243
2 changed files with 0 additions and 20 deletions
-18
View File
@@ -167,24 +167,6 @@ void Choice::setValues(const char * const values[])
}
}
void Choice::paint(BitmapBuffer * dc)
{
// FormField::paint(dc);
// auto val = getValue();
// std::string str = "";
// if (textHandler) {
// str = textHandler(val);
// } else {
// val -= vmin;
// if (val >= 0 && val < (int)values.size()) {
// str = values[val];
// }
// }
// theme->drawChoice(dc, this, str.c_str());
}
#if defined(HARDWARE_KEYS)
void Choice::onEvent(event_t event)
{
-2
View File
@@ -68,8 +68,6 @@ class Choice: public ChoiceBase {
}
#endif
void paint(BitmapBuffer * dc) override;
#if defined(HARDWARE_KEYS)
void onEvent(event_t event) override;
#endif