Horizon
imp_layer.hpp
1 #pragma once
2 #include "imp.hpp"
3 
4 namespace horizon {
5 class ImpLayer : public ImpBase {
6 public:
7  using ImpBase::ImpBase;
8 
9 protected:
10  void construct_layer_box(bool pack = true);
11  class LayerBox *layer_box;
12  Glib::RefPtr<Glib::Binding> work_layer_binding;
13  Glib::RefPtr<Glib::Binding> layer_opacity_binding;
14  void apply_preferences() override;
15 
16  CanvasPreferences *get_canvas_preferences() override
17  {
18  return &preferences.canvas_layer;
19  }
20 
21  ~ImpLayer()
22  {
23  }
24 };
25 } // namespace horizon
horizon::CanvasPreferences
Definition: preferences.hpp:13
horizon::LayerBox
Definition: layer_box.hpp:8
horizon::ImpBase
Definition: imp.hpp:36
horizon::ImpLayer
Definition: imp_layer.hpp:5