------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019 L. Dries -- -- -- -- This library is free software; you can redistribute it and/or modify it -- -- under terms of the GNU General Public License as published by the Free -- -- Software Foundation; either version 3, or (at your option) any later -- -- version. This library is distributed in the hope that it will be useful, -- -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- As a special exception under Section 7 of GPL version 3, you are granted -- -- additional permissions described in the GCC Runtime Library Exception, -- -- version 3.1, as published by the Free Software Foundation. -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- . -- -- -- ------------------------------------------------------------------------------ -- Version 1.00 dd. 19-07-2016 created by L. Dries -- ------------------------------------------------------------------------------ -- Created from Template V1.00 by L. Dries on 23- 10- 2018 -- ------------------------------------------------------------------------------ pragma License(Unrestricted); with Glib; use Glib; with Gtk.Widget; use Gtk.Widget; with Gtk.Dialog; use Gtk.Dialog; with Gtk.Window; use Gtk.Window; with Gtk.Box; use Gtk.Box; with Gtk.Button; use Gtk.Button; with Gtk.Frame; use Gtk.Frame; with Gtk.Radio_Button; use Gtk.Radio_Button; package CPP2Ada_Dialog_Type_Init is type Type_Dialog_Record is new Gtk_Dialog_Record with record Dialog_Box : Gtk_Box; Button_Box : Gtk_Box; Frame_Box : Gtk_Box; Frame : Gtk_Frame; Radio_Frame : Gtk_Window_Group; Radio_Header : Gtk_Radio_Button; Radio_CPP : Gtk_Radio_Button; OK : Gtk_Button; Wrong_File : Gtk_Button; end record; type Type_Dialog_Access is access all Type_Dialog_Record'Class; Dialogsize_H : Gint := 150; -- Width of the dialog window Dialogsize_V : Gint := 80; -- Height of the dialog window Type_Dialog : Type_Dialog_Access; Type_Dialog_Open : Boolean := false; procedure Type_New(TypeDialog : out Type_Dialog_Access); procedure Type_Init(TypeDialog : access Type_Dialog_Record'Class); end CPP2Ada_Dialog_Type_Init;