Horizon
Loading...
Searching...
No Matches
imp_decal.hpp
1#pragma once
2#include "imp_layer.hpp"
3#include "core/core_decal.hpp"
4
5namespace horizon {
6class ImpDecal : public ImpLayer {
7public:
8 ImpDecal(const std::string &decal_filename, const std::string &pool_path, TempMode temp_mode);
9
10protected:
11 void construct() override;
12
13 ActionCatalogItem::Availability get_editor_type_for_action() const override
14 {
15 return ActionCatalogItem::AVAILABLE_IN_DECAL;
16 };
17
18 std::map<ObjectType, SelectionFilterInfo> get_selection_filter_info() const override;
19 void load_default_layers() override;
20
21private:
22 void canvas_update() override;
23 CoreDecal core_decal;
24 Decal &decal;
25
26 class HeaderButton *header_button = nullptr;
27 Gtk::Entry *name_entry = nullptr;
28
29 void update_header();
30
31 bool set_filename() override;
32};
33} // namespace horizon
Definition core_decal.hpp:8
Definition decal.hpp:16
Definition header_button.hpp:5
Definition imp_decal.hpp:6
Definition imp_layer.hpp:5