Restore layer names.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <vector>
|
||||
#include "utils.hpp"
|
||||
#include "Drawable.hpp"
|
||||
#include "LayerInfo.hpp"
|
||||
|
||||
namespace fmri
|
||||
{
|
||||
@@ -20,14 +21,15 @@ namespace fmri
|
||||
virtual ~LayerVisualisation() = default;
|
||||
|
||||
virtual const std::vector<float>& nodePositions() const;
|
||||
|
||||
protected:
|
||||
float getAlpha() override;
|
||||
void drawLayerName() const;
|
||||
void setupLayerName(std::string_view name, LayerInfo::Type type);
|
||||
|
||||
protected:
|
||||
std::vector<float> nodePositions_;
|
||||
std::string displayName;
|
||||
|
||||
template<Ordering Order>
|
||||
void initNodePositions(size_t n, float spacing);
|
||||
float getAlpha() override;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user