cleanup of choice
This commit is contained in:
committed by
Raphael Coeffic
parent
3486480f36
commit
157b423243
-18
@@ -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)
|
#if defined(HARDWARE_KEYS)
|
||||||
void Choice::onEvent(event_t event)
|
void Choice::onEvent(event_t event)
|
||||||
{
|
{
|
||||||
|
|||||||
-2
@@ -68,8 +68,6 @@ class Choice: public ChoiceBase {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void paint(BitmapBuffer * dc) override;
|
|
||||||
|
|
||||||
#if defined(HARDWARE_KEYS)
|
#if defined(HARDWARE_KEYS)
|
||||||
void onEvent(event_t event) override;
|
void onEvent(event_t event) override;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user