comparison layer/Layer.h @ 1480:232262e38051 by-id

Update for changes to PlayParameters
author Chris Cannam
date Thu, 04 Jul 2019 18:04:44 +0100
parents 11a150e65ee1
children e540aa5d89cd
comparison
equal deleted inserted replaced
1479:9bf8aa2916e9 1480:232262e38051
409 * Return whether the layer is dormant (i.e. hidden) in the given 409 * Return whether the layer is dormant (i.e. hidden) in the given
410 * view. 410 * view.
411 */ 411 */
412 virtual bool isLayerDormant(const LayerGeometryProvider *v) const; 412 virtual bool isLayerDormant(const LayerGeometryProvider *v) const;
413 413
414 PlayParameters *getPlayParameters() override; 414 /**
415 * Return the play parameters for this layer, if any. The return
416 * value is a shared_ptr that can be passed to (e.g.)
417 * PlayParameterRepository::EditCommand to change the parameters.
418 */
419 std::shared_ptr<PlayParameters> getPlayParameters() override;
415 420
416 /** 421 /**
417 * True if this layer will need to place text labels when it is 422 * True if this layer will need to place text labels when it is
418 * painted. The view will take into account how many layers are 423 * painted. The view will take into account how many layers are
419 * requesting this, and will provide a distinct y-coord to each 424 * requesting this, and will provide a distinct y-coord to each