From 395e2de5b0d834091637820fc04d731721c771b7 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Fri, 16 Sep 2016 04:10:49 +1000 Subject: Adapad menus and callbacks now present in skeleton form, also Text_Buffers have callbacks too --- src/editors.ads | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'src/editors.ads') 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; -- cgit