From 806cf7d8b4985d3a1df6c71def6b60cffaeaa268 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 7 Nov 2022 21:21:38 +0100 Subject: [PATCH] hintbox.h: rework copy paste source doc for CLoaderHint --- 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 0737fc2cd..c16ad2020 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);