Mercurial > hg > svgui
diff layer/LayerFactory.h @ 53:68869408f5c7
* Restore proper channel selection support for new layers
* Use binary mode for SV file I/O on Windows
* Commands for selection
author | Chris Cannam |
---|---|
date | Wed, 15 Mar 2006 18:11:23 +0000 |
parents | f2fe98a7c57e |
children | 01ab51f72e84 |
line wrap: on
line diff
--- a/layer/LayerFactory.h Mon Mar 13 17:55:19 2006 +0000 +++ b/layer/LayerFactory.h Wed Mar 15 18:11:23 2006 +0000 @@ -49,13 +49,16 @@ LayerType getLayerType(const Layer *); - Layer *createLayer(LayerType type, int channel = -1); + Layer *createLayer(LayerType type); QString getLayerPresentationName(LayerType type); void setModel(Layer *layer, Model *model); Model *createEmptyModel(LayerType type, Model *baseModel); + int getChannel(Layer *layer); + void setChannel(Layer *layer, int channel); + QString getLayerIconName(LayerType); QString getLayerTypeName(LayerType); LayerType getLayerTypeForName(QString);