Horizon
edit_text_window.hpp
1#pragma once
2#include <gtkmm.h>
3#include "tool_window.hpp"
4
5namespace horizon {
6class EditTextWindow : public ToolWindow {
7public:
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
14private:
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
meta::size_t< L::size()> size
An integral constant wrapper that is the size of the meta::list L.
Definition: meta.hpp:1696