Krita/docs/Icons API Roadmap: Difference between revisions
Appearance
Line 2: | Line 2: | ||
# Remove all <syntaxhighlight lang="cpp"> #include <KoIcon.h></syntaxhighlight> and put <syntaxhighlight lang="cpp"> #include <kis_icon_utils.h></syntaxhighlight> instead. | # Remove all <syntaxhighlight lang="cpp"> #include <KoIcon.h></syntaxhighlight> and put <syntaxhighlight lang="cpp"> #include <kis_icon_utils.h></syntaxhighlight> instead. | ||
# Substitute all <syntaxhighlight lang="cpp">koIcon(), | # Substitute all <syntaxhighlight lang="cpp">koIcon(), themedIcon()</syntaxhighlight> calls with <syntaxhighlight lang="cpp">KisIconUtils::loadIcon("<icon_name>")</syntaxhighlight> |
Latest revision as of 12:36, 10 August 2015
Krita Icons API Roadmap
- Remove all and put
#include <KoIcon.h>
instead.#include <kis_icon_utils.h>
- Substitute all calls with
koIcon(), themedIcon()
KisIconUtils::loadIcon("<icon_name>")