27 lines
519 B
C++
27 lines
519 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
class NodePanelBrush;
|
|
|
|
namespace pp::panopainter {
|
|
|
|
class LegacyBrushPanelServices final {
|
|
public:
|
|
explicit LegacyBrushPanelServices(NodePanelBrush& panel) noexcept;
|
|
|
|
int find_brush(const std::string& name) const;
|
|
std::string get_texture_path(int index) const;
|
|
std::string get_thumb_path(int index) const;
|
|
bool save();
|
|
bool restore();
|
|
void clear();
|
|
void scan();
|
|
void reload();
|
|
|
|
private:
|
|
NodePanelBrush& panel_;
|
|
};
|
|
|
|
} // namespace pp::panopainter
|