From 09aeae56c9e8164e57dcadc688dba6b68f25d60b Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 7 Dec 2020 23:28:52 +0100 Subject: [PATCH] cc_frm_button: add methode clearButtonDirectKeys() Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/7c683415f7c0288304641c39051898fe8c2f51ec Author: Thilo Graf Date: 2020-12-07 (Mon, 07 Dec 2020) --- src/gui/components/cc_frm_button.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gui/components/cc_frm_button.h b/src/gui/components/cc_frm_button.h index e8d37ed0f..0fccdecf8 100644 --- a/src/gui/components/cc_frm_button.h +++ b/src/gui/components/cc_frm_button.h @@ -228,6 +228,12 @@ class CComponentsButton : public CComponentsFrmChain, public CCTextScreen return RC_NOKEY; } + /** + * Remove all defined direct keys. + * @return void + */ + void clearButtonDirectKeys(){cc_directKeys.clear();} + /** * Returns count of existant direct keys of cc_directKeys container. * @return size_t