summaryrefslogtreecommitdiff
path: root/src/editors.ads
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-09-16 04:10:49 +1000
committerJed Barber <jjbarber@y7mail.com>2016-09-16 04:10:49 +1000
commit395e2de5b0d834091637820fc04d731721c771b7 (patch)
tree64492fca38997578914ac24cd262598af966c241 /src/editors.ads
parentbfcc3811a3ce55cafa6f7809d0d92c87238ea032 (diff)
Adapad menus and callbacks now present in skeleton form, also Text_Buffers have callbacks too
Diffstat (limited to 'src/editors.ads')
-rw-r--r--src/editors.ads26
1 files changed, 22 insertions, 4 deletions
diff --git a/src/editors.ads b/src/editors.ads
index fb8b7ae..c3b6655 100644
--- a/src/editors.ads
+++ b/src/editors.ads
@@ -2,14 +2,12 @@
with FLTK.Widgets.Groups.Windows.Double;
use FLTK.Widgets.Groups.Windows.Double;
-with FLTK.Widgets.Groups.Text_Displays.Text_Editors;
-use FLTK.Widgets.Groups.Text_Displays.Text_Editors;
with FLTK.Widgets.Menus;
use FLTK.Widgets.Menus;
-with FLTK.Widgets.Menus.Menu_Bars;
-use FLTK.Widgets.Menus.Menu_Bars;
with FLTK.Text_Buffers;
use FLTK.Text_Buffers;
+private with FLTK.Widgets.Groups.Text_Displays.Text_Editors;
+private with FLTK.Widgets.Menus.Menu_Bars;
package Editors is
@@ -44,9 +42,29 @@ package Editors is
return Menu_Cursor;
+ procedure Cut
+ (This : in out Editor_Window);
+
+
+ procedure Copy
+ (This : in out Editor_Window);
+
+
+ procedure Paste
+ (This : in out Editor_Window);
+
+
+ procedure Delete
+ (This : in out Editor_Window);
+
+
private
+ use FLTK.Widgets.Groups.Text_Displays.Text_Editors;
+ use FLTK.Widgets.Menus.Menu_Bars;
+
+
type Editor_Window is new Double_Window with
record
Bar : aliased Menu_Bar;