| | 114 | |
| | 115 | The 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 | |
| | 119 | As mentioned early an icon will be created by composing it from several images.[[BR]] |
| | 120 | Click '''New''' to create a new key with the following data. |
| | 121 | |
| | 122 | {{{ |
| | 123 | Key name: OverlayImage |
| | 124 | Data: apps\kcmsound.png |
| | 125 | }}} |
| | 126 | |
| | 127 | Repainting the preview does not show any effect. So what's missing? |
| | 128 | |
| | 129 | The 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 | |
| | 131 | Create another key: |
| | 132 | |
| | 133 | {{{ |
| | 134 | Key name: CairoCommands |
| | 135 | Data: <ctxt>save</><scale>0.01 0.01</><imgkey>OverlayImage # 1</><ctxt>restore</> |
| | 136 | }}} |
| | 137 | |