Horizon
edit_text_window.hpp
1 #pragma once
2 #include <gtkmm.h>
3 #include "tool_window.hpp"
4 
5 namespace horizon {
6 class EditTextWindow : public ToolWindow {
7 public:
8  EditTextWindow(Gtk::Window *parent, ImpInterface *intf, class Text &text, bool use_ok);
9  void focus_text();
10  void focus_size();
11  void focus_width();
12  void set_dims(uint64_t size, uint64_t width);
13 
14 private:
15  Text &text;
16 
17  class TextEditor *editor = nullptr;
18  class SpinButtonDim *sp_size = nullptr;
19  class SpinButtonDim *sp_width = nullptr;
20  Gtk::ComboBoxText *combo_font = nullptr;
21 };
22 } // namespace horizon
Definition: edit_text_window.hpp:6
Definition: imp_interface.hpp:12
Definition: spin_button_dim.hpp:5
Definition: text_editor.hpp:6
Used wherever a user-editable text is needed.
Definition: text.hpp:15
Definition: tool_window.hpp:7