Horizon
imp_frame.hpp
1 #pragma once
2 #include "imp.hpp"
3 #include "core/core_frame.hpp"
4 
5 namespace horizon {
6 class ImpFrame : public ImpBase {
7 public:
8  ImpFrame(const std::string &frame_filename, const std::string &pool_path);
9 
10 protected:
11  void construct() override;
12 
13  ActionCatalogItem::Availability get_editor_type_for_action() const override
14  {
15  return ActionCatalogItem::AVAILABLE_IN_FRAME;
16  };
17 
18 private:
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 } // namespace horizon
horizon::HeaderButton
Definition: header_button.hpp:5
horizon::CoreFrame
Definition: core_frame.hpp:8
horizon::ImpFrame
Definition: imp_frame.hpp:6
horizon::Frame
Definition: frame.hpp:21
horizon::ImpBase
Definition: imp.hpp:37