Horizon
Loading...
Searching...
No Matches
src
dialogs
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
horizon::EditTextWindow
Definition
edit_text_window.hpp:6
horizon::ImpInterface
Definition
imp_interface.hpp:12
horizon::SpinButtonDim
Definition
spin_button_dim.hpp:5
horizon::TextEditor
Definition
text_editor.hpp:6
horizon::Text
Used wherever a user-editable text is needed.
Definition
text.hpp:15
horizon::ToolWindow
Definition
tool_window.hpp:7
Generated by
1.9.8