Difference between revisions of "Krita/docs/Icons API Roadmap"

< Krita‎ | docs
Jump to: navigation, search
(Created page with "= Krita Icons API Roadmap = # Remove all <syntaxhighlight lang="cpp"> #include <KoIcon.h></syntaxhighlight> and put <syntaxhighlight lang="cpp"> #include <kis_icon_utils.h></...")
 
(Krita Icons API Roadmap)
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()</syntaxhighlight> and <syntaxhighlight lang="cpp">kthemedIcon()</syntaxhighlight> calls with <syntaxhighlight lang="cpp">KisIconUtils::loadIcon("<icon_name>")</syntaxhighlight>
+
# Substitute all <syntaxhighlight lang="cpp">koIcon(), kthemedIcon()</syntaxhighlight> calls with <syntaxhighlight lang="cpp">KisIconUtils::loadIcon("<icon_name>")</syntaxhighlight>

Revision as of 12:36, 10 August 2015

Krita Icons API Roadmap

  1. Remove all
     #include <KoIcon.h>
    
    and put
     #include <kis_icon_utils.h>
    
    instead.
  2. Substitute all
    koIcon(), kthemedIcon()
    
    calls with
    KisIconUtils::loadIcon("<icon_name>")
    

Content is available under Creative Commons License SA 4.0 unless otherwise noted.