From 157b42324324cefb0454fb7f65db3ab50d5ed386 Mon Sep 17 00:00:00 2001 From: "kkoenig1@optonline.com" Date: Wed, 9 Feb 2022 08:06:04 -0500 Subject: [PATCH] cleanup of choice --- radio/src/thirdparty/libopenui/src/choice.cpp | 18 ------------------ radio/src/thirdparty/libopenui/src/choice.h | 2 -- 2 files changed, 20 deletions(-) diff --git a/radio/src/thirdparty/libopenui/src/choice.cpp b/radio/src/thirdparty/libopenui/src/choice.cpp index f1d83e1c7..fdcdaac93 100644 --- a/radio/src/thirdparty/libopenui/src/choice.cpp +++ b/radio/src/thirdparty/libopenui/src/choice.cpp @@ -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) { diff --git a/radio/src/thirdparty/libopenui/src/choice.h b/radio/src/thirdparty/libopenui/src/choice.h index 1406747b4..710990572 100644 --- a/radio/src/thirdparty/libopenui/src/choice.h +++ b/radio/src/thirdparty/libopenui/src/choice.h @@ -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