From cb58c29de45408f913f26e858f171a1840a6552f Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Sat, 26 Jan 2019 16:29:15 +0900 Subject: [PATCH] Adds value member function to AutoConnectRadio --- src/AutoConnectElementBasis.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AutoConnectElementBasis.h b/src/AutoConnectElementBasis.h index 77dcc1b..c4a17ca 100644 --- a/src/AutoConnectElementBasis.h +++ b/src/AutoConnectElementBasis.h @@ -131,6 +131,7 @@ class AutoConnectRadioBasis : virtual public AutoConnectElementBasis { const String& at(const std::size_t n) const { return _values.at(n); } void check(const String& value); void empty(const size_t reserve = 0); + const String& value(void) { return checked ? _values.at(checked - 1) : String(""); } String label; /**< A label for a subsequent radio buttons */ ACArrange_t order; /**< layout order */