KMeleonWiki > Resources > MacroLibrary > Close layer button
Submitted by: Marc
Notes:
The code here adds a new toolbar with 2 buttons. One for opening a new layer, and another to close the active layer.
In Macros:
close_layer {
plugin(layers,Close);
}
In Toolbars:
Layer Buttons {
# remove this button information if you only need a "close layer" button.
New_Layer? {
layers(Open)
New Layer
# you can choose any icon
layers.bmp
layers.bmp
layers.bmp
}
Close_Layer? {
macros(close_layer)
Close Layer
layersx.bmp
layersx.bmp
layersx.bmp
}
}
Download the layersx.bmp here and extract it to your skins default folder.
User Comments: