Horizon
symbol_preview_expand_window.hpp
1 #pragma once
2 #include "util/placement.hpp"
3 #include "util/uuid.hpp"
4 #include "util/changeable.hpp"
5 #include "util/window_state_store.hpp"
6 #include <gtkmm.h>
7 
8 namespace horizon {
9 class SymbolPreviewExpandWindow : public Gtk::Window {
10 public:
11  SymbolPreviewExpandWindow(Gtk::Window *parent, const class Symbol &sym);
12  void update();
13  void set_canvas_appearance(const class Appearance &a);
14  void zoom_to_fit();
15 
16 private:
17  const class Symbol &sym;
18  class CanvasGL *canvas = nullptr;
19  Gtk::SpinButton *sp_expand = nullptr;
20  Gtk::Box *box2 = nullptr;
21 
22  WindowStateStore state_store;
23 };
24 } // namespace horizon
Definition: appearance.hpp:7
Definition: canvas_gl.hpp:18
Definition: symbol_preview_expand_window.hpp:9
Definition: symbol.hpp:72
Definition: window_state_store.hpp:25