From 4df2d62ac1be5b06269e285a788fbb6eb247328f Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 15 Nov 2022 22:43:21 +0100 Subject: [PATCH] hintbox.h: rework copy paste source doc for CLoaderHint Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/80a2feec062f10c1aa49480276ec47b01d682487 Author: Thilo Graf Date: 2022-11-15 (Tue, 15 Nov 2022) --- src/gui/widget/hintbox.h | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/gui/widget/hintbox.h b/src/gui/widget/hintbox.h index e6d422928..cea4b7abf 100644 --- a/src/gui/widget/hintbox.h +++ b/src/gui/widget/hintbox.h @@ -424,22 +424,17 @@ class CLoaderHint : public CHintBox * @param[in] Text * @li expects type const char*, this is the message text inside the window, text is UTF-8 encoded * @param[in] show_background - * @li optional: expects type bool, enable/disable backround paint, default = true + * @li optional: expects type bool, enable/disable background paint, default = true * @param[in] Picon - * @li optional: expects type std::string, defines the picon name on the left side of message text, default = NULL (non Icon)\n - * special case: If picon == NEUTRINO_ICON_LOADER, then the animated loader icon known from CHourGlass object will be painted. + * @li optional: expects type std::string, defines the picon name on the left side of message text, default = NEUTRINO_ICON_LOADER\n * @see CHourGlass() */ CLoaderHint(const char * const Text, bool show_background = true, const char * const Picon = NEUTRINO_ICON_LOADER); - /**CLoaderHint Constructor + + /**Overloaded localized CLoaderHint Constructor * @param[in] Text * @li expects type neutrino_locale_t, this is the message text inside the window, text is UTF-8 encoded - * @param[in] show_background - * @li optional: expects type bool, enable/disable backround paint, default = true - * @param[in] Picon - * @li optional: expects type std::string, defines the picon name on the left side of message text, default = NULL (non Icon)\n - * special case: If picon == NEUTRINO_ICON_LOADER, then the animated loader icon known from CHourGlass object will be painted. - * @see CHourGlass() + * @see for other parameters: CLoaderHint() */ CLoaderHint(const neutrino_locale_t Text, bool show_background = true, const char * const Picon = NEUTRINO_ICON_LOADER);