Changes between Version 5 and Version 6 of IconTutorial


Ignore:
Timestamp:
Dec 28, 2007, 11:43:39 PM (17 years ago)
Author:
cinc
Comment:

More icon tutorial

Legend:

Unmodified
Added
Removed
Modified
  • IconTutorial

    v5 v6  
    112112
    113113[[Image(source:/icon_tutorial/icon_editor.png, nolink)]]
     114
     115The editor is basically a specialized ini file editor with a preview function for the images. On the left you have a listbox with the currently defined keys, the bottom text field shows the data associated with the selected key and on the right you find a preview area. Pressing the '''Repaint''' button will take the provided data from the keys and create the preview image.
     116
     117=== Adding an overlay image ===
     118
     119As mentioned early an icon will be created by composing it from several images.[[BR]]
     120Click '''New''' to create a new key with the following data.
     121
     122{{{
     123   Key name:             OverlayImage
     124   Data:                 apps\kcmsound.png 
     125}}}
     126
     127Repainting the preview does not show any effect. So what's missing?
     128
     129The icon engine uses paint commands describing the shape of the resulting icon which are interpreted during icon loading. Up to now no such commands are specified.
     130
     131Create another key:
     132
     133{{{
     134   Key name:             CairoCommands
     135   Data:                 <ctxt>save</><scale>0.01 0.01</><imgkey>OverlayImage # 1</><ctxt>restore</> 
     136}}}
     137