gui/widget: add class CHourGlass

Provides an hourglass/snake-loader function to visualize running processes.
A template xcf-file for Gimp 2.10 is appended. Feel free to edit.
This commit is contained in:
2021-10-05 17:19:57 +02:00
parent c9efac0665
commit 6134115c63
17 changed files with 337 additions and 20 deletions

View File

@@ -434,10 +434,10 @@ int ShowHintS(const std::string &Text, int timeout = HINTBOX_DEFAULT_TIMEOUT, bo
* @li expects sigc::slot<void>
* @li example:
* @li sigc::slot<void> sl = sigc::mem_fun(g_Plugins, &CPlugins::loadPlugins);\n
* ShowHintS(LOCALE_SERVICEMENU_GETPLUGINS_HINT, 1, true, &sl);
* ShowHintS(LOCALE_SERVICEMENU_GETPLUGINS_HINT, sl, 1);
* @li or use a function with parameter(s):
* sigc::slot<void> sl = sigc::bind(sigc::mem_fun(*this, &CMyClass::foo), arg1, arg2, arg3, arg4);\n
* ShowHintS(LOCALE_SERVICEMENU_GETPLUGINS_HINT, 1, true, &sl);
* ShowHintS(LOCALE_SERVICEMENU_GETPLUGINS_HINT, sl, 1);
* @param[in] timeout
* @li optional: expects type int as seconds, default = HINTBOX_DEFAULT_TIMEOUT (get from settings)
* @param[in] show_background