blob: 0f84a7e79722de47019378c1658fb36869b338b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
with FLTK.Enums; use FLTK.Enums;
package FLTK.Widgets.Groups.Text_Displays.Text_Editors is
type Text_Editor is new Text_Display with private;
function Create
(X, Y, W, H : in Integer;
Text : in String)
return Text_Editor;
procedure Undo
(This : in out Text_Editor);
procedure Cut
(This : in out Text_Editor);
procedure Copy
(This : in out Text_Editor);
procedure Paste
(This : in out Text_Editor);
procedure Delete
(This : in out Text_Editor);
procedure Remove_Key_Binding
(This : in out Text_Editor;
Key : in Shortcut_Key);
private
procedure Draw
(This : in out Text_Editor);
type Text_Editor is new Text_Display with null record;
overriding procedure Finalize
(This : in out Text_Editor);
package Text_Editor_Convert is new System.Address_To_Access_Conversions
(Text_Editor'Class);
end FLTK.Widgets.Groups.Text_Displays.Text_Editors;
|