Horizon
Loading...
Searching...
No Matches
imp_frame.hpp
1#pragma once
2#include "imp.hpp"
3#include "core/core_frame.hpp"
4
5namespace horizon {
6class ImpFrame : public ImpBase {
7public:
8 ImpFrame(const std::string &frame_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_FRAME;
16 };
17
18private:
19 void canvas_update() override;
20 CoreFrame core_frame;
21 Frame &frame;
22
23 class HeaderButton *header_button = nullptr;
24 Gtk::Entry *name_entry = nullptr;
25
26 void update_header();
27
28 bool set_filename() override;
29};
30} // namespace horizon
Definition core_frame.hpp:8
Definition frame.hpp:18
Definition header_button.hpp:5
Definition imp.hpp:36
Definition imp_frame.hpp:6